-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
320 lines (320 loc) · 11.3 KB
/
Copy pathpackage.json
File metadata and controls
320 lines (320 loc) · 11.3 KB
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
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
{
"name": "chipi",
"description": "Chipi Desktop Client",
"main": "./app/app.js",
"scripts": {
"test": "cross-env NODE_ENV=test mocha-webpack",
"test-watch": "yarn run test -- --watch",
"lint": "eslint app/background app/lib app/app test *.js",
"hot-server": "node -r @babel/register server.js",
"build-main": "cross-env NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.electron.production.js --progress --profile --colors",
"build-main:pentest": "cross-env CHIPI_ENV=pentest NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.electron.production.js --progress --profile --colors",
"build-main-dev": "cross-env HOT=1 NODE_ENV=development node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.electron.development.js --progress --profile --colors",
"build-renderer": "cross-env NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"build-renderer:pentest": "cross-env CHIPI_ENV=pentest NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors",
"bundle-analyze": "cross-env ANALYZE=true NODE_ENV=production node -r @babel/register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --progress --profile --colors && open ./app/dist/stats.html",
"build": "yarn run build-main && yarn run build-renderer",
"build:pentest": "yarn run build-main:pentest && yarn run build-renderer:pentest",
"rebuild-node": "yarn run electron-rebuild && yarn run electron-rebuild -m ./app",
"minify": "node ./node_modules/uglify-es/bin/uglifyjs ./app/dist/main.bundle.js -o ./app/dist/main.bundle.js --mangle && node ./node_modules/uglify-es/bin/uglifyjs ./app/dist/background.bundle.js -o ./app/dist/background.bundle.js --mangle && node ./node_modules/uglify-es/bin/uglifyjs ./app/dist/feedback.bundle.js -o ./app/dist/feedback.bundle.js --mangle",
"start": "cross-env NODE_ENV=production electron ./app",
"start-hot": "yarn rebuild-node && yarn build-main-dev && cross-env HOT=1 NODE_ENV=development ./node_modules/.bin/electron -r @babel/register ./app",
"package": "yarn run build && build --mac --publish never",
"package-win": "yarn run build && build --win --publish never",
"build-and-publish-win": "yarn run build && build --win --publish always",
"build-and-publish-mac": "yarn run build && build --mac --publish always",
"build-and-publish": "yarn run build && build --mac --publish always",
"release": "source ./release.sh",
"release-win": "powershell -ExecutionPolicy ByPass -File ./release.win.ps1",
"dev": "concurrently --kill-others \"yarn run hot-server\" \"yarn run start-hot\"",
"postinstall": "concurrently \"node node_modules/fbjs-scripts/node/check-dev-engines.js package.json\"",
"pentest-package-setup": "yarn run json -I -f ./package.json -e 'this.build.productName=\"Chipi-Pentest\";this.build.appId=\"io.chipi.desktop.pentest\"' && yarn run json -I -f ./app/package.json -e 'this.productName=\"Chipi-Pentest\";this.appId=\"Chipi.Client.Desktop.pentest\";this.version=this.version.replace(\"-pentest\", \"\")+\"-pentest\"'",
"pentest-package-cleanup": "git checkout -- ./app/package.json && git checkout -- ./package.json",
"package:pentest": "yarn run pentest-package-setup && yarn run build:pentest && build --mac --publish never && yarn run pentest-package-cleanup",
"package-win:pentest": "powershell -ExecutionPolicy ByPass -File ./package.win.pentest.ps1"
},
"build": {
"productName": "Chipi",
"appId": "io.chipi.desktop",
"artifactName": "${productName}-${version}.${ext}",
"protocols": {
"name": "CHIPI URLs",
"role": "Viewer",
"schemes": [
"chipi"
]
},
"directories": {
"app": "./app",
"output": "release"
},
"linux": {
"target": [
{
"target": "deb",
"arch": [
"x64"
]
},
{
"target": "AppImage",
"arch": [
"x64"
]
}
],
"category": "Utility"
},
"mac": {
"extendInfo": {
"NSUserNotificationAlertStyle": "alert",
"NSRequiresAquaSystemAppearance": false
},
"category": "public.app-category.productivity",
"darkModeSupport": false
},
"dmg": {
"internetEnabled": true,
"background": "build/background.png",
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"win": {
"target": [
{
"target": "nsis",
"arch": [
"x64",
"ia32"
]
}
],
"icon": "build/icon.ico"
},
"nsis": {
"include": "build/installer.nsh",
"perMachine": false
},
"files": [
"resources/",
"dist/",
"main/index.html",
"main/css,",
"background/index.html",
"main/windows/feedback/feedback.html",
"tray_icon.png",
"tray_icon.ico",
"tray_iconTemplate@2x.png",
"icon-white.ico",
"icon.ico",
"node_modules/",
"app.js",
"app.js.map",
"package.json",
"!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,test,__tests__,tests,powered-test,example,examples,*.d.ts}",
"!**/node_modules/.bin",
"!**/*.{o,hprof,orig,pyc,pyo,rbc}",
"!**/{.DS_Store,.git,.hg,.svn,CVS,RCS,SCCS,__pycache__,thumbs.db,.gitignore,.gitattributes,.editorconfig,.flowconfig,.yarn-metadata.json,.idea,appveyor.yml,.travis.yml,circle.yml,npm-debug.log,.nyc_output,yarn.lock,.yarn-integrity}"
],
"publish": [
{
"provider": "generic",
"url": "https://download.chipi.io/"
},
{
"provider": "s3",
"bucket": "chipi-desktop-client-releases",
"region": "ap-southeast-2",
"endpoint": "https://s3.ap-southeast-2.amazonaws.com/"
}
]
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"author": {
"name": "Chipi Ltd",
"email": "info@chipi.io"
},
"license": "MIT",
"bugs": {
"email": "bugs@chipi.io"
},
"keywords": [
"launcher",
"electron",
"alfred",
"spotlight"
],
"homepage": "https://chipi.io",
"resolutions": {
"electron-rebuild/**/node-abi": "2.15.0"
},
"devDependencies": {
"@babel/core": "^7.4.5",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/plugin-proposal-object-rest-spread": "^7.4.4",
"@babel/plugin-transform-async-to-generator": "^7.4.4",
"@babel/plugin-transform-runtime": "^7.4.4",
"@babel/preset-env": "^7.4.5",
"@babel/preset-react": "^7.0.0",
"@babel/preset-typescript": "^7.3.3",
"@babel/register": "^7.4.4",
"@babel/runtime": "^7.4.5",
"@types/classnames": "^2.2.7",
"@types/history": "^4.7.2",
"@types/json-query": "^2.2.0",
"@types/lodash": "^4.14.132",
"@types/marked": "^0.6.5",
"@types/node": "^11.13.0",
"@types/react": "^16.8.18",
"@types/react-redux": "^7.0.9",
"@types/react-router": "^5.0.1",
"@types/react-transition-group": "^2.9.1",
"@types/webpack-env": "^1.13.9",
"asar": "2.0.1",
"autoprefixer": "^7.1.2",
"babel-eslint": "^9.0.0",
"babel-loader": "^8.0.0",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-remove-debugger": "^6.8.4",
"chai": "^4.1.0",
"chai-spies": "0.7.1",
"co-mocha": "1.2.0",
"concurrently": "^3.5.0",
"copy-webpack-plugin": "5.0.3",
"cross-env": "^5.0.2",
"css-loader": "^2.1.1",
"electron": "8.1.0",
"electron-builder": "22.4.0",
"electron-publisher-s3": "^20.17.2",
"electron-rebuild": "^1.10.0",
"eslint": "^5.16.0",
"eslint-config-airbnb": "^15.0.2",
"eslint-import-resolver-webpack": "^0.8.3",
"eslint-plugin-import": "^2.7.0",
"eslint-plugin-jsx-a11y": "^5.0.1",
"eslint-plugin-react": "^7.1.0",
"expect": "1.20.2",
"express": "^4.15.3",
"fbjs-scripts": "^0.8.0",
"file-loader": "^0.11.2",
"inject-loader": "3.0.0",
"jsdom": "^11.1.0",
"json-loader": "0.5.4",
"lodash-webpack-plugin": "^0.11.5",
"mini-css-extract-plugin": "^0.6.0",
"minimist": "1.2.0",
"mocha": "^6.1.4",
"mocha-webpack": "1.1.0",
"node-libs-browser": "2.0.0",
"node-loader": "^0.6.0",
"node-sass": "^4.12.0",
"null-loader": "0.1.1",
"optimize-js-plugin": "0.0.4",
"postcss": "^6.0.6",
"postcss-loader": "^3.0.0",
"postcss-nested": "^4.1.2",
"raw-loader": "0.5.1",
"react-addons-test-utils": "^15.6.0",
"react-hot-loader": "^4.8.8",
"sass-loader": "^7.1.0",
"sinon": "^2.3.7",
"style-loader": "^0.23.1",
"typescript": "^3.4.5",
"uglify-es": "^3.0.24",
"url-loader": "^0.5.9",
"webpack": "^4.32.0",
"webpack-dev-middleware": "^3.7.0",
"webpack-hot-middleware": "^2.25.0",
"webpack-visualizer-plugin": "^0.1.11"
},
"dependencies": {
"@exponent/electron-cookies": "^2.0.0",
"amazon-cognito-auth-js": "^1.1.1",
"auto-launch": "^5.0.1",
"aws-amplify": "^0.2.7",
"axios": "^0.18.0",
"bootstrap": "^4.3.1",
"cerebro-tools": "0.1.8",
"cerebro-ui": "^0.0.16",
"chokidar": "^1.6.1",
"classnames": "^2.2.5",
"collections": "^5.1.8",
"compromise": "^11.12.3",
"connected-react-router": "^6.0.0",
"dateformat": "^3.0.3",
"dexie": "^2.0.4",
"du": "^1.0.0",
"electron-debug": "^3.0.1",
"electron-positioner": "^4.1.0",
"electron-updater": "^2.2.4",
"escape-string-regexp": "1.0.5",
"event-stream": "^4.0.1",
"file-icon": "^3.1.0",
"fix-path": "2.1.0",
"guid": "^0.0.12",
"js-yaml": "^3.12.0",
"json": "^9.0.6",
"json-query": "^2.2.2",
"jwt-decode": "^2.2.0",
"keytar": "^5.4.0",
"lodash": "^4.17.4",
"marked": "^0.6.2",
"memoizee": "^0.4.14",
"mv": "^2.1.1",
"node-emoji": "^1.8.1",
"node-machine-id": "^1.1.8",
"normalize.css": "^7.0.0",
"pdfjs-dist": "^2.0.385",
"prismjs": "^1.11.0",
"prop-types": "^15.6.2",
"react": "^16.8.6",
"react-addons-css-transition-group": "^15.6.0",
"react-addons-shallow-compare": "^15.6.0",
"react-avatar": "^3.4.4",
"react-bootstrap": "^1.0.0-beta.9",
"react-dom": "^16.8.6",
"react-fontawesome": "^1.6.1",
"react-hotkeys": "^1.1.4",
"react-input-autosize": "^1.1.0",
"react-markdown": "4.1.0",
"react-redux": "^6.0.1",
"react-router": "^5.0.0",
"react-router-dom": "^5.1.2",
"react-select": "^2.1.2",
"react-timeago": "^4.1.9",
"react-tooltip": "^3.9.2",
"react-transition-group": "^4.0.1",
"react-virtualized": "^9.21.0",
"redux": "^4.0.1",
"redux-thunk": "^2.3.0",
"retry-axios": "^0.3.2",
"rmdir": "^1.2.0",
"semver": "^5.3.0",
"source-map-support": "^0.4.15",
"string": "^3.3.3",
"string-replace-async": "^1.2.1",
"styled-components": "^5.0.1",
"tar-fs": ">=1.16.2",
"underscore": "^1.9.1",
"universal-analytics": "^0.4.16",
"uuid": "^3.3.2",
"webpack-cli": "^3.3.2",
"winston": "^3.2.0"
},
"devEngines": {
"node": ">=6.x"
}
}