forked from plotly/falcon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
276 lines (276 loc) · 13.6 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
{
"name": "falcon-sql-client",
"version": "4.1.0",
"description": "Free, open-source SQL client for Windows, Mac and Linux",
"main": "./backend/main.js",
"scripts": {
"build": "yarn run build-main && yarn run build-renderer && yarn run build-web",
"build-headless": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.headless.js --profile --colors",
"build-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --profile --colors",
"heroku-postbuild": "yarn run build-headless && yarn run build-web",
"build-renderer": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.production.js --profile --colors",
"build-web": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.web.js --profile --colors",
"docker:elasticsearch:build": "docker build test/docker/elasticsearch -f test/docker/elasticsearch/Dockerfile-v5 -t falcon-test-elasticsearch --no-cache",
"docker:elasticsearch:start": "docker run --rm -ti -p 9200:9200 -p 9300:9300 -e \"discovery.type=single-node\" -e \"xpack.security.enabled=false\" falcon-test-elasticsearch",
"docker:db2:build": "docker build test/docker/ibmdb2/ -t pdc-db2 --build-arg LICENSE=accept --build-arg DB2INST1_PASSWORD=${DB2INST1_PASSWORD} --build-arg DB2USER1_PASSWORD=${DB2USER1_PASSWORD} --no-cache",
"docker:db2:start": "docker run --rm -ti -p 50000:50000 pdc-db2",
"docker:falcon:build": "docker build -t falcon-sql-client:local .",
"docker:falcon:start": "docker run -ti --rm -p 9494:9494 -e PLOTLY_CONNECTOR_AUTH_ENABLED=$PLOTLY_CONNECTOR_AUTH_ENABLED -e PLOTLY_CONNECTOR_ALLOWED_USERS=$PLOTLY_CONNECTOR_ALLOWED_USERS falcon-sql-client:local",
"docker:mssql:start": "docker run -e 'ACCEPT_EULA=Y' -e 'SA_PASSWORD=yourStrong(!)Password' -p 1433:1433 -d microsoft/mssql-server-linux:latest",
"docker:oracle:build": "docker build test/docker/oracle -t falcon-test-oracle --no-cache",
"docker:oracle:start": "docker run --rm -ti -p 1521:1521 falcon-test-oracle",
"docker:clickhouse:build": "docker build test/docker/clickhouse -t falcon-test-clickhouse",
"docker:clickhouse:start": "docker run --rm -ti -p 8123:8123 -p 9000:9000 falcon-test-clickhouse",
"rebuild:modules:electron": "cross-env FSEVENTS_BUILD_FROM_SOURCE=true node scripts/rebuild-modules.js --electron",
"rebuild:modules:node": "cross-env FSEVENTS_BUILD_FROM_SOURCE=true node scripts/rebuild-modules.js",
"fix:module:ibmdb": "node scripts/fix-module-ibmdb.js",
"lint": "eslint app test backend scripts *.js --ext .js,.jsx",
"test": "yarn run lint && yarn run test-unit-all && yarn run test-e2e && yarn run test-jest",
"test-e2e": "cross-env NODE_ENV=test mocha --bail --full-trace --compilers js:babel-register --require babel-polyfill ./test/integration_test.js",
"test-e2e-local": "source test/set_creds.sh && yarn run test-e2e",
"test-jest": "jest test/app",
"test-unit": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --bail --timeout 90000 --compilers js:babel-register ",
"test-unit-all": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --bail --full-trace --timeout 90000 --compilers js:babel-register --recursive test/**/*.spec.js",
"test-unit-all-watch": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --bail --full-trace --timeout 90000 --compilers js:babel-register --recursive test/**/*.spec.js --watch",
"test-unit-watch": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --bail --full-trace --timeout 90000 --watch --compilers js:babel-register ",
"test-unit-athena": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.athena.spec.js",
"test-unit-certificates": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/certificates.spec.js",
"test-unit-csv": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.csv.spec.js",
"test-unit-datastores": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/Datastores.spec.js",
"test-unit-dataworld": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.dataworld.spec.js",
"test-unit-elasticsearch-v2": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.elasticsearch-v2.spec.js",
"test-unit-elasticsearch-v5": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.elasticsearch-v5.spec.js",
"test-unit-ibmdb": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.ibmdb.spec.js",
"test-unit-impala": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.impala.spec.js",
"test-unit-livy": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.livy.spec.js",
"test-unit-mock": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.mock.spec.js",
"test-unit-oauth2": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/routes.oauth2.spec.js",
"test-unit-oracle": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.oracle.spec.js",
"test-unit-oracle:node": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.oracle.spec.js",
"test-unit-clickhouse": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/datastores.clickhouse.spec.js",
"test-unit-plotly": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/plotly-api.spec.js",
"test-unit-queries": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/routes.queries.spec.js",
"test-unit-routes": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/routes.spec.js",
"test-unit-scheduler": "cross-env NODE_ENV=test BABEL_DISABLE_CACHE=1 electron-mocha --full-trace --timeout 90000 --compilers js:babel-register test/backend/QueryScheduler.spec.js",
"pack": "cross-env NODE_ENV=production electron-builder --publish=never",
"rebuild-and-e2e": "yarn run build && yarn run test-e2e",
"start": "cross-env NODE_ENV=production electron --disable-http-cache ./",
"start-headless": "cross-env NODE_ENV=production node ./dist/headless-bundle.js",
"start-hot": "cross-env HOT=1 NODE_ENV=development electron --disable-http-cache -r babel-register ./backend/main.development",
"watch-headless": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.headless.js --profile --colors --watch",
"watch-web": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.web.js --profile --colors --watch",
"watch-main": "cross-env NODE_ENV=production node -r babel-register ./node_modules/webpack/bin/webpack --config webpack.config.electron.js --profile --colors --watch",
"dist-w": "build -w",
"dist-m": "build -m",
"dist-l": "build -l"
},
"jest": {
"moduleNameMapper": {
"\\.css$": "identity-obj-proxy"
},
"testURL": "http://localhost"
},
"build": {
"appId": "org.plotly.connector",
"productName": "Falcon SQL Client",
"files": [
"app",
"dist",
"backend",
"static"
],
"linux": {
"category": "Database",
"desktop": {
"Comment": "Free, open-source SQL client for Windows, Mac and Linux",
"Exec": "falcon-sql-client",
"Icon": "falcon-sql-client",
"Name": "Falcon SQL Client",
"StartupNotify": "true",
"Terminal": "false",
"Type": "Application",
"Categories": "Database;Office;"
},
"executableName": "falcon-sql-client",
"maintainer": "[email protected]",
"target": [
"tar.gz"
],
"icon": "app/icons"
},
"mac": {
"category": "public.app-category.tools",
"target": [
"dmg"
],
"icon": "app/icons/app.icns"
},
"win": {
"asar": false,
"target": [
"nsis"
],
"icon": "app/icons/app.ico"
},
"directories": {
"output": "release"
}
},
"bin": {
"electron": "./node_modules/.bin/electron"
},
"repository": {
"type": "git",
"url": "git+https://github.com/plotly/falcon-sql-client"
},
"author": {
"name": "Plotly",
"email": "[email protected]",
"url": ""
},
"license": "MIT",
"bugs": {
"url": "https://github.com/plotly/falcon-sql-client/issues"
},
"keywords": [
"electron",
"plotly",
"sql",
"postgres",
"redshift",
"elasticsearch",
"drill",
"s3",
"persistent",
"connector"
],
"homepage": "https://github.com/plotly/falcon-sql-client",
"optionalDependencies": {
"fsevents": "*"
},
"devDependencies": {
"@google-cloud/bigquery": "^1.3.0",
"aws-sdk": "^2.156.0",
"babel-core": "^6.26.0",
"babel-eslint": "^8.0.2",
"babel-jest": "^22.2.2",
"babel-loader": "^7.1.2",
"babel-plugin-add-module-exports": "^0.2.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-polyfill": "^6.26.0",
"babel-preset-es2015": "^6.24.1",
"babel-preset-jest": "^22.2.0",
"babel-preset-react": "^6.24.1",
"babel-preset-react-hmre": "^1.1.1",
"babel-preset-stage-0": "^6.24.1",
"babel-register": "^6.26.0",
"babel-runtime": "^6.26.0",
"bunyan": "^1.8.12",
"chai": "^4.1.2",
"chai-subset": "^1.6.0",
"chromedriver": "2.33.2",
"classnames": "^2.2.5",
"codemirror": "^5.32.0",
"cronstrue": "^1.31.0",
"cross-env": "^5.1.1",
"css-loader": "^0.28.7",
"del": "^3.0.0",
"devtron": "^1.3.0",
"electron": "2.0.8",
"electron-builder": "20",
"electron-debug": "^1.4.0",
"electron-mocha": "^4.0.3",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint": "^4.11.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-plugin-import": "^2.8.0",
"eslint-plugin-jsx-a11y": "^6.0.2",
"eslint-plugin-react": "^7.5.1",
"fetch-cookie": "^0.7.0",
"form-data": "^2.3.1",
"fs-extra": "^4.0.2",
"identity-obj-proxy": "^3.0.0",
"immutable": "^3.8.2",
"jest": "^22.3.0",
"json-loader": "^0.5.4",
"match-sorter": "^2.2.3",
"minimist": "^1.2.0",
"mkdirp": "^0.5.1",
"ms": "^2.1.1",
"nock": "^9.1.5",
"node-fetch": "^1.7.2",
"node-impala": "^2.0.4",
"node-schedule": "^1.3.0",
"prop-types": "^15.6.0",
"query-string": "^5.0.1",
"ramda": "^0.21.0",
"react": "^16.2.0",
"react-chart-editor": "0.33.4",
"react-click-outside": "^3.0.1",
"react-codemirror2": "^4.2.1",
"react-cookies": "^0.1.0",
"react-copy-to-clipboard": "^5.0.1",
"react-data-grid": "^3.0.11",
"react-data-grid-addons": "^3.0.11",
"react-dom": "^16.2.0",
"react-highlight": "^0.12.0",
"react-immutable-proptypes": "^2.1.0",
"react-redux": "^5.0.7",
"react-resizable": "^1.7.5",
"react-router": "^3.2.1",
"react-router-dom": "^4.2.2",
"react-router-redux": "^4.0.8",
"react-select": "^1.2.1",
"react-split-pane": "^0.1.77",
"react-tabs": "^2.2.1",
"react-test-renderer": "^16.2.0",
"react-tooltip": "^3.4.0",
"react-treeview": "^0.4.7",
"redux": "^3.7.2",
"redux-actions": "^2.3.0",
"redux-devtools": "^3.4.1",
"redux-devtools-dock-monitor": "^1.1.3",
"redux-devtools-log-monitor": "^1.4.0",
"redux-electron-store": "^0.6.2",
"redux-logger": "^3.0.6",
"redux-thunk": "^2.2.0",
"restify-cookies": "^0.2.2",
"selenium-webdriver": "^3.6.0",
"sinon": "^4.3.0",
"style-loader": "^0.19.0",
"tohash": "^1.0.2",
"uglifyjs-webpack-plugin": "^1.2.7",
"webpack": "^3.8.1",
"yamljs": "^0.3.0"
},
"dependencies": {
"@apla/clickhouse": "1.5.3",
"alasql": "^0.4.5",
"csv-parse": "^2.0.0",
"dtrace-provider": "^0.8.6",
"font-awesome": "^4.6.1",
"ibm_db": "^2.3.0",
"moment": "^2.22.2",
"mysql": "^2.15.0",
"oracledb": "https://github.com/oracle/node-oracledb/releases/download/v2.2.0/oracledb-src-2.2.0.tgz",
"papaparse": "^4.3.7",
"pg": "^4.5.5",
"pg-hstore": "^2.3.2",
"react-color": "^2.14.1",
"restify": "^4.3.2",
"sequelize": "3.30.4",
"shortid": "^2.2.13",
"source-map-support": "^0.5.0",
"sqlite3": "^3.1.13",
"tedious": "^2.1.4"
},
"engines": {
"node": "8",
"yarn": "1"
},
"devEngines": {
"node": "8",
"yarn": "1"
}
}