forked from vvfesik/vgs-satellite
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
196 lines (196 loc) · 6.31 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
{
"name": "vgs-satellite",
"version": "1.13.0",
"description": "VGS Offline integration tool",
"main": "src/app.js",
"keywords": [
"Very Good Security",
"VGS",
"offline integration",
"integration",
"proxy"
],
"authors": [
"Vasyl Fesik @vvfesik",
"Andrew Slepakurov @aslepakurov",
"Petro Melnykov @rozenbom"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/verygoodsecurity/vgs-satellite.git"
},
"scripts": {
"postinstall": "npm run build -- --log-level 4",
"clean": "rm -rf dist/ && rm -rf build/ && rm -rf .cache/",
"dev": "NODE_ENV=dev SATELLITE_API_PORT=8089 parcel src/index.html --open",
"build": "SATELLITE_API_PORT=8089 parcel build src/index.html --no-source-maps",
"serve": "concurrently npm:serve:quiet 'wait-on http-get://localhost:1234 && open http://localhost:1234'",
"serve:quiet": "SATELLITE_API_PORT=${SATELLITE_API_PORT:-8089} serve dist -s -n -l ${SATELLITE_WEB_PORT:-1234}",
"start": "start-test ./runapp.sh 8089 serve",
"start:app": "start-test start:quiet 1234 'electron .'",
"start:quiet": "start-test ./runapp.sh 8089 serve:quiet",
"start:docker": "start-test 'python app.py' ${SATELLITE_API_PORT:-8089} serve:quiet",
"electron:build": "SATELLITE_API_PORT=8089 parcel build src/index-electron.html --no-source-maps --public-url ./ --out-file index.html && make dist && electron-builder -p never",
"cy:dev": "cypress open",
"cy:run": "cypress run -b chrome -c -s './cypress/e2e/*.*' --headless",
"cy:smoke": "cypress run -b chrome -c ignoreTestFiles=**/__*__/* -s './cypress/e2e/smoke/*.*' --headless",
"smoketest": "CYPRESS_VGS_DASHBOARD_DOMAIN=$VGS_DASHBOARD_DOMAIN CYPRESS_VGS_DASHBOARD_EMAIL=$VGS_DASHBOARD_EMAIL CYPRESS_VGS_DASHBOARD_PASS=$VGS_DASHBOARD_PASS start-test serve:quiet 1234 cy:smoke",
"test": "start-test serve:quiet 1234 cy:run",
"test:ci": "start-test 'start-test ./scripts/ci.sh 8089 serve:quiet' 1234 cy:run",
"release": "git tag $(./scripts/version.sh) && git push origin --tags"
},
"alias": {
"src": "./src"
},
"build": {
"appId": "com.verygoodsecurity.satellite",
"artifactName": "vgs-satellite-${version}-${os}.${ext}",
"productName": "VGS Satellite",
"directories": {
"output": "build",
"buildResources": "static"
},
"files": [
"src/app.js",
"static/*",
"dist/**/*"
],
"extraResources": [
{
"from": "dist/vgs-satellite-backend",
"to": "vgs-satellite-backend"
},
{
"from": "node_modules/monaco-editor/min/vs",
"to": "vs"
}
],
"mac": {
"target": "dmg",
"icon": "images/electron/appicon_512x512.png",
"minimumSystemVersion": "10.14.4",
"hardenedRuntime": true,
"gatekeeperAssess": false,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist"
},
"dmg": {
"sign": false
},
"afterSign": "scripts/electron-after-sign.js",
"linux": {
"target": "AppImage",
"icon": "images/electron/appicon_512x512.png"
}
},
"staticFiles": {
"staticPath": [
"static",
"node_modules/monaco-editor/min"
]
},
"dependencies": {
"@exponent/electron-cookies": "^2.0.0",
"@vgs/elemente": "^0.4.43",
"axios": "^0.21.3",
"bootstrap": "^4.6.0",
"classnames": "^2.2.6",
"concurrently": "^5.3.0",
"deep-object-diff": "^1.1.0",
"deep-replace-in-object": "^1.1.7",
"deep-sort-object": "^1.0.2",
"electron-is-dev": "^1.2.0",
"electron-util": "^0.14.2",
"fast-xml-parser": "^3.17.6",
"file-saver": "^2.0.5",
"is-cidr": "^4.0.2",
"is-ip": "^3.1.0",
"izitoast": "^1.4.0",
"js-yaml": "^3.14.1",
"keycloak-js": "15.0.2",
"konva": "^4.2.2",
"less": "^3.13.1",
"lodash": "^4.17.21",
"pdfjs-dist": "^2.5.207",
"prismjs": "^1.25.0",
"qs": "^6.9.6",
"ramda": "^0.27.1",
"react": "^16.14.0",
"react-beautiful-dnd": "^13.0.0",
"react-copy-to-clipboard": "^5.0.3",
"react-dom": "^16.14.0",
"react-konva": "^16.10.1-0",
"react-querybuilder": "git+https://github.com/verygoodsecurity/react-querybuilder.git#routes-conditions-defaults",
"react-redux": "^7.2.2",
"react-router-dom": "^5.2.0",
"react-router-navigation-prompt": "^1.8.13",
"react-select": "^3.2.0",
"react-treebeard": "^3.2.4",
"reactstrap": "^8.9.0",
"redux": "^4.0.5",
"redux-devtools-extension": "^2.13.8",
"redux-thunk": "^2.3.0",
"sass": "^1.32.5",
"source-map-support": "^0.5.19",
"url-parse": "^1.5.2",
"wait-on": "^5.2.1"
},
"devDependencies": {
"@babel/core": "^7.12.10",
"@babel/preset-env": "^7.12.11",
"@babel/preset-react": "^7.12.10",
"@cypress/code-coverage": "^3.9.2",
"@istanbuljs/nyc-config-typescript": "^1.0.1",
"@types/classnames": "^2.2.11",
"@types/file-saver": "^2.0.1",
"@types/js-yaml": "^3.12.6",
"@types/lodash": "^4.14.168",
"@types/node": "^14.14.22",
"@types/pdfjs-dist": "^2.1.7",
"@types/qs": "^6.9.5",
"@types/ramda": "^0.27.36",
"@types/react": "^16.14.2",
"@types/react-beautiful-dnd": "^13.0.0",
"@types/react-dom": "^16.9.10",
"@types/react-redux": "^7.1.16",
"@types/react-router-dom": "^5.1.7",
"@types/react-select": "^3.1.2",
"@types/reactstrap": "^8.7.2",
"@types/url-parse": "^1.4.3",
"babel-plugin-istanbul": "^6.0.0",
"cross-env": "^7.0.3",
"cypress": "^6.5.0",
"cypress-file-upload": "^5.0.2",
"cypress-plugin-snapshots": "^1.4.4",
"electron": "^10.3.0",
"electron-builder": "^22.9.1",
"electron-notarize": "^1.0.0",
"electron-osx-sign": "^0.5.0",
"parcel-bundler": "^1.12.4",
"parcel-plugin-less-js-enabled": "^1.0.2",
"parcel-plugin-static-files-copy": "^2.5.0",
"serve": "^11.3.2",
"start-server-and-test": "^1.11.7",
"typescript": "^4.1.3"
},
"browserslist": [
"since 2017-06"
],
"nyc": {
"extends": "@istanbuljs/nyc-config-typescript",
"all": true,
"include": [
"src/components/**/*"
],
"reporter": [
"html",
"text-summary"
]
},
"bugs": {
"url": "https://github.com/verygoodsecurity/vgs-satellite/issues"
},
"homepage": "https://github.com/verygoodsecurity/vgs-satellite#readme",
"author": ""
}