-
Notifications
You must be signed in to change notification settings - Fork 524
/
package.json
213 lines (213 loc) · 7.09 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
{
"name": "sqlectron",
"version": "1.38.0",
"description": "A simple and lightweight SQL client with cross database and platform support",
"author": {
"name": "The Sqlectron Team",
"email": "[email protected]"
},
"main": "./out/browser/main.js",
"license": "MIT",
"homepage": "https://sqlectron.github.io",
"bugs": "https://github.com/sqlectron/sqlectron-gui/issues",
"repository": {
"type": "git",
"url": "https://github.com/sqlectron/sqlectron-gui"
},
"build": {
"appId": "org.sqlectron.gui",
"afterSign": "build/notarize.js",
"mac": {
"category": "public.app-category.developer-tools",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist"
},
"dmg": {
"contents": [
{
"x": 438,
"y": 275,
"type": "link",
"path": "/Applications"
},
{
"x": 192,
"y": 275,
"type": "file"
}
]
},
"linux": {
"target": [
"deb",
"rpm",
"freebsd",
"pacman",
"tar.xz",
"tar.gz"
]
},
"win": {
"target": [
"nsis",
"7z",
"zip"
]
},
"publish": {
"provider": "github",
"releaseType": "release"
}
},
"scripts": {
"prepare": "husky install",
"dev": "cross-env NODE_ENV=development concurrently --names \"webpack,electron\" --prefix name \"npm run dev:webpack\" \"npm run dev:electron\"",
"dev:webpack": "webpack serve --color",
"dev:electron": "npm run compile:browser && concurrently --kill-others --names \"build,run\" \"npm run compile:browser -- -w\" \"cross-env DEBUG=spawn-auto-restart node scripts/dev-auto-restart.js | bunyan -o short\"",
"check-types": "tsc --noemit --project tsconfig.json",
"eslint": "eslint . --ext .js,.jsx,.ts,.tsx",
"lint": "npm run eslint && npm run check-types",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"format:check": "prettier --check \"**/*.{js,jsx,ts,tsx,json,css,md}\"",
"test": "npm run test:browser && npm run test:renderer",
"test:e2e": "mocha -r ts-node/register 'test/e2e/**/test.*.ts'",
"test:e2e:dev": "cross-env DEV_MODE=true npm run test:e2e",
"test:browser": "mocha -r ts-node/register 'test/browser/**/test.*.ts'",
"test:renderer": "mocha -r ts-node/register 'test/renderer/**/test.*.ts*'",
"clean": "rimraf dist",
"clean:macos": "rimraf dist/Sqlectron-darwin-*",
"clean:win": "rimraf dist/win* dist/Sqlectron-win*",
"clean:linux": "rimraf dist/Sqlectron-linux-* dist/*.deb",
"compile": "rimraf out && npm run compile:browser && npm run compile:renderer",
"compile:browser": "tsc --project tsconfig.build.json",
"compile:renderer": "cross-env NODE_ENV=production webpack --progress --stats-error-details",
"build:macos": "npm run clean:macos && electron-builder --macos",
"build:linux": "npm run clean:linux && electron-builder --linux",
"build:win": "npm run clean:win && electron-builder --windows",
"dist": "npm run compile && electron-builder",
"dist:all-arch": "npm run compile && electron-builder --ia32 --x64",
"dist:winlinux": "npm run compile && npm run build:linux && npm run build:win",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook"
},
"dependencies": {
"@babel/core": "^7.14.3",
"@types/react-virtualized": "^9.21.16",
"ace-builds": "^1.4.13",
"axios": "^0.21.1",
"bunyan": "^1.8.5",
"connection-string": "^4.3.4",
"core-js": "^3.6.5",
"csv-stringify": "^5.5.1",
"electron-devtools-installer": "^3.1.1",
"env-paths": "^1.0.0",
"lodash": "^4.17.21",
"sqlectron-db-core": "^0.11.0",
"uuid": "^8.3.2",
"valida2": "^2.6.1"
},
"devDependencies": {
"@babel/cli": "^7.14.3",
"@babel/eslint-parser": "^7.14.3",
"@babel/eslint-plugin": "^7.13.16",
"@babel/plugin-proposal-class-properties": "^7.13.0",
"@babel/preset-env": "^7.14.2",
"@babel/preset-react": "^7.13.13",
"@babel/preset-typescript": "^7.13.0",
"@reduxjs/toolkit": "^1.7.1",
"@storybook/addon-actions": "^6.4.17",
"@storybook/addon-essentials": "^6.4.17",
"@storybook/addon-links": "^6.4.17",
"@storybook/builder-webpack5": "^6.4.17",
"@storybook/react": "^6.4.17",
"@types/chai": "^4.2.15",
"@types/electron": "^1.6.10",
"@types/enzyme": "^3.10.8",
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jquery": "^3.5.5",
"@types/jsdom": "^16.2.8",
"@types/lodash": "^4.14.178",
"@types/mocha": "^9.1.0",
"@types/node": "^12.20.4",
"@types/react": "^17.0.2",
"@types/react-dom": "^17.0.1",
"@types/react-resizable": "^1.7.4",
"@types/react-router": "^5.1.18",
"@types/react-tabs": "^2.3.4",
"@types/redux-logger": "^3.0.9",
"@types/semantic-ui": "^2.2.7",
"@types/sinon": "^9.0.10",
"@types/webpack-env": "^1.16.0",
"@typescript-eslint/eslint-plugin": "^4.16.1",
"@typescript-eslint/parser": "^4.16.1",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.2",
"breakpoint-sass": "^2.6.1",
"chai": "^4.3.0",
"classnames": "^2.3.1",
"concurrently": "^2.2.0",
"cross-env": "^7.0.2",
"csp-html-webpack-plugin": "^5.1.0",
"css-loader": "^5.2.5",
"dom-helpers": "^5.1.4",
"dotenv": "^10.0.0",
"dotenv-webpack": "^7.0.2",
"electron": "^12.0.1",
"electron-builder": "^22.14.13",
"electron-notarize": "^1.1.1",
"enzyme": "^3.11.0",
"enzyme-adapter-react-16": "^1.15.6",
"eslint": "^7.21.0",
"eslint-config-prettier": "^8.1.0",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jsx-a11y": "^6.4.1",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-react": "^7.22.0",
"eslint-plugin-react-hooks": "^4.2.0",
"expect-playwright": "^0.3.2",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^5.3.1",
"html2canvas": "^0.5.0-beta4",
"husky": "^5.1.1",
"imports-loader": "^0.6.5",
"jointjs": "^3.3.1",
"jquery": "^3.3.1",
"jsdom": "^16.5.1",
"json-loader": "^0.5.4",
"lint-staged": "^10.5.4",
"mini-css-extract-plugin": "^1.6.0",
"mocha": "^9.2.0",
"playwright": "^1.18.1",
"postcss": "^8.3.0",
"postcss-loader": "^5.3.0",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react": "^16.14.0",
"react-ace": "^9.4.4",
"react-dom": "^16.14.0",
"react-draggable": "^3.3.2",
"react-redux": "^7.2.4",
"react-resizable": "^1.11.0",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-select": "^4.3.0",
"react-tabs": "^3.2.2",
"react-virtualized": "^9.22.3",
"redux-logger": "^3.0.6",
"rimraf": "^3.0.2",
"sass": "^1.49.0",
"sass-loader": "^11.0.1",
"sinon": "^9.2.4",
"spawn-auto-restart": "^3.0.0",
"sql-formatter": "^4.0.2",
"style-loader": "^1.2.1",
"ts-loader": "^8.0.17",
"ts-node": "^9.1.1",
"typescript": "^4.2.2",
"url-loader": "^4.1.0",
"webpack": "^5.36.2",
"webpack-cli": "^4.7.0",
"webpack-dev-server": "^4.7.2"
}
}