-
Notifications
You must be signed in to change notification settings - Fork 54
/
package.json
197 lines (197 loc) · 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
{
"name": "Stethoscope",
"version": "5.0.6",
"private": true,
"homepage": "./",
"author": "Netflix",
"description": "Local Stethoscope app",
"repository": {
"type": "git",
"url": "https://github.com/Netflix-Skunkworks/stethoscope-app.git"
},
"main": "compiled/start.js",
"standard": {
"parser": "babel-eslint",
"ignore": [
"registerServiceWorker.js"
],
"globals": [
"jest",
"it",
"expect",
"describe",
"beforeEach",
"afterEach"
]
},
"scripts": {
"start": "yarn babel && cross-env FORCE_COLOR=true nf start -p 12000",
"dev:electron": "cross-env STETHOSCOPE_ENV=development electron -r @babel/register .",
"dev:electron-start": "node src/start-react",
"dev:react-start": "react-scripts start",
"prebuild": "run-s lint build:clean build:update-config build:react babel",
"build": "run-s prebuild build:all",
"postbuild": "run-s test:spectron",
"postinstall": "electron-builder install-app-deps",
"build:test": "CSC_IDENTITY_AUTO_DISCOVERY=false yarn build:mac",
"build:react": "react-scripts build && node -r @babel/register update-download-page.js",
"build:clean": "rimraf dist",
"build:all": "electron-builder -mwl",
"build:mac": "run-s prebuild 'build:electron -m' postbuild",
"_electron-builder-windows": "cross-env ELECTRON_BUILDER_COMPRESSION_LEVEL=9 electron-builder -w",
"build:windows": "run-s prebuild _electron-builder-windows",
"_electron-builder-linux": "cross-env ELECTRON_BUILDER_COMPRESSION_LEVEL=9 electron-builder -l",
"build:linux": "run-s prebuild _electron-builder-linux postbuild",
"build:electron": "cross-env ELECTRON_BUILDER_COMPRESSION_LEVEL=9 electron-builder",
"build:update-config": "node scripts/maybeUpdateConfigsFromEnvironment.js",
"test": "react-scripts test --env=jsdom --testPathIgnorePatterns=__tests__",
"test:spectron": "node src/__tests__/test-build.js",
"lint": "standard --fix src/*.js src/**/*.js resolvers/*.js sources/*.js scripts/*.js server.js",
"babel": "run-s babel:clean babel:compile",
"babel:clean": "rimraf compiled",
"babel:compile": "cross-env BABEL_ENV=production babel src/ --out-dir compiled/ --copy-files"
},
"dependencies": {
"@babel/register": "^7.4.4",
"applescript": "^1.0.0",
"auto-launch": "^5.0.5",
"body-parser": "^1.18.2",
"chalk": "^2.4.2",
"classnames": "^2.2.5",
"cors": "^2.8.4",
"cross-env": "^5.2.0",
"electron-notarize": "^0.2.1",
"electron-settings": "^3.2.x",
"electron-updater": "4.0.6",
"express": "^4.16.2",
"extend": "^3.0.2",
"fast-glob": "^2.2.6",
"generic-pool": "^3.4.2",
"glob": "^7.1.6",
"graphql": "^14.3.1",
"graphql-server-express": "^1.2.0",
"graphql-tools": "^2.12.0",
"handlebars": "^4.7.7",
"helmet": "^3.9.0",
"js-yaml": "^3.10.0",
"kmd-script": "^0.0.11",
"moment": "^2.19.3",
"nocache": "^2.1.0",
"node-fetch": "^2.6.1",
"node-powershell": "^3.3.1",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"semver": "^5.4.1",
"serialize-error": "^2.1.0",
"showdown": "^1.8.6",
"socket.io": "^2.4.0",
"winston": "3.1.0",
"winston-daily-rotate-file": "^3.3.0"
},
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.4",
"@babel/plugin-proposal-class-properties": "^7.4.4",
"@babel/preset-env": "7.4.4",
"@babel/preset-react": "^7.0.0",
"@heroku/foreman": "^2.0.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-minify": "^0.5.0",
"babel-register": "^6.26.0",
"benchmark": "^2.1.4",
"chai": "^4.1.2",
"chai-http": "^4.0.0",
"electron": "^7.1.0",
"electron-builder": "21.2.0",
"enzyme": "^3.3.0",
"enzyme-adapter-react-16": "^1.1.1",
"eslint-plugin-standard": "^4.0.0",
"faucet": "^0.0.1",
"json5": "^2.1.0",
"microtime": "^3.0.0",
"mocha": "^5.2.0",
"npm-run-all": "^4.1.5",
"react-dev-utils": "5.0.2",
"react-scripts": "^3.2.0",
"rimraf": "^2.6.3",
"shx": "^0.3.2",
"spectron": "^9.0.0",
"standard": "^14.3.1",
"tap": "^12.1.1",
"terser": "^3.14.1",
"tiny-human-time": "^1.2.0",
"webpack-dev-server": "^3.9.0"
},
"browserslist": [
">0.2%",
"not dead",
"not ie <= 11",
"not op_mini all"
],
"build": {
"appId": "com.netflix.stethoscope-local",
"extends": null,
"productName": "Stethoscope",
"directories": {
"buildResources": "public"
},
"files": [
"bitlocker-status/*",
"build/**",
"compiled/practices/*",
"compiled/resolvers/**",
"compiled/sources/**",
"compiled/lib/**",
"compiled/*.json",
"compiled/*.js",
"schema.graphql"
],
"mac": {
"category": "public.app-category.utilities",
"gatekeeperAssess": false,
"hardenedRuntime": true,
"entitlements": "entitlements.mac.plist",
"entitlementsInherit": "entitlements.mac.plist",
"extraResources": [
"src/practices"
]
},
"win": {
"target": "nsis",
"extraResources": [
"src/practices",
"bitlocker-status/bitlocker-status.exe",
"bitlocker-status/bitlocker-status.exe.confg",
"bitlocker-status/bitlocker-status.pdb",
"bitlocker-status/Microsoft.WindowsAPICodePack.dll",
"bitlocker-status/Microsoft.WindowsAPICodePack.ExtendedLinguisticServices.dll",
"bitlocker-status/Microsoft.WindowsAPICodePack.Sensors.dll",
"bitlocker-status/Microsoft.WindowsAPICodePack.Shell.dll",
"bitlocker-status/Microsoft.WindowsAPICodePack.ShellExtensions.dll"
]
},
"nsis": {
"perMachine": true
},
"dmg": {
"format": "UDBZ"
},
"linux": {
"target": "AppImage",
"category": "System",
"extraResources": [
"src/practices"
]
},
"protocols": [
{
"name": "stethoscope",
"role": "Viewer",
"schemes": [
"stethoscope"
]
}
],
"afterSign": "scripts/maybeNotarize.js"
}
}