forked from johannesjo/super-productivity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
236 lines (236 loc) · 11.3 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
{
"name": "superProductivity",
"version": "7.14.3",
"description": "Super Productivity is an advanced todo list app with integrated Timeboxing and time tracking capabilities. It also comes with integrations for Jira, Gitlab, GitHub and Open Project.",
"main": "./electron/main.js",
"author": "Johannes Millan <[email protected]> (http://super-productivity.com)",
"license": "MIT",
"homepage": "http://super-productivity.com",
"repository": {
"type": "git",
"url": "git://github.com/johannesjo/super-productivity.git"
},
"browserslist": {
"production": [
"> 0.5%",
"last 2 versions",
"not dead",
"not IE 9-11",
"not edge < 79",
"not baidu < 10",
"not ie_mob < 12",
"not kaios < 5",
"not op_mini all",
"not op_mob < 60",
"not bb < 14",
"not and_uc < 13",
"not and_qq < 2"
],
"modern": [
"supports es6-module"
]
},
"keywords": [
"ToDo",
"Task Management",
"Jira",
"GitHub",
"Time Tracking"
],
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"scripts": {
"ng": "ng",
"start": "npm run electron:build && cross-env NODE_ENV=DEV electron .",
"startFrontend": "ng serve",
"serveProd": "ng serve --configuration production",
"removeWOFF1": "node ./tools/remove-woff.js",
"buildFrontend:prod:es6": "npm run prebuild && cross-env BROWSERSLIST_ENV='modern' node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration production && npm run removeWOFF1",
"buildFrontend:prodWeb": "npm run prebuild && node --max_old_space_size=4096 ./node_modules/@angular/cli/bin/ng build --configuration productionWeb",
"buildFrontend:stage:es6": "npm run prebuild && cross-env BROWSERSLIST_ENV='modern' ng build --configuration stage && npm run removeWOFF1",
"buildFrontend:stageWeb": "npm run prebuild && ng build --configuration stageWeb",
"buildFrontend:prod:watch": "npm run prebuild && ng build --configuration production --watch",
"buildAllElectron:prod": "npm run preCheck && npm run buildFrontend:prod:es6 && npm run electron:build",
"buildAllElectron:stage": "npm run preCheck && npm run buildFrontend:stage:es6 && npm run electron:build",
"buildAllElectron:noTests:prod": "npm run lint && npm run buildFrontend:prod:es6 && npm run electron:build",
"build": "npm run buildAllElectron:noTests:prod",
"test": "cross-env TZ='Europe/Berlin' ng test --watch=false",
"test:watch": "cross-env TZ='Europe/Berlin' ng test --browsers ChromeHeadless",
"lint": "ng lint",
"prebuild": "node ./tools/git-version.js",
"preCheck": "npm run lint && npm run test & npm run int:test && npm run e2e",
"e2e": "cross-env TZ='' DETECT_CHROMEDRIVER_VERSION=true SKIP_POST_INSTALL=true npm i -D chromedriver --legacy-peer-deps && tsc --project e2e/tsconfig.e2e.json && start-server-and-test 'ng serve --no-live-reload' 4200 'nightwatch -c ./e2e/nightwatch.conf.js --suiteRetries 1 --retries 0'",
"e2e:tag": "killall chromedriver; rm -R ./out-tsc; tsc --project e2e/tsconfig.e2e.json && nightwatch -c ./e2e/nightwatch.conf.js --suiteRetries 0 --retries 0 --tag ",
"electron": "NODE_ENV=PROD electron .",
"electron:build": "tsc -p electron/tsconfig.electron.json",
"electron:watch": "tsc -p electron/tsconfig.electron.json --watch",
"electronBuilderOnly": "electron-builder",
"empty": "echo 'EMPTY YEAH'",
"pack": "electron-builder --dir",
"localInstall": "sudo echo 'Starting local install' && rm -Rf ./dist/ && rm -Rf ./app-builds/ && npm run buildAllElectron:stage && electron-builder --linux deb && sudo dpkg -i app-builds/superProductivity*.deb",
"localInstall:prod": "sudo echo 'Starting local install PROD' && rm -Rf ./dist/ && rm -Rf ./app-builds/ && npm run buildAllElectron:prod && electron-builder --linux deb && sudo dpkg -i app-builds/superProductivity*.deb",
"localInstall:quick": "sudo echo 'Starting local install QUICK' && rm -Rf ./dist/ && rm -Rf ./app-builds/ && npm run buildFrontend:stage:es6 && npm run electron:build && electron-builder --linux deb && sudo dpkg -i app-builds/superProductivity*.deb",
"localInstall:test:snap": "sudo echo 'Starting local install SNAP QUICK' && rm -Rf ./dist/ && rm -Rf ./app-builds/ && npm run buildFrontend:stage:es6 && npm run electron:build && electron-builder --linux snap && sudo snap install --dangerous app-builds/superProductivity*.snap",
"localInstall:mac": "sudo echo 'Starting local install MAC. Don`t forget APPLEID & APPLEIDPASS !!' && npm run buildAllElectron:noTests:prod && sudo echo '' && electron-builder && sudo cp -rf app-builds/mac/Super\\ Productivity.app/ /Applications/superProductivity.app",
"dist": "npm run buildAllElectron:prod && electron-builder",
"dist:only": "electron-builder",
"dist:linuxAndWin": "npm run buildAllElectron:prod && electron-builder --linux --win",
"dist:win": "npm run buildAllElectron:noTests:prod && electron-builder --win",
"dist:win:only": "electron-builder --win",
"dist:win:appx": "npm run buildAllElectron:prod && electron-builder --win --config=build/electron-builder.appx.yaml",
"dist:win:store": "git pull && npm run && copy electron-builder.win-store.yaml electron-builder.yaml && npm run dist:win && git checkout electron-builder.yaml || git checkout electron-builder.yaml",
"dist:mac:dl": "cp tools/mac-profiles/dl.provisionprofile embedded.provisionprofile && electron-builder --mac",
"dist:mac:mas": "cp tools/mac-profiles/mas.provisionprofile embedded.provisionprofile; electron-builder --mac mas --config=build/electron-builder.mas.yaml",
"dist:mac:mas:buildOnly": "electron-builder --mac mas --config=build/electron-builder.mas.yaml",
"dist:mac:mas:dev": "cp tools/mac-profiles/mas-dev.provisionprofile embedded.provisionprofile; electron-builder --mac mas-dev --config=build/electron-builder.mas-dev.yaml",
"dist:mac:mas:x64": "cp tools/mac-profiles/mas.provisionprofile embedded.provisionprofile; electron-builder --mac mas --config=build/electron-builder.mas.yaml --x64",
"release": "npm run release.changelog && npm run dist",
"release.changelog": "conventional-changelog -i CHANGELOG.md -s -p angular",
"version": "npm run release.changelog && git add -A",
"buildSchema": "cd tools/schematics && npm run build && cd ../../ && npm i file:./tools/schematics --legacy-peer-deps",
"int": "node ./tools/extract-i18n-single.js",
"int:watch": "node ./tools/extract-i18n-watch.js",
"int:find": "ngx-translate-extract --input ./src --output ./src/assets/i18n/*.json --sort --format namespaced-json --marker _",
"int:clean": "ngx-translate-extract --input ./src --output ./src/assets/i18n/*.json --clean --sort --format namespaced-json --marker _",
"int:test": "node ./tools/test-lng-files.js",
"postinstall": "cross-env-shell node ./tools/is-skip-postinstall.js --env.SKIP_POST_INSTALL=$SKIP_POST_INSTALL || ngcc --tsconfig src/tsconfig.app.json"
},
"publish": [
{
"provider": "github",
"repo": "super-productivity",
"owner": "johannesjo"
}
],
"dependencies": {
"@electron/remote": "^2.0.12",
"electron-dl": "^3.5.1",
"electron-localshortcut": "^3.2.1",
"electron-log": "^4.4.8",
"electron-window-state": "^5.0.3",
"fs-extra": "^11.1.1",
"node-fetch": "^2.7.0"
},
"devDependencies": {
"@angular-devkit/build-angular": "^14.1.1",
"@angular-eslint/builder": "^14.0.0",
"@angular-eslint/eslint-plugin": "^14.1.2",
"@angular-eslint/eslint-plugin-template": "^14.0.2",
"@angular-eslint/schematics": "^14.0.3",
"@angular-eslint/template-parser": "^16.1.1",
"@angular/animations": "^14.1.1",
"@angular/cdk": "^14.1.1",
"@angular/cli": "^14.2.7",
"@angular/common": "^14.1.1",
"@angular/compiler": "^14.1.1",
"@angular/compiler-cli": "^14.1.1",
"@angular/core": "^14.1.1",
"@angular/forms": "^14.1.1",
"@angular/language-service": "^14.2.4",
"@angular/material": "^14.1.1",
"@angular/material-moment-adapter": "^14.1.1",
"@angular/platform-browser": "^14.1.1",
"@angular/platform-browser-dynamic": "^14.1.1",
"@angular/platform-server": "^14.1.1",
"@angular/router": "^14.1.1",
"@angular/service-worker": "^14.1.1",
"@biesbjerg/ngx-translate-extract": "^7.0.4",
"@electron/notarize": "^2.1.0",
"@fontsource/roboto": "^4.5.8",
"@nextcloud/cdav-library": "^1.1.0",
"@ngrx/data": "^14.0.2",
"@ngrx/effects": "^14.0.2",
"@ngrx/entity": "^14.0.2",
"@ngrx/schematics": "^15.1.0",
"@ngrx/store": "14.0.2",
"@ngrx/store-devtools": "^14.0.2",
"@ngx-formly/core": "5.12.7",
"@ngx-formly/material": "5.12.7",
"@ngx-translate/core": "^14.0.0",
"@ngx-translate/http-loader": "^7.0.0",
"@schematics/angular": "^14.1.3",
"@types/electron-localshortcut": "^3.1.0",
"@types/file-saver": "^2.0.5",
"@types/hammerjs": "^2.0.41",
"@types/jasmine": "^3.10.2",
"@types/jasminewd2": "~2.0.9",
"@types/lz-string": "^1.3.34",
"@types/moment-duration-format": "^2.2.2",
"@types/nightwatch": "^1.3.3",
"@types/node": "18.18.4",
"@types/node-fetch": "^2.6.6",
"@types/object-path": "^0.11.1",
"@typescript-eslint/eslint-plugin": "5.8.1",
"@typescript-eslint/parser": "5.27.0",
"angular-material-css-vars": "^3.0.0",
"angular2-promise-buttons": "^5.0.3",
"axios": "^1.4.0",
"chart.js": "^2.8.0",
"chromedriver": "^117.0.3",
"chrono-node": "^2.6.2",
"clipboard": "^2.0.8",
"codelyzer": "^6.0.2",
"conventional-changelog-cli": "^2.2.2",
"cross-env": "^7.0.3",
"detect-it": "^4.0.1",
"electron": "^25.9.0",
"electron-builder": "24.6.4",
"electron-builder-notarize": "^1.5.1",
"eslint": "^8.23.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-jsdoc": "37.1.0",
"eslint-plugin-prefer-arrow": "1.2.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-unused-imports": "^2.0.0",
"file-saver": "^2.0.2",
"glob": "^8.0.3",
"hammerjs": "^2.0.8",
"helpful-decorators": "^2.1.0",
"husky": "^4.2.5",
"ical.js": "^1.5.0",
"idb": "^6.1.4",
"jasmine-core": "^4.0.0",
"jasmine-marbles": "^0.8.4",
"jasmine-spec-reporter": "~7.0.0",
"jira2md": "git+https://github.com/johannesjo/J2M.git",
"jo": "file:./tools/schematics",
"karma": "~6.3.16",
"karma-chrome-launcher": "~3.1.1",
"karma-cli": "^2.0.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~4.0.1",
"karma-jasmine-html-reporter": "^1.6.0",
"lz-string": "^1.4.4",
"moment": "2.29.4",
"moment-duration-format": "^2.2.2",
"nanoid": "^4.0.0",
"new-github-issue-url": "^0.2.1",
"ng2-charts": "^2.3.0",
"ng2-charts-schematics": "^0.1.7",
"ng2-dragula": "^2.1.1",
"ngx-date-time-picker-schedule": "^9.4.17",
"ngx-markdown": "^14.0.1",
"nightwatch": "^1.7.11",
"object-path": "^0.11.8",
"p-throttle": "^3.1.0",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.3",
"query-string": "^7.1.1",
"rxjs": "^6.6.7",
"stacktrace-js": "^2.0.1",
"start-server-and-test": "^1.14.0",
"ts-node": "~10.7.0",
"tslib": "^2.4.1",
"typescript": "~4.7.4",
"utils-decorators": "^2.0.3",
"webdav": "~4.3.0",
"zone.js": "~0.11.8"
},
"resolutions": {
"sass": "1.32.6"
}
}