This repository has been archived by the owner on Jan 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
59 lines (59 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
48
49
50
51
52
53
54
55
56
57
58
59
{
"private": true,
"name": "ts-backend-boilerplate",
"description": "Simple boilerplate for @sota1235",
"dependencies": {
"express": "^4.18.2",
"morgan": "^1.9.1",
"typescript": "^4.0.0"
},
"devDependencies": {
"@sota1235/eslint-config": "^4.0.0",
"@stoplight/spectral": "^6.0.0",
"@types/express": "4.17.21",
"@types/jest": "29.5.11",
"@types/morgan": "1.9.9",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"eslint": "8.56.0",
"husky": "8.0.3",
"jest": "29.7.0",
"lint-staged": "15.2.0",
"nodemon": "2.0.22",
"prettier": "3.2.4",
"redoc-cli": "^0.13.21",
"ts-jest": "29.1.1",
"ts-node": "10.9.2"
},
"scripts": {
"build": "tsc",
"watch": "nodemon",
"start:dev": "ts-node src/index.ts",
"start:prod": "node lib/index.js",
"doc:dev": "redoc-cli serve ./spec.yml",
"doc:build": "redoc-cli bundle ./spec.yml",
"doc:lint": "spectral lint ./spec.yml",
"fix": "npm run prettier && npm run eslint:fix",
"lint": "npm run eslint",
"eslint": "eslint 'src/**/*.ts'",
"eslint:fix": "npm run eslint --fix",
"prettier": "prettier './src/**/*.ts' --write",
"test": "jest",
"test:ci": "jest -c ./jest.config.ci.js"
},
"keywords": [],
"author": "@sota1235",
"license": "MIT",
"lint-staged": {
"*.ts": [
"npm run fix",
"git add"
]
},
"nodemonConfig": {
"watch": [
"src"
],
"ext": "ts",
"exec": "npm run start:dev"
}
}