-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
47 lines (47 loc) · 1.47 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
{
"name": "nodejs-project-template",
"version": "1.0.0",
"description": "Seed repo for Node.js projects",
"type": "module",
"main": "dist/index.js",
"author": "Adam Yeats <[email protected]>",
"scripts": {
"build:watch": "esbuild src/index.ts --bundle --platform=node --target=node18 --packages=external --format=esm --outdir=dist --watch",
"build": "esbuild src/index.ts --bundle --platform=node --target=node18 --packages=external --format=esm --outdir=dist",
"dev": "concurrently \"npm:start:debug\" \"npm:build:watch\"",
"lint": "eslint src",
"prepare": "husky install",
"start:debug": "NODE_ENV=development DEBUG=nodejs-project-template:* nodemon dist/index.js",
"start": "node dist/index.js",
"test:watch": "jest --watch",
"test": "jest",
"type-check": "tsc --noEmit"
},
"dependencies": {
"dotenv": "^16.4.5"
},
"devDependencies": {
"@types/jest": "^29.5.11",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"@typescript-eslint/parser": "^6.19.0",
"concurrently": "^8.2.2",
"esbuild": "^0.19.11",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-security": "^2.1.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.0",
"nodemon": "^3.0.3",
"prettier": "^3.2.4",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.{ts,js}": "prettier --write"
},
"volta": {
"node": "18.16.0"
}
}