-
Notifications
You must be signed in to change notification settings - Fork 15
/
package.json
58 lines (58 loc) · 1.46 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
{
"name": "rooms",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
"scripts": {
"build": "tsc",
"test": "jest",
"test:watch": "jest --verbose --watchAll --no-cache --runInBand",
"tsc:check": "tesc --noEmit",
"lint": "eslint src/**/*.ts",
"prettier:check": "prettier --check src/**/*.ts",
"prettier:fix": "prettier --write src/**/*.ts"
},
"author": "",
"license": "ISC",
"dependencies": {
"express": "^4.17.1",
"socket.io": "^4.0.1"
},
"devDependencies": {
"@types/express": "^4.17.11",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@types/socket.io": "^2.1.13",
"@typescript-eslint/eslint-plugin": "^4.22.0",
"@typescript-eslint/parser": "^4.22.0",
"eslint": "^7.24.0",
"eslint-config-prettier": "^8.3.0",
"eslint-config-standard": "^16.0.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^3.4.0",
"eslint-plugin-promise": "^4.3.1",
"faker": "^5.5.3",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^11.0.0",
"prettier": "^2.2.1",
"sinon": "^10.0.0",
"ts-jest": "^26.5.5",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"lint-staged": {
"src/**/*.ts": [
"npm run prettier:fix",
"npm run lint",
"git add"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && npm run test"
}
}
}