-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
84 lines (84 loc) · 2.66 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
{
"name": "todo-api",
"author": "Sergio Kopplin <[email protected]>",
"version": "1.0.0",
"description": "A node API project",
"repository": {
"url": "https://github.com/sergiokopplin/todo-api"
},
"license": "GPL-3.0-or-later",
"scripts": {
"build:watch": "rimraf dist && tsc -p tsconfig-build.json -w",
"build": "rimraf dist && tsc -p tsconfig-build.json",
"check": "npm-check -s -u",
"debug": "nodemon -L --watch ./dist --inspect=0.0.0.0:9222 --nolazy ./dist/main/server.js",
"down": "docker-compose down",
"lint:fix": "./node_modules/.bin/eslint src tests --fix",
"lint:type": "./node_modules/.bin/tsc --noEmit",
"lint": "./node_modules/.bin/eslint src tests",
"qa": "npm run lint:fix && npm run lint:type && npm run test",
"start": "node dist/main/server.js",
"test:ci": "npm test -- --coverage",
"test:integration": "npm test -- --watch -c jest-integration-config.js",
"test:staged": "npm test -- --findRelatedTests",
"test:unit": "npm test -- --watch -c jest-unit-config.js",
"test": "jest --passWithNoTests --no-cache --maxWorkers=4",
"up": "npm run build && docker-compose up -d",
"prepare": "husky install"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@shelf/jest-mongodb": "^1.2.3",
"@types/bcrypt": "^5.0.0",
"@types/body-parser": "^1.19.2",
"@types/express": "^4.17.15",
"@types/jest": "^29.2.5",
"@types/jsonwebtoken": "^9.0.0",
"@types/mongodb": "^3.6.8",
"@types/node": "^18",
"@types/supertest": "^2.0.12",
"@types/swagger-ui-express": "^4.1.3",
"@types/validator": "^13.7.0",
"@typescript-eslint/eslint-plugin": "^5.48.0",
"@typescript-eslint/parser": "^5.48.0",
"eslint": "^8.31.0",
"eslint-config-standard": "^17.0.0",
"eslint-config-standard-with-typescript": "^26.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-n": "^15.6.0",
"eslint-plugin-promise": "^6.1.1",
"git-commit-msg-linter": "^4.5.0",
"husky": "^8.0.3",
"jest": "^29.3.1",
"lint-staged": "^13.1.0",
"npm-check": "^6.0.1",
"supertest": "^6.3.3",
"ts-jest": "^29.0.3",
"ts-node": "^10.9.1",
"typescript": "^4.9.4"
},
"dependencies": {
"bcrypt": "^5.1.0",
"body-parser": "^1.20.1",
"express": "^4.18.2",
"jsonwebtoken": "^9.0.0",
"module-alias": "^2.2.2",
"mongodb": "^3.6.4",
"morgan": "^1.10.0",
"nodemon": "^2.0.20",
"swagger-ui-express": "^4.6.0",
"validator": "^13.7.0"
},
"engines": {
"node": "18.x"
},
"_moduleAliases": {
"@": "dist"
},
"lint-staged": {
"*.ts": [
"npx eslint src --fix",
"npx eslint tests --fix"
]
}
}