-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
42 lines (42 loc) · 1.27 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
{
"name": "express-typescript-boilerplate",
"version": "0.0.1",
"description": "Minimalistic template for Node.js apps with Typescript, Express, ESLint, Prettier and Husky",
"license": "MIT",
"main": "index.js",
"scripts": {
"dev": "nodemon",
"start": "node build/index.js",
"build": "tsc",
"test": "echo \"Error: no test specified\" && exit 1",
"type-check": "tsc --pretty --noEmit",
"format": "prettier --write .",
"lint": "eslint . --ext .ts,.tsx,.js,.jsx",
"lint-fix": "eslint --fix . --ext .ts,.tsx,.js,.jsx",
"prepare": "husky install",
"pre-commit": "npx lint-staged"
},
"devDependencies": {
"@types/express": "^4.17.12",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "^4.28.0",
"eslint": "^7.29.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.4",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"nodemon": "^2.0.7",
"prettier": "^2.3.2",
"pretty-quick": "^3.1.1",
"ts-node": "^10.0.0",
"typescript": "^4.3.4"
},
"dependencies": {
"express": "^4.17.1"
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": "npm run lint-fix",
"*.{js,jsx,ts,tsx,md,html,css}": "pretty-quick --staged"
}
}