forked from tagspaces/tagspaces
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
251 lines (251 loc) · 11.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
{
"name": "tagspaces",
"version": "0.0.0",
"description": "TagSpaces core repository",
"homepage": "https://www.tagspaces.org",
"scripts": {
"lint": "eslint --cache --format=node_modules/eslint-formatter-pretty .",
"lint-fix": "yarn lint -- --fix",
"lint-styles": "stylelint app/*.css app/components/*.css --syntax scss",
"lint-styles-fix": "stylefmt -r app/*.css app/components/*.css",
"build-nc": "yarn version-meta && yarn build-main && yarn build-renderer && yarn build-worker",
"build": "yarn version-meta && concurrently \"yarn build-main\" \"yarn build-renderer\" \"yarn build-worker\"",
"build-dll": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.dev.dll.js --progress --profile --colors",
"build-cordova": "cross-env NODE_ENV=production node --max-old-space-size=4096 --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.cordova.js --progress --profile --colors",
"build-cordova-dev": "cross-env NODE_ENV=development node --max-old-space-size=4096 --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.cordova.js --progress --profile --colors",
"build-web": "cross-env NODE_ENV=production node --max-old-space-size=4096 --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.web.js --progress --profile --colors",
"build-main": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.main.prod.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node --max-old-space-size=4096 --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --progress --profile --colors",
"build-worker": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.worker.prod.js --progress --profile --colors",
"build-worker-dev": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.worker.dev.js --progress --profile --colors",
"start": "cross-env NODE_ENV=production electron ./app/",
"start-portable": "cross-env NODE_ENV=production electron ./app/ --portable",
"prestart_bak": "yarn build",
"flow": "flow check",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"start-renderer-dev": "cross-env NODE_ENV=development node --trace-warnings -r babel-register ./node_modules/webpack-dev-server/bin/webpack-dev-server --config webpack.config.renderer.dev.js",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev.js",
"postinstall": "concurrently \"yarn flow-typed\" \"yarn build\" \"yarn build-dll\" \"install-app-deps\" \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
"dev": "cross-env START_HOT=1 yarn start-renderer-dev",
"dev-build-worker": "yarn build-worker-dev && yarn dev",
"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",
"package": "yarn build && yarn package-win && yarn package-linux && yarn package-mac && yarn package-web",
"package-mac": "build --mac --x64 --config resources/builder.json",
"package-mac-pro": "build --mac --x64 --config app/node_modules/@tagspaces/pro/resources/builder-pro.json",
"package-win": "build --win --x64 --config resources/builder.json",
"package-win-pro": "build --win --x64 --config app/node_modules/@tagspaces/pro/resources/builder-pro.json",
"package-linux": "build --linux --config resources/builder.json",
"package-linux-pro": "build --linux --config app/node_modules/@tagspaces/pro/resources/builder-pro.json",
"package-pro": "node scripts/enablepro.js && yarn install-ext && yarn build && yarn package-web-pro && yarn package-clean && yarn package-win-pro && yarn package-linux-pro && yarn package-web-pro && yarn package-mac-pro",
"package-web": "yarn prepare-web && yarn package-clean && zip -r ../builds/tagspaces-web.zip web -x web/files/**\\*",
"package-android": "yarn build-cordova && cd cordova && yarn install && cordova build --release android && cd ../.. && ./prepare-android.sh",
"package-web-pro": "yarn prepare-web && yarn package-clean && zip -r ../builds/tagspaces-pro-web.zip web -xi web/files/**\\* ",
"package-clean": "rimraf app/dist/**/*.map && rimraf web/dist/**/*.map && rimraf app/node_modules/@tagspaces/pro/lib/ && rimraf app/node_modules/@tagspaces/pro/modules/ && rimraf app/node_modules/@tagspaces/pro/test/",
"install-ext": "cd app && yarn install --force --prod --no-lockfile && cd ..",
"setup-ext": "node scripts/setupextensions.js",
"setup-pro": "node scripts/setuppro.js",
"prepare-web": "rimraf web/dist && rimraf web/node_modules && cp -r app/node_modules web && cp LICENSE.txt web && yarn build-web",
"prepare-cordova": "rimraf cordova/www/dist && rimraf cordova/www/node_modules && cp -Lr app/node_modules cordova/www && cp LICENSE.txt cordova/www",
"run-web": "yarn prepare-web && node scripts/webdavserver.js",
"run-android": "cd cordova && cordova run android && cd ..",
"cordova-add-android": "cd cordova && cordova platform add android && cd ..",
"cordova-create-app": "cordova create ./cordova org.tagspaces.mobile TagSpaces",
"start-android": "yarn build-cordova && yarn run-android",
"start-android-dev": "yarn prepare-cordova && yarn build-cordova-dev && yarn run-android",
"update-changelog": "git log v3.1.1..HEAD --no-merges --format=%B > CHANGELOG.TXT",
"clean": "rimraf app/dist && rimraf node_modules && rimraf app/node_modules"
},
"browserslist": "electron 2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/tagspaces/tagspaces/"
},
"author": {
"name": "TagSpaces UG (haftungsbeschraenkt)",
"email": "[email protected]",
"url": "https://www.tagspaces.org"
},
"license": "AGPL-3.0",
"bugs": {
"url": "https://github.com/tagspaces/tagspaces/issues"
},
"keywords": [
"electron",
"boilerplate",
"react",
"redux",
"flow",
"sass",
"webpack",
"hot",
"reload"
],
"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"
],
"moduleDirectories": [
"node_modules",
"app/node_modules"
],
"transform": {
"^.+\\.js$": "babel-jest"
}
},
"resolutions": {
"webpack-sources": "1.0.1"
},
"devDependencies": {
"babel-core": "^6.26.3",
"babel-eslint": "^8.2.6",
"babel-jest": "^23.4.2",
"babel-loader": "^7.1.5",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-dev-expression": "^0.2.1",
"babel-plugin-flow-runtime": "^0.17.0",
"babel-plugin-syntax-dynamic-import": "^6.18.0",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.5",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-polyfill": "^6.23.0",
"babel-preset-env": "^1.7.0",
"babel-preset-minify": "^0.2.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-react-optimize": "^1.0.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"bundle-loader": "^0.5.6",
"chalk": "^2.4.1",
"concat-licenses": "^1.0.1",
"concurrently": "^3.4.0",
"cross-env": "^5.0.0",
"cross-spawn": "^5.1.0",
"css-loader": "^2.1.0",
"devtron": "^1.4.0",
"electron": "4.1.0",
"electron-builder": "^20.38.4",
"electron-devtools-installer": "^2.2.4",
"enzyme": "^2.8.2",
"enzyme-to-json": "^1.5.1",
"eslint": "^4.9.0",
"eslint-config-airbnb": "^15.0.1",
"eslint-formatter-pretty": "^1.1.0",
"eslint-import-resolver-webpack": "^0.8.1",
"eslint-plugin-compat": "^1.0.3",
"eslint-plugin-flowtype": "^2.33.0",
"eslint-plugin-flowtype-errors": "^3.3.0",
"eslint-plugin-import": "^2.3.0",
"eslint-plugin-jest": "^20.0.3",
"eslint-plugin-jsx-a11y": "^5.0.3",
"eslint-plugin-promise": "^3.5.0",
"eslint-plugin-react": "^7.0.1",
"express": "^4.15.3",
"extract-text-webpack-plugin": "^v4.0.0-beta.0",
"fbjs-scripts": "^0.7.1",
"file-loader": "^1.1.11",
"flow-bin": "^0.61.0",
"flow-runtime": "^0.16.0",
"flow-typed": "^2.2.3",
"html-webpack-plugin": "^2.28.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^23.0",
"jsDAV": "~0.3.4",
"jsdom": "^11.0.0",
"json-loader": "^0.5.7",
"less": "^2.7.3",
"less-loader": "^4.0.5",
"mini-css-extract-plugin": "^0.5.0",
"minimist": "^1.2.0",
"node-sass": "^4.5.3",
"raw-loader": "^1.0.0",
"react-addons-test-utils": "^15.5.1",
"react-test-renderer": "^15.5.4",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.2",
"sass-loader": "^6.0.5",
"shelljs": "^0.7.8",
"sinon": "^2.3.1",
"spectron": "^5.0.0",
"style-loader": "^0.23.1",
"stylefmt": "^5.3.2",
"stylelint": "^7.10.1",
"stylelint-config-standard": "^16.0.0",
"url-loader": "^1.1.1",
"webpack": "^4.27.1",
"webpack-bundle-analyzer": "^3.0.3",
"webpack-cli": "^3.1.2",
"webpack-dev-server": "^3.1.10",
"webpack-merge": "^4.1.4"
},
"dependencies": {
"@material-ui/core": "^3.9.2",
"@material-ui/icons": "^3.0.2",
"@material-ui/lab": "^3.0.0-alpha.30",
"aws-sdk": "^2.263.1",
"chokidar": "^2.0.4",
"classnames": "^2.2.5",
"dompurify": "^1.0.8",
"electron-debug": "^2.1.0",
"electron-window-state": "^5.0.3",
"exif-js": "^2.3.0",
"file-saver": "^1.3.3",
"font-awesome": "^4.7.0",
"fs-extra": "^4.0.1",
"fuse.js": "^3.4.2",
"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",
"jmespath": "^0.15.0",
"js-webdav-client": "https://github.com/sara-nl/js-webdav-client",
"jszip": "^3.1.5",
"marked": "^0.6.1",
"memoize-one": "^5.0.0",
"moment": "^2.22.1",
"open-location-code": "^1.0.3",
"path": "^0.12.7",
"pdfjs-dist": "^2.0.943",
"rc-table": "^6.4.0",
"rc-tree": "^1.7.8",
"react": "^16.8.2",
"react-autosuggest": "^9.3.2",
"react-color": "^2.17.0",
"react-datetime": "^2.14.0",
"react-dnd": "^7.0.2",
"react-dnd-html5-backend": "^7.0.2",
"react-dom": "^16.8.2",
"react-hot-loader": "^4.7.1",
"react-hotkeys": "^1.1.4",
"react-i18next": "^4.6.1",
"react-joyride": "^2.0.0-11",
"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-select": "^2.1.1",
"react-split-pane": "^0.1.84",
"react-swipeable-views": "^0.13.0",
"redux": "^3.7.2",
"redux-persist": "^5.10.0",
"redux-thunk": "^2.2.0",
"remove-markdown": "^0.2.2",
"semver": "^5.5.0",
"source-map-support": "^0.5.10",
"tiff.js": "^1.0.0",
"winattr": "^2.0.0"
},
"devEngines": {
"node": ">=8.x",
"npm": ">=5.x",
"yarn": ">=1.6.0"
}
}