-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
51 lines (51 loc) · 1.86 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
{
"name": "nodets-bootstrap",
"version": "3.0.0",
"main": "src/index.js",
"repository": "https://github.com/codingwithmanny/nodets-base",
"author": "@codingwithmanny",
"license": "MIT",
"scripts": {
"build": "tsc",
"dev": "nodemon --files src/server.ts",
"start": "export NODE_ENV=production && tsc && node build/server.js",
"release": "standard-version",
"test": "pnpm test:lint && pnpm test:coverage",
"test:jest": "./node_modules/.bin/jest --watch",
"test:coverage": "./node_modules/.bin/jest --coverage",
"test:lint": "./node_modules/.bin/eslint '*/**/*.{js,ts}' --quiet --fix",
"test:reset": "echo '{\"data\":[{\"id\":\"a80d6bfd-c632-49e2-89a9-a156b043954a\",\"name\":\"Item CiI9D4GhKb\"}]}' > data/db.json",
"test:newman": "pnpm test:reset && start-server-and-test start 5001 './node_modules/.bin/newman run tests/newman/nodets-bootstrap.postman_collection.json -e tests/newman/LOCAL_NODETS_BOOTSTRAP.postman_environment.json --delay-request=3000'"
},
"dependencies": {
"cors": "^2.8.5",
"dotenv": "^16.0.3",
"express": "^4.18.2",
"express-async-errors": "^3.1.1",
"express-validator": "^6.14.2",
"helmet": "^5.1.1",
"typescript": "^4.9.3",
"uuid": "^8.3.2"
},
"devDependencies": {
"@types/cors": "^2.8.12",
"@types/express": "^4.17.14",
"@types/jest": "^27.5.2",
"@types/node": "^17.0.45",
"@types/uuid": "^8.3.4",
"@typescript-eslint/eslint-plugin": "^5.44.0",
"@typescript-eslint/parser": "^5.44.0",
"eslint": "^8.28.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^26.9.0",
"eslint-plugin-prettier": "^4.2.1",
"jest": "^27.5.1",
"newman": "^5.3.2",
"nodemon": "^2.0.20",
"prettier": "^2.8.0",
"standard-version": "^9.5.0",
"start-server-and-test": "^1.14.0",
"ts-jest": "^27.1.5",
"ts-node": "^10.9.1"
}
}