forked from tagspaces/tagspaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
299 lines (299 loc) · 13.5 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
{
"name": "tagspaces",
"version": "0.0.0",
"description": "TagSpaces core repository",
"homepage": "https://www.tagspaces.org",
"scripts": {
"bump-version": "yarn third-party && cd app && yarn version && cd .. && yarn version-meta",
"update-i18n": "tx pull -a -d",
"version-meta": "node scripts/versionmeta.js",
"third-party": "yarn licenses generate-disclaimer --silent > app/third-party.txt",
"build": "rimraf app/dist && yarn version-meta && concurrently \"yarn build-main\" \"yarn build-renderer\" \"yarn build-worker\" \"yarn build-web\"",
"build-dll": "cross-env NODE_ENV=development webpack --config ./configs/webpack.config.renderer.dev.dll.babel.js --colors",
"build-e2e": "cross-env E2E_BUILD=true yarn build",
"build-main": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.main.prod.babel.js --colors",
"build-renderer": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.renderer.prod.babel.js --colors",
"build-worker": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.worker.prod.babel.js --colors",
"build-worker-dev": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.worker.dev.js --colors",
"build-web": "rimraf web/dist && cross-env NODE_ENV=production webpack --config ./configs/webpack.config.web.prod.babel.js --colors",
"build-cordova": "cross-env NODE_ENV=production webpack --config ./configs/webpack.config.cordova.prod.babel.js --colors",
"dev": "cross-env START_HOT=1 node -r @babel/register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev",
"lint-old": "cross-env NODE_ENV=development eslint --cache --format=pretty .",
"lint": "tsc --noEmit && eslint '*/**/*.{js,ts,tsx}'",
"lint-fix": "yarn --silent lint --fix; exit 0",
"lint-styles": "stylelint --ignore-path .eslintignore '**/*.*(css|scss)' --syntax scss",
"lint-styles-fix": "yarn --silent lint-styles --fix; exit 0",
"postinstall": "yarn build-dll",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{*{js,jsx,json},babelrc,eslintrc,prettierrc,stylelintrc}'",
"postlint-styles-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.{css,scss}'",
"precommit": "lint-staged",
"prettier-check": "prettier --check **/*.{js,json,ts,tsx,yml}",
"prettier-format": "prettier --write **/*.{js,jsx,json,ts,tsx,yml}",
"prestart-bak": "yarn build",
"bs": "yarn build && yarn start",
"start": "cross-env NODE_ENV=production electron ./app/",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron ./app/main.dev.babel.js",
"start-renderer-dev": "cross-env NODE_ENV=development webpack-dev-server --config configs/webpack.config.renderer.dev.babel.js",
"type-check": "tsc --noEmit",
"test-e2e-live": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe-live electron:./ ./test/e2e/HomePage.e2e.ts",
"package": "yarn build && yarn package-win && yarn package-linux && yarn package-mac && yarn package-web",
"package-ci": "yarn postinstall && yarn build && electron-builder --publish always",
"package-mac": "electron-builder --mac --x64 --config resources/builder.json",
"package-mac-pro": "electron-builder --mac --x64 --config extensions/pro/resources/builder-pro.json",
"package-win": "electron-builder --win --x64 --config resources/builder.json",
"package-win-pro": "electron-builder --win --x64 --config extensions/pro/resources/builder-pro.json",
"package-linux": "electron-builder --linux --config resources/builder.json",
"package-linux-pro": "electron-builder --linux --config extensions/pro/resources/builder-pro.json",
"package-pro": "node scripts/enablepro.js && yarn install-ext && yarn build && yarn package-web-pro && yarn clean-maps && yarn package-win-pro && yarn package-linux-pro && yarn package-web-pro && yarn package-mac-pro",
"package-android": "yarn build-cordova && cd cordova && yarn install && cordova build --release android && cd ../.. && ./prepare-android.sh",
"package-web": "yarn prepare-web && yarn clean-maps && zip -r ../builds/tagspaces-web.zip web -x web/files/**\\*",
"package-web-pro": "yarn prepare-web && yarn clean-maps && zip -r ../builds/tagspaces-pro-web.zip web -xi web/files/**\\* ",
"prepare-web": "rimraf web/node_modules && cp -r app/node_modules web && cp LICENSE.txt web && node scripts/genswconf.js",
"prepare-cordova": "rimraf cordova/www/dist && rimraf cordova/www/node_modules && cp -Lr app/node_modules cordova/www && cp LICENSE.txt cordova/www",
"clean": "rimraf node_modules && rimraf app/dist",
"clean-pro": "yarn clean-maps",
"clean-maps": "rimraf app/dist/**/*.map && rimraf web/dist/**/*.map",
"install-ext": "cd app && yarn install --force --prod --no-lockfile && cd ..",
"setup-ext": "node scripts/setupextensions.js",
"setup-pro": "node scripts/setuppro.js",
"run-webdav": "yarn build-web && yarn prepare-web && node scripts/webdavserver.js",
"run-web": "yarn build-web && yarn prepare-web && node scripts/webserver.js",
"run-android": "yarn build-cordova && cd cordova && cordova run android && cd ..",
"run-android-dev": "yarn prepare-cordova && yarn build-cordova-dev && yarn run-android",
"cordova-add-android": "cd cordova && cordova platform add android && cd ..",
"cordova-create-app": "cordova create ./cordova org.tagspaces.mobile TagSpaces",
"update-changelog": "git log v3.4.2..HEAD --no-merges --format=%B > CHANGELOG.TXT",
"source-map-app": "source-map-explorer app/dist/*.* --html reports/source-map-app.html",
"source-map-web": "source-map-explorer web/dist/*.* --html reports/source-map-web.html",
"source-map-cordova": "source-map-explorer cordova/www/dist/*.* --html reports/source-map-cordova.html",
"source-map": "yarn source-map-app && yarn source-map-web && yarn source-map-cordova",
"test-old": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./test/runTests.js",
"test-watch": "yarn test --watch",
"test-e2e-old": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./tests/runTests.js e2e",
"test-e2e-dev": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 node --trace-warnings ./tests/runTests.js e2e-dev",
"test": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 jest",
"test-all": "yarn lint && yarn build && yarn test && yarn build-e2e && yarn test-e2e",
"test-e2e": "node -r @babel/register ./internals/scripts/CheckBuiltsExist.js && cross-env NODE_ENV=test testcafe electron:./ ./test/e2e/HomePage.e2e.ts"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tagspaces/tagspaces/"
},
"author": {
"name": "TagSpaces UG (haftungsbeschraenkt)",
"email": "info@tagspaces.org",
"url": "https://www.tagspaces.org"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/tagspaces/tagspaces/issues"
},
"keywords": [
"electron",
"react",
"taggin",
"file-manager"
],
"husky": {
"hooks": {
"pre-commit": "yarn prettier-check && yarn type-check"
}
},
"jest": {
"moduleNameMapper": {
"\\.(jpg|jpeg|png|gif|eot|otf|webp|svg|ttf|woff|woff2|mp4|webm|wav|mp3|m4a|aac|oga)$": "<rootDir>/internals/mocks/fileMock.js",
"\\.(css|less|sass|scss)$": "identity-obj-proxy"
},
"moduleFileExtensions": [
"js",
"ts",
"tsx"
],
"moduleDirectories": [
"node_modules",
"app/node_modules"
],
"testMatch": [
"**/{app,test,integration}/**/*.test.{js,tsx,ts,tsx}"
],
"testPathIgnorePatterns": [
"<rootDir>/extensions"
],
"collectCoverage": true
},
"devDependencies": {
"@babel/core": "^7.2.2",
"@babel/plugin-proposal-class-properties": "^7.2.3",
"@babel/plugin-proposal-decorators": "^7.2.3",
"@babel/plugin-proposal-do-expressions": "^7.2.0",
"@babel/plugin-proposal-export-default-from": "^7.2.0",
"@babel/plugin-proposal-export-namespace-from": "^7.2.0",
"@babel/plugin-proposal-function-bind": "^7.2.0",
"@babel/plugin-proposal-function-sent": "^7.2.0",
"@babel/plugin-proposal-json-strings": "^7.2.0",
"@babel/plugin-proposal-logical-assignment-operators": "^7.2.0",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.2.0",
"@babel/plugin-proposal-numeric-separator": "^7.2.0",
"@babel/plugin-proposal-optional-chaining": "^7.2.0",
"@babel/plugin-proposal-pipeline-operator": "^7.2.0",
"@babel/plugin-proposal-throw-expressions": "^7.2.0",
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
"@babel/plugin-syntax-import-meta": "^7.2.0",
"@babel/plugin-transform-react-constant-elements": "^7.2.0",
"@babel/plugin-transform-react-inline-elements": "^7.2.0",
"@babel/preset-env": "^7.2.3",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.1.0",
"@babel/register": "^7.0.0",
"@types/jest": "^23.3.11",
"@types/react": "^16.7.18",
"@types/react-dom": "^16.0.11",
"@types/react-redux": "^6.0.12",
"@types/react-router-dom": "^4.3.1",
"@types/redux-logger": "^3.0.6",
"babel-core": "7.0.0-bridge.0",
"babel-eslint": "^10.0.1",
"babel-jest": "^23.6.0",
"babel-loader": "^8.0.5",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-module-resolver": "^4.0.0",
"babel-plugin-transform-react-remove-prop-types": "^0.4.21",
"chalk": "^2.4.1",
"concat-licenses": "^2.0.1",
"concurrently": "^4.1.0",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"css-loader": "^2.1.0",
"detect-port": "^1.3.0",
"devtron": "^1.4.0",
"electron": "9.0.3",
"electron-builder": "^22.4.0",
"electron-devtools-installer": "^2.2.4",
"enzyme": "^2.8.2",
"enzyme-to-json": "^1.5.1",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^17.1.0",
"eslint-config-prettier": "^3.3.0",
"eslint-formatter-pretty": "^2.0.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-compat": "^2.6.3",
"eslint-plugin-import": "^2.14.0",
"eslint-plugin-jest": "^22.1.2",
"eslint-plugin-jsx-a11y": "6.1.2",
"eslint-plugin-promise": "^4.0.1",
"eslint-plugin-react": "^7.12.3",
"eslint-plugin-testcafe": "^0.2.1",
"express": "^4.17.1",
"extract-text-webpack-plugin": "^v4.0.0-beta.0",
"fbjs-scripts": "^1.2.0",
"file-loader": "^3.0.1",
"husky": "^4.2.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^24.9.0",
"jsDAV": "~0.3.4",
"jsdom": "^11.0.0",
"json-loader": "^0.5.7",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"lint-staged": "^8.1.0",
"mini-css-extract-plugin": "^0.5.0",
"minimist": "^1.2.0",
"node-sass": "^4.5.3",
"npx": "^10.2.0",
"optimize-css-assets-webpack-plugin": "^5.0.1",
"prettier": "1.19.1",
"raw-loader": "^3.1.0",
"react-addons-test-utils": "^15.5.1",
"react-test-renderer": "^16.8.6",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.3",
"sass-loader": "^7.1.0",
"serve-static": "^1.14.1",
"shelljs": "^0.8.3",
"sinon": "^2.3.1",
"spectron": "^7.0.0",
"style-loader": "^1.1.2",
"stylelint": "^9.9.0",
"stylelint-config-prettier": "^4.0.0",
"stylelint-config-standard": "^18.2.0",
"terser-webpack-plugin": "^1.2.3",
"ts-loader": "^6.2.1",
"typescript": "^3.7.4",
"url-loader": "^3.0.0",
"webpack": "^4.41.5",
"webpack-bundle-analyzer": "^3.6.0",
"webpack-cli": "^3.3.10",
"webpack-dev-server": "^3.10.1",
"webpack-merge": "^4.2.2",
"yarn": "^1.21.1"
},
"dependencies": {
"@date-io/date-fns": "^1.3.9",
"@gorillastack/jmespath": "^1.3.0",
"@material-ui/core": "^4.9.10",
"@material-ui/icons": "^4.9.1",
"@material-ui/lab": "^4.0.0-alpha.49",
"@material-ui/pickers": "^3.2.10",
"aws-sdk": "^2.652.0",
"babel-polyfill": "^6.26.0",
"chokidar": "^3.3.1",
"classnames": "^2.2.5",
"clone": "^2.1.2",
"core-js": "2",
"date-fns": "^2.0.0-beta.4",
"dompurify": "^2.0.7",
"electron-debug": "^3.0.1",
"electron-window-state": "^5.0.3",
"exif-js": "^2.3.0",
"file-saver": "^1.3.3",
"fs-extra": "^4.0.1",
"fuse.js": "^3.4.2",
"geolocation-utils": "^1.2.1",
"history": "^4.7.2",
"html2canvas": "^1.0.0-alpha.12",
"i18next": "^11.3.3",
"i18next-browser-languagedetector": "^2.0.0",
"i18next-xhr-backend": "^1.4.2",
"jszip": "^3.1.5",
"leaflet": "^1.6.0",
"marked": "^0.6.1",
"memoize-one": "^5.0.0",
"open-location-code": "^1.0.3",
"open-location-code-typescript": "^1.4.0",
"path": "^0.12.7",
"pdfjs-dist": "^2.4.456",
"rc-table": "^6.4.0",
"react": "^16.13.1",
"react-color": "^2.17.3",
"react-d3-tree": "^1.15.3",
"react-dnd": "^7.7.0",
"react-dnd-html5-backend": "^7.7.0",
"react-dom": "^16.8.2",
"react-hot-loader": "^4.8.2",
"react-hotkeys": "^2.0.0",
"react-i18next": "^4.6.1",
"react-image-gallery": "^1.0.7",
"react-joyride": "^2.0.0-11",
"react-leaflet": "^2.6.3",
"react-redux": "^5.0.7",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "^5.0.0-alpha.6",
"react-split-pane": "^0.1.91",
"react-swipeable-views": "0.13.3",
"react-virtualized": "^9.21.1",
"redux": "^3.7.2",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.3.0",
"remove-markdown": "^0.3.0",
"semver": "^5.5.0",
"source-map-support": "^0.5.11",
"tiff.js": "^1.0.0",
"winattr": "^3.0.0"
},
"devEngines": {
"node": ">=8.x",
"npm": ">=5.x",
"yarn": ">=1.6.0"
}
}