forked from TTLApp/time-to-leave
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
83 lines (83 loc) · 4.07 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"name": "time-to-leave",
"productName": "Time to Leave",
"version": "3.0.1-dev",
"description": "Log work hours and get notified when it's time to leave the office and start to live.",
"author": "Thamara Andrade",
"homepage": "https://github.com/thamara/time-to-leave#readme",
"repository": {
"type": "git",
"url": "github:thamara/time-to-leave.git"
},
"main": "main.js",
"scripts": {
"clean": "rimraf coverage release-builds __tests__/__main__/__database.ttldb__ ",
"debug:main": "electron --inspect=5858 .",
"debug:render": "electron --remote-debugging-port=9222 .",
"lint": "npm-run-all --parallel lint:*",
"lint:css": "stylelint css/*.css",
"lint:eslint": "eslint . --ext .cjs,.js,.mjs",
"lint:markdown": "prettier docs/*.md *.md -c",
"lint:json": "prettier locales/*/*.json -c",
"lint-fix": "npm-run-all --parallel lint-fix:*",
"lint-fix:css": "npm run lint:css -- --fix",
"lint-fix:eslint": "npm run lint:eslint -- --fix",
"lint-fix:json": "npm run lint:json -- --write",
"lint-fix:markdown": "npm run lint:markdown -- --write",
"package:deb": "electron-packager . time-to-leave --overwrite --asar --platform=linux --arch=x64 --icon=assets/icon-deb.png --prune=true --out=release-builds --ignore=__tests__ --ignore=tests --ignore=./scripts --ignore=Resources --ignore=website --ignore=release-builds --ignore=packages --ignore=coverage_jest --ignore=.nyc_output --ignore=__mocks__ --ignore=docs",
"package:mac": "electron-packager . --overwrite --platform=darwin --arch=universal --icon=assets/icon-mac.icns --prune=true --out=release-builds --ignore=__tests__ --ignore=tests --ignore=./scripts --ignore=Resources --ignore=website --ignore=release-builds --ignore=packages --ignore=coverage_jest --ignore=.nyc_output --ignore=__mocks__ --ignore=docs",
"package:win": "electron-packager . \"Time to Leave\" --overwrite --platform=win32 --arch=ia32 --icon=assets/icon-win.ico --prune=true --out=release-builds --version-string.CompanyName=CE --version-string.FileDescription=CE --version-string.ProductName=\"Time to Leave\" --ignore=__tests__ --ignore=tests --ignore=./scripts --ignore=Resources --ignore=website --ignore=release-builds --ignore=packages --ignore=coverage_jest --ignore=.nyc_output --ignore=__mocks__ --ignore=docs",
"preinstall": "npx npm-force-resolutions",
"prepare": "husky install",
"pretest": "npm run clean",
"postinstall": "patch-package",
"start": "electron .",
"test": "npm-run-all test:*",
"test:jest": "jest --runInBand --verbose=false --detectOpenHandles --colors --transformIgnorePatterns 'node_modules/(?!astronomia)/' -- ",
"test:mocha": "c8 -o ./coverage_mocha -- mocha --config tests/mocha.config.cjs tests/*",
"test:electron-mocha-main": "c8 electron-mocha --config __tests__/electron-mocha-main.config.cjs",
"test:electron-mocha-renderer": "c8 electron-mocha --renderer --config __tests__/electron-mocha-renderer.config.cjs",
"setup:win": "node scripts/create_windows_installer.js"
},
"license": "GPL-3.0",
"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "7.23.3",
"@electron/remote": "2.0.12",
"@jest-runner/electron": "3.0.0",
"c8": "9.1.0",
"electron": "27.0.3",
"electron-mocha": "12.2.0",
"electron-packager": "15.5.1",
"electron-reloader": "1.2.1",
"electron-winstaller": "5.1.0",
"eslint": "7.32.0",
"husky": "8.0.3",
"jest": "26.6.3",
"mocha": "10.2.0",
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"patch-package": "6.4.7",
"playwright": "1.40.1",
"sinon": "17.0.1",
"stylelint": "16.2.0",
"stylelint-config-standard": "36.0.0",
"tap-spec": "5.0.0",
"tape": "5.3.1"
},
"dependencies": {
"@fortawesome/fontawesome-free": "5.15.4",
"bootstrap": "5.1.1",
"date-holidays": "3.9.1",
"electron-store": "8.1.0",
"esm": "3.2.25",
"i18next": "21.2.3",
"i18next-node-fs-backend": "2.1.3",
"is-online": "9.0.1",
"jquery": "3.6.0",
"jquery-mousewheel": "3.1.13",
"jsonschema": "1.4.1"
},
"engines": {
"node": ">=14.15.5"
}
}