-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
46 lines (46 loc) · 1.45 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
{
"name": "car-app-demo",
"version": "1.0.0",
"description": "This is a demo of an api to manage a car stock list",
"main": "./src/main/index.ts",
"scripts": {
"build": "tsc",
"dev": "docker-compose up -d mongodb && NODE_ENV=dev nodemon src/main/index.ts",
"lint": "tslint --project ./",
"lint-fix": "tslint --project ./ --fix",
"start": "NODE_ENV=prod node dist/index.js",
"start-local-db": "docker-compose down && docker-compose up -d mongodb",
"test": "npm run start-local-db && jest --verbose --coverage && docker-compose down",
"test-controller": "npm run start-local-db && nodemon --exec jest src/test/controllers/carController.test.ts --watch --detectOpenHandles"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Andrapyre/car-app-demo.git"
},
"author": "David Doyle",
"license": "ISC",
"bugs": {
"url": "https://github.com/Andrapyre/car-app-demo/issues"
},
"homepage": "https://github.com/Andrapyre/car-app-demo#readme",
"dependencies": {
"ajv": "^8.9.0",
"express": "^4.17.2",
"mongoose": "^6.1.7",
"uuid": "^8.3.2",
"winston": "^3.4.0"
},
"devDependencies": {
"@types/express": "^4.17.13",
"@types/jest": "^27.4.0",
"@types/uuid": "^8.3.4",
"axios": "^0.25.0",
"jest": "^27.4.7",
"mongodb": "^4.3.1",
"nodemon": "^2.0.15",
"ts-jest": "^27.1.3",
"ts-node": "^10.4.0",
"tslint": "^6.1.3",
"typescript": "^4.5.5"
}
}