Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.68 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.68 KB
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
{
"name": "hair",
"version": "0.1.0",
"private": true,
"main": "./backend/dist/app.js",
"proxy": "http://localhost:8080",
"dependencies": {
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"express": "^4.17.1",
"express-sslify": "^1.2.0",
"husky": "^4.2.5",
"lint-staged": "^10.2.9",
"node-sass": "^4.14.1",
"prettier": "^2.0.5",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scripts": "3.4.1",
"react-spring": "^8.0.27",
"react-three-fiber": "^4.2.8",
"socket.io": "^2.3.0",
"socket.io-client": "^2.3.0",
"three": "^0.117.1",
"typescript": "^3.9.5",
"uuid": "^8.1.0"
},
"scripts": {
"watch:server-js": "cross-env NODE_ENV=development PWD=./ nodemon ./backend/dist/app.js",
"watch:server-ts": "cd ./backend && cross-env NODE_ENV=development PWD=./ tsc -w",
"server": "concurrently \"npm:watch:server-js\" \"npm:watch:server-ts\"",
"start:dev": "concurrently \"npm:server\" \"npm:frontend\"",
"start": "NODE_ENV=production node ./backend/dist/app.js",
"frontend": "react-scripts start",
"build:frontend": "react-scripts build",
"build:server": "cd ./backend && tsc",
"build": "npm run build:server && npm run build:frontend",
"eslint": "eslint \"./src/**/*.{js,jsx,ts,tsx}\" \"./backend/src/**/*.ts\"",
"lint": "prettier --write \"./src/**/*.{js,jsx,ts,tsx,json,css,scss,md}\"",
"load-test": "artillery run tests/load-tests/load-test.yml",
"test": "cross-env PWD=./ jest --watch --no-cache"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json,css,scss,md}": [
"prettier --write",
"git add"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/express": "^4.17.6",
"@types/express-sslify": "^1.2.1",
"@types/jest": "^26.0.0",
"@types/node": "^14.0.13",
"@types/react": "^16.9.35",
"@types/react-dom": "^16.9.8",
"@types/socket.io": "^2.1.8",
"@types/socket.io-client": "^1.4.33",
"@types/supertest": "^2.0.9",
"@types/uuid": "^8.0.0",
"@typescript-eslint/eslint-plugin": "^3.2.0",
"@typescript-eslint/parser": "^3.2.0",
"artillery": "^1.6.0",
"concurrently": "^5.2.0",
"cross-env": "^7.0.2",
"nodemon": "^2.0.4",
"socket.io-mock": "^1.2.4",
"supertest": "^4.0.2",
"ts-jest": "^26.1.0"
},
"engines": {
"node": "12.16.1",
"npm": "6.14.4"
}
}