-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.21 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
{
"name": "websocket-with-shared-worker",
"version": "1.0.0",
"description": "implementating websocket connection with shared worker",
"author": "[email protected]",
"license": "MIT",
"scripts": {
"postinstall": "simple-git-hooks",
"lint-staged": "lint-staged",
"dev": "npm-run-all --parallel dev:*",
"dev:watch": "tsc -w",
"dev:server": "nodemon --watch dist dist/server/index.js",
"dev:client": "parcel client/index.html --out-dir dist/client"
},
"lint-staged": {
"server/**/*.ts": "eslint --fix"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"devDependencies": {
"@types/node": "^17.0.31",
"@types/sharedworker": "^0.0.71",
"@typescript-eslint/eslint-plugin": "^5.22.0",
"@typescript-eslint/parser": "^5.22.0",
"eslint": "^8.14.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "^4.0.0",
"lint-staged": "^12.4.1",
"nodemon": "^2.0.16",
"npm-run-all": "^4.1.5",
"parcel-bundler": "^1.12.5",
"prettier": "^2.6.2",
"simple-git-hooks": "^2.7.0",
"typescript": "^4.6.4"
},
"dependencies": {
"lorem-ipsum": "^2.0.4",
"ws": "^8.6.0"
}
}