-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
45 lines (45 loc) · 1.32 KB
/
package.json
File metadata and controls
45 lines (45 loc) · 1.32 KB
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
{
"name": "nodejs-express-typescript-boilerplate",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"clean": "rimraf dist",
"build": "pnpm clean && swc ./src -d dist --strip-leading-paths",
"start": "if [ \"$NODE_ENV\" = \"production\" ]; then node dist/index.js; else node --env-file .env dist/index.js; fi",
"build:start": "pnpm build && pnpm start",
"dev": "nodemon --exec ts-node --watch src src/index.ts",
"lint": "eslint . --ext .ts",
"lint:fix": "eslint . --ext .ts --fix",
"format": "prettier --write src/"
},
"keywords": [],
"author": "",
"license": "ISC",
"volta": {
"node": "20.11.1"
},
"devDependencies": {
"@swc/cli": "^0.3.10",
"@swc/core": "^1.4.8",
"@tsconfig/node20": "^20.1.3",
"@types/express": "^4.17.21",
"@types/morgan": "^1.9.9",
"@types/node": "^20.11.30",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.3",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-node": "^10.9.2",
"typescript": "^5.4.3"
},
"dependencies": {
"express": "^4.19.1",
"morgan": "^1.10.0"
}
}