-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
60 lines (60 loc) · 1.77 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
{
"name": "ts-express-rest-api-template",
"version": "0.0.1",
"description": "Template project for REST API (TS + Express)",
"main": "index.js",
"scripts": {
"start-dev": "nodemon -r dotenv/config --watch src src/index.ts dotenv_config_path=.env",
"start-prod": "node -r dotenv/config dist/index.js dotenv_config_path=.env.prod",
"lint": "eslint src",
"build": "rimraf dist && tsc --project tsconfig.build.json",
"test": "jest --verbose=true --runInBand --detectOpenHandles --forceExit",
"test:watch": "jest --watch",
"prestart-prod":"npm run build",
"prod": "node dist/index.js",
"docker-build": "docker build -t ts-express-rest-api-template --progress=plain ."
},
"keywords": [
"express",
"typescript",
"template",
"rest",
"api",
"boilerplate"
],
"author": "Alessio Scarfone",
"license": "MIT",
"devDependencies": {
"@types/compression": "^1.7.2",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.13",
"@types/express-status-monitor": "^1.3.0",
"@types/helmet": "^4.0.0",
"@types/jest": "^28.1.6",
"@types/morgan": "^1.9.3",
"@types/nanoid": "^3.0.0",
"@types/node": "^18.0.6",
"@types/supertest": "^2.0.12",
"@typescript-eslint/eslint-plugin": "^5.30.7",
"@typescript-eslint/parser": "^5.30.7",
"eslint": "^8.20.0",
"jest": "^28.1.3",
"nodemon": "^2.0.19",
"rimraf": "^3.0.2",
"supertest": "^6.2.4",
"ts-jest": "^28.0.7",
"ts-node": "^10.9.1",
"typescript": "^4.7.4"
},
"dependencies": {
"compression": "^1.7.4",
"cors": "^2.8.5",
"dotenv": "^16.0.1",
"express": "^4.18.1",
"express-basic-auth": "^1.2.1",
"express-status-monitor": "^1.3.4",
"helmet": "^5.1.0",
"morgan": "^1.10.0",
"nanoid": "^3.3.4"
}
}