-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
87 lines (87 loc) · 3 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
{
"name": "cars-db-api",
"version": "1.0.0",
"description": "An API to manage a cars database",
"main": "./dist/index.js",
"scripts": {
"build": "yarn run clean:build && tsc -b ./tsconfig.build.json",
"clean:build": "rm -rf dist",
"clean:installation": "rm -rf node_modules ",
"clean": "run-p clean:*",
"start": "yarn build && NODE_ENV=development node -r dotenv/config dist/index.js",
"start:dev": "TS_NODE_FILES=true NODE_ENV=development nodemon --watch 'src/**/*.ts' --exec 'node --inspect=0.0.0.0:9230 -r ts-node/register -r dotenv/config' src/index.ts | pino-pretty",
"test": "run-p test:*",
"test:types": "tsc -p ./tsconfig.json --noEmit",
"test:lint": "eslint './src/**/*.ts' --fix",
"test:unit": "TEST_TYPE=unit NODE_ENV=test jest --verbose src",
"test:integration": "TEST_TYPE=integration NODE_ENV=test jest --verbose test/integration",
"cover:unit": "LOG_LEVEL=silent yarn test:unit --coverage",
"cover:integration": "LOG_LEVEL=silent yarn test:integration --coverage",
"cover:report": "nyc report --reporter html --reporter text -t coverage --report-dir coverage/summary",
"cover": "run-p cover:unit cover:integration && yarn cover:report",
"prettier:fix": "prettier -w ./src/**/*.ts",
"co": "cz"
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"repository": {
"type": "git",
"url": "git+https://github.com/Nachox07/cars-db-api.git"
},
"engine": {
"node": ">=14",
"yarn": "^1.22"
},
"license": "UNLICENSED",
"bugs": {
"url": "https://github.com/Nachox07/cars-db-api/issues"
},
"homepage": "https://github.com/Nachox07/cars-db-api#readme",
"devDependencies": {
"@types/compression": "^1.7.0",
"@types/express": "^4.17.11",
"@types/express-pino-logger": "^4.0.2",
"@types/helmet": "^4.0.0",
"@types/jest": "^26.0.23",
"@types/pino": "^6.3.8",
"@types/supertest": "^2.0.11",
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.0.0",
"commitizen": "^4.2.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^7.25.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-prettier": "^3.4.0",
"jest": "^26.6.3",
"mongodb-memory-server": "^6.9.6",
"nodemon": "^2.0.7",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"pino-pretty": "^4.7.1",
"prettier": "^2.2.1",
"supertest": "^6.1.3",
"ts-jest": "^26.5.5",
"ts-node": "^9.1.1",
"typescript": "^4.2.4"
},
"dependencies": {
"@types/apicache": "^1.2.2",
"@types/mongoose": "^5.10.5",
"@types/swagger-ui-express": "^4.1.2",
"apicache": "^1.6.2",
"compression": "^1.7.4",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-json-validator-middleware": "^2.1.1",
"express-pino-logger": "^6.0.0",
"helmet": "^4.5.0",
"mongoose": "^5.12.6",
"pino": "^6.11.3",
"swagger-ui-express": "^4.1.6"
}
}