-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
68 lines (68 loc) · 1.92 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
{
"name": "pokerio-server",
"version": "1.0.0",
"main": "src/index.ts",
"repository": "[email protected]:poker-io/pokerio-server.git",
"author": "Karol Wąsowski <[email protected]>",
"license": "MIT",
"scripts": {
"start": "tsc && node dist/index.js",
"build": "tsc",
"test": "jest src/tests --coverage --config package.json --runInBand --testTimeout=60000",
"lint": "eslint --ext '.js,.ts,.tsx' src/",
"pretty": "yarn prettier --write .",
"pretty-check": "yarn prettier --check src/",
"prepare": "husky install",
"production": "yarn build && pm2 delete pokerio-server || : && pm2 start dist/index.js --name pokerio-server"
},
"devDependencies": {
"@types/express": "^4.17.17",
"@types/jest": "^29.4.4",
"@typescript-eslint/eslint-plugin": "^5.43.0",
"eslint": "^8.0.1",
"eslint-config-standard-with-typescript": "^34.0.1",
"eslint-plugin-import": "^2.25.2",
"eslint-plugin-n": "^15.0.0",
"eslint-plugin-promise": "^6.0.0",
"husky": "^8.0.0",
"lint-staged": "^13.2.0",
"pm2": "^5.3.0",
"prettier": "2.8.4",
"supertest": "^6.3.3",
"ts-jest": "^29.0.5",
"typescript": "4.9.5"
},
"dependencies": {
"@types/pg": "^8.6.6",
"celebrate": "^15.0.1",
"crypto-js": "^4.1.1",
"express": "^4.18.2",
"express-rate-limit": "^6.7.0",
"firebase-admin": "^11.5.0",
"jest": "^29.5.0",
"joi": "^17.9.1",
"pg": "^8.10.0",
"pokersolver": "^2.1.4"
},
"jest": {
"collectCoverage": true,
"testEnvironment": "node",
"collectCoverageFrom": [
"src/**/*"
],
"coveragePathIgnorePatterns": [
"src/secrets.ts",
"src/tests/*",
"src/serviceAccount.json"
],
"preset": "ts-jest",
"globalTeardown": "<rootDir>/src/tests/teardown.ts",
"globalSetup": "<rootDir>/src/tests/setup.ts"
},
"lint-staged": {
"*.(js|ts|tsx)": [
"yarn pretty",
"yarn lint"
]
}
}