-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
99 lines (99 loc) · 2.84 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
{
"name": "multiplayer-game-engine",
"version": "1.0.0",
"description": "",
"keywords": [
"multiplayer",
"game",
"engine",
"online",
"javascript",
"socket"
],
"main": "index.js",
"scripts": {
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"prettier": "prettier --config ./.prettierrc.json --list-different \"src/**/*{.ts,.scss,.html}\"",
"prettier:fix": "yarn prettier --write",
"build": "webpack",
"build:webpack:dev": "webpack --watch",
"build:webpack:dev:client": "webpack --watch --config-name client",
"build:webpack:dev:server": "webpack --watch --config-name server",
"build:start:dev:server": "tsnd ./src/server/main.ts",
"start": "node dist/server/robocop.bundle.js",
"start:dev": "nodemon --inspect dist/server/robocop.bundle.js --watch dist/server/robocop.bundle.js",
"dev-mode": "npm-run-all --parallel build:webpack:dev:client build:start:dev:server",
"test": "echo \"No test specified\" && exit 0"
},
"author": "Michał Gruca",
"license": "Beerware",
"devDependencies": {
"@types/express": "^4.17.9",
"@types/node": "^14.14.10",
"@types/socket.io": "^2.1.11",
"@types/three": "^0.103.2",
"@typescript-eslint/eslint-plugin": "^4.8.2",
"@typescript-eslint/parser": "^4.8.2",
"autoprefixer": "^10.0.2",
"awesome-typescript-loader": "^5.2.1",
"css-loader": "^5.0.1",
"eslint": "^7.14.0",
"eslint-plugin-simple-import-sort": "^6.0.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^4.5.0",
"husky": "^4.3.0",
"lint-staged": "^10.5.2",
"node-sass": "^5.0.0",
"nodemon": "^2.0.6",
"nodemon-webpack-plugin": "^4.3.2",
"npm-run-all": "^4.1.5",
"postcss-loader": "^4.1.0",
"prettier": "^2.2.0",
"redux-devtools-extension": "^2.13.8",
"sass-loader": "^10.1.0",
"style-loader": "^2.0.0",
"terser-webpack-plugin": "^5.0.3",
"ts-loader": "^8.0.11",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1",
"typescript": "^4.1.3",
"webpack": "^5.11.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"cors": "^2.8.5",
"express": "^4.17.1",
"ip": "^1.1.5",
"redux": "^4.0.5",
"socket.io": "^3.0.3",
"socket.io-client": "^3.0.3",
"three": "^0.121.1"
},
"engines": {
"node": ">=10 <11"
},
"repository": {
"type": "git",
"url": "https://github.com/Pucek9/multiplayerGameEngine.git"
},
"postcss": {
"plugins": {
"autoprefixer": {}
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn prettier && yarn test && yarn build"
}
},
"lint-staged": {
"*.ts": [
"yarn lint:fix"
],
"*.(ts|html|scss)": [
"yarn prettier:fix"
]
}
}