-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
36 lines (36 loc) · 1.14 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
{
"name": "try-bench",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"scripts": {
"build": "webpack --mode production",
"pm2:start": "yarn build && pm2 restart pm2.config.js",
"pm2:stop": "yarn pm2 kill",
"pm2:bench": "yarn pm2:start && autocannon localhost:4000 && yarn pm2:stop",
"start": "yarn build && NODE_ENV=production lib/index.js",
"start:heapdump": "yarn build && PORT=4000 NODE_ENV=production HEAPDUMP=true node --expose-gc lib/index.js",
"perf:flamegraph": "yarn build && rimraf '*.0x' && NODE_ENV=production 0x -P 'yarn autocannon localhost:4000' --open -- node lib/index.js"
},
"devDependencies": {
"@types/express": "^4.17.8",
"@types/node": "^14.11.1",
"@types/react": "^16.9.49",
"@types/react-dom": "^16.9.8",
"autocannon": "^6.4.0",
"express": "^4.17.1",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"fastify": "^3.4.1",
"rimraf": "^3.0.2",
"ts-loader": "^8.0.4",
"typescript": "^4.0.2",
"webpack": "^4.44.2",
"webpack-cli": "^3.3.12"
},
"optionalDependencies": {
"pm2": "^4.4.1",
"0x": "^4.10.0",
"heapdump": "^0.3.15"
}
}