-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
88 lines (88 loc) · 2.65 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
{
"name": "clean-node",
"version": "3.0.0",
"description": "",
"main": "index.js",
"scripts": {
"dev": "ts-node-dev --poll --respawn --transpile-only --ignore-watch './node_modules' ./src/server/index.ts",
"dev:docker": "docker-compose -f docker-compose.yml up",
"start": "node dist/server/index.js",
"build": "rimraf dist && tsc -p tsconfig-build.json",
"postbuild": "copyfiles -u 1 public/**/* dist/static",
"debug": "ts-node-dev --inspect=0.0.0.0:9222 --nolazy ./src/server/index.ts",
"up": "npm run build && docker-compose -f docker-compose.yml up",
"down": "docker-compose down",
"test": "jest --passWithNoTests --runInBand --no-cache",
"test:unit": "npm test -- --watch -c jest-unit-config.js",
"test:integration": "npm test -- --watch -c jest-integration-config.js",
"test:staged": "npm test -- --findRelatedTests",
"test:ci": "npm test -- --coverage",
"test:coveralls": "npm run test:ci && coveralls < coverage/lcov.info"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test:ci"
}
},
"lint-staged": {
"*.ts": [
"eslint 'src/**' --fix",
"npm run test:staged"
]
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@shelf/jest-mongodb": "^2.0.3",
"@types/bcrypt": "^5.0.0",
"@types/express": "^4.17.13",
"@types/jest": "^27.4.1",
"@types/multer": "^1.4.7",
"@types/node": "^17.0.21",
"@types/supertest": "^2.0.11",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.7.1",
"@typescript-eslint/eslint-plugin": "^4.33.0",
"copyfiles": "^2.4.1",
"coveralls": "^3.1.1",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.25.4",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^5.2.0",
"git-commit-msg-linter": "^4.1.1",
"husky": "^7.0.4",
"jest": "^27.5.1",
"lint-staged": "^12.3.4",
"mockdate": "^3.0.5",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"supertest": "^6.2.2",
"ts-jest": "^27.1.3",
"ts-node-dev": "^2.0.0",
"typescript": "^4.6.2"
},
"dependencies": {
"@faker-js/faker": "^7.3.0",
"bson-objectid": "^2.0.3",
"dotenv": "^16.0.3",
"express": "^4.17.3",
"module-alias": "^2.2.2",
"mongodb": "^4.4.1",
"mongoose": "^6.7.2",
"multer": "^1.4.5-lts.1",
"socket.io": "^4.5.4",
"swagger-ui-express": "^4.4.0",
"validator": "^13.7.0"
},
"engines": {
"node": "16.x"
},
"_moduleAliases": {
"@": "dist"
}
}