-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
278 lines (278 loc) · 9.64 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
{
"name": "falcon",
"productName": "Falcon",
"version": "0.0.8",
"erbVersion": "0.13.1",
"description": "A fast, modern, and extensible database client",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"build": "lerna run build && concurrently \"yarn build-main\" \"yarn build-renderer\"",
"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 --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 --colors",
"build-renderer": "cross-env NODE_ENV=production node --trace-warnings -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.renderer.prod.js --colors && mv app/dist/service-worker.prod.js app/",
"dev": "cross-env START_HOT=1 node -r babel-register ./internals/scripts/CheckPortInUse.js && cross-env START_HOT=1 yarn start-renderer-dev",
"electron-rebuild": "node -r babel-register ./internals/scripts/ElectronRebuild.js",
"flow": "flow",
"flow-typed": "rimraf flow-typed/npm && flow-typed install --overwrite || true",
"lint": "cross-env NODE_ENV=development eslint --cache --format=node_modules/eslint-formatter-pretty .",
"lint-fix": "yarn --silent lint --fix; exit 0",
"lint-styles": "stylelint app/*.css app/components/*.css --syntax scss",
"lint-styles-fix": "stylefmt -r app/*.css app/components/*.css",
"package": "yarn build && electron-builder build --publish never",
"package-no-build": "build --publish never",
"package-all-no-build": "build -mwl",
"package-all": "yarn build && electron-builder build -mwl",
"package-release": "yarn build && electron-builder --publish always",
"package-linux": "yarn build && electron-builder build --linux",
"package-win": "yarn build && electron-builder build --win --x64",
"precommit": "lint-staged",
"postinstall": "node -r babel-register internals/scripts/CheckNativeDep.js && yarn flow-typed && yarn build-dll && electron-builder install-app-deps",
"postlint-fix": "prettier --ignore-path .eslintignore --single-quote --write '**/*.js'",
"reinstall": "rm -rf node_modules/ && rm -rf app/node_modules/ && yarn install",
"start": "cross-env NODE_ENV=production electron -r babel-register ./app/main.dev.js",
"start-prod": "cross-env NODE_ENV=production electron ./app/main.prod.js",
"start-main-debug": "cross-env HOT=1 NODE_ENV=development electron -r babel-register --inspect=9229 ./app/main.dev.js",
"start-main-dev": "cross-env HOT=1 NODE_ENV=development electron -r babel-register ./app/main.dev.js",
"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",
"test": "exit 0",
"test-all": "yarn lint && yarn flow && yarn build && yarn test && yarn test-e2e",
"test-e2e": "cross-env NODE_ENV=test testcafe electron:./app ./test/e2e/*.e2e.js",
"test-e2e:watch": "cross-env NODE_ENV=test testcafe-live electron:./app ./test/e2e/*.e2e.js",
"test-watch": "yarn test --watch"
},
"lint-staged": {
"*.(js|jsx)": [
"cross-env NODE_ENV=development eslint --cache --format=node_modules/eslint-formatter-pretty",
"prettier --ignore-path .eslintignore --single-quote --write",
"git add"
],
"*.(json|css|scss|md|yml)|.(babelrc|prettierrc|eslintrc)": [
"prettier --ignore-path .eslintignore --write",
"git add"
]
},
"browserslist": "electron 1.6",
"build": {
"productName": "Falcon",
"appId": "com.falcon.Falcon",
"files": [
"dist/",
"node_modules/",
"app.html",
"main.prod.js",
"main.prod.js.map",
"package.json"
],
"dmg": {
"format": "ULFO",
"window": {
"width": "500",
"height": "300"
},
"contents": [
{
"x": 410,
"y": 150,
"type": "link",
"path": "/Applications"
},
{
"x": 130,
"y": 150,
"type": "file"
}
]
},
"win": {
"target": [
"nsis",
"portable"
]
},
"linux": {
"target": [
"deb",
"rpm",
"snap",
"AppImage"
],
"category": "Development"
},
"directories": {
"buildResources": "resources",
"output": "release"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/falcon-client/falcon.git"
},
"author": {
"name": "The Falcon Team",
"email": "amilajack@gmail.com",
"url": "https://github.com/falcon-client"
},
"bugs": {
"url": "https://github.com/falcon-client/falcon/issues"
},
"homepage": "https://github.com/falcon-client/falcon#readme",
"jest": {
"testEnvironment": "node",
"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"
},
"setupFiles": [
"./internals/scripts/CheckBuiltsExist.js"
]
},
"devDependencies": {
"babel-cli": "^6.26.0",
"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-dynamic-import-node": "^2.0.0",
"babel-plugin-flow-runtime": "^0.17.0",
"babel-plugin-react-remove-properties": "^0.2.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-es2015-classes": "^6.24.1",
"babel-preset-env": "^1.7.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",
"brfs": "^2.0.0",
"cache-loader": "^1.2.2",
"chalk": "^2.4.1",
"concurrently": "^3.6.1",
"cross-env": "^5.2.0",
"cross-spawn": "^6.0.5",
"css-loader": "^1.0.0",
"del": "^3.0.0",
"detect-port": "^1.2.3",
"electron": "^4.0.1",
"electron-builder": "^20.26.0",
"electron-devtools-installer": "^2.2.4",
"electron-rebuild": "^1.8.1",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"enzyme-to-json": "^3.3.4",
"error-overlay-webpack-plugin": "^0.1.5",
"eslint": "^5.2.0",
"eslint-config-airbnb": "^17.0.0",
"eslint-config-prettier": "^2.9.0",
"eslint-formatter-pretty": "^1.3.0",
"eslint-import-resolver-webpack": "^0.10.1",
"eslint-plugin-compat": "^2.5.1",
"eslint-plugin-flowtype": "^2.50.0",
"eslint-plugin-flowtype-errors": "^3.6.0",
"eslint-plugin-import": "^2.13.0",
"eslint-plugin-jest": "^21.18.0",
"eslint-plugin-jsx-a11y": "6.1.1",
"eslint-plugin-promise": "^3.8.0",
"eslint-plugin-react": "^7.10.0",
"eslint-plugin-testcafe": "^0.2.1",
"fbjs-scripts": "^0.8.3",
"file-loader": "^1.1.11",
"flow-bin": "^0.77.0",
"flow-runtime": "^0.17.0",
"flow-typed": "^2.5.1",
"hard-source-webpack-plugin": "^0.11.2",
"husky": "^0.14.3",
"identity-obj-proxy": "^3.0.0",
"ionicons-temp": "^2.0.0",
"jest": "^23.4.2",
"jsdom": "^11.12.0",
"json-loader": "^0.5.7",
"lerna": "^3.0.0-rc.0",
"lint-staged": "^7.2.0",
"lodash-webpack-plugin": "^0.11.5",
"mini-css-extract-plugin": "^0.4.1",
"minimist": "^1.2.0",
"node-sass": "^4.9.2",
"npm-logical-tree": "^1.2.1",
"optimize-css-assets-webpack-plugin": "^5.0.0",
"parcel": "^1.9.7",
"prettier": "^1.14.0",
"react-test-renderer": "^16.4.1",
"redux-logger": "^3.0.6",
"rimraf": "^2.6.2",
"rollup": "^0.63.4",
"sass-loader": "^7.0.3",
"sinon": "^6.1.4",
"spectron": "^3.8.0",
"style-loader": "^0.21.0",
"stylefmt": "^6.0.2",
"stylelint": "^9.4.0",
"stylelint-config-standard": "^18.2.0",
"sw-precache-webpack-plugin": "^0.11.5",
"testcafe": "^0.20.5",
"testcafe-browser-provider-electron": "^0.0.6",
"testcafe-react-selectors": "^2.1.0",
"transform-loader": "^0.2.4",
"uglifyjs-webpack-plugin": "1.2.7",
"url-loader": "^1.0.1",
"webpack": "^4.16.3",
"webpack-bundle-analyzer": "^2.13.1",
"webpack-cli": "^3.1.0",
"webpack-dev-server": "^3.1.5",
"webpack-merge": "^4.1.3",
"worker-loader": "^2.0.0",
"yarn": "^1.9.2"
},
"dependencies": {
"bootstrap": "4.1.3",
"brace": "^0.11.1",
"devtron": "^1.4.0",
"draggabilly": "^2.2.0",
"electron-debug": "^2.0.0",
"express": "^4.16.3",
"font-awesome": "^4.7.0",
"graphql": "^0.13.2",
"history": "^4.7.2",
"jquery": "^3.3.1",
"lodash": "^4.17.10",
"nprogress": "^0.2.0",
"popper.js": "^1.14.3",
"react": "^16.4.1",
"react-ace": "^6.1.4",
"react-dom": "^16.4.1",
"react-hot-loader": "^4.3.4",
"react-loadable": "^5.4.0",
"react-redux": "^5.0.7",
"react-resizable": "^1.7.5",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1",
"react-router-redux": "^5.0.0-alpha.6",
"react-select": "^2.0.0",
"react-table": "^6.8.6",
"react-tag-autocomplete": "github:amilajack/react-tags",
"react-treebeard": "^2.1.0",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"source-map-support": "^0.5.6",
"viz.js": "^2.0.0"
},
"devEngines": {
"node": ">=7.x",
"npm": ">=5.x",
"yarn": ">=0.21.3"
}
}