-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
50 lines (50 loc) · 1.5 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
{
"name": "typescript_nodejs_project_template",
"version": "1.0.0",
"description": "Typescript Nodejs Express Project Template with Eslint Prettier & Eslint",
"main": "./dist/index.js",
"repository": "https://github.com/Sarbjyotsingh/typescript_nodejs_project_template.git",
"author": "Sarbjyot Singh Chahal",
"private": false,
"scripts": {
"build": "rm -rf ./dist && tsc",
"lint": "eslint -c ./.eslintrc.js \"*/**/*.ts\" --max-warnings=0",
"lint:fix": "yarn lint --fix",
"type-check": "tsc --noEmit",
"serve": "rm -rf ./dist && yarn build && cd dist && node server.js",
"serve:dev": "ts-node-dev ./src/server.ts"
},
"devDependencies": {
"@types/express": "^4.17.11",
"@typescript-eslint/eslint-plugin": "^4.24.0",
"@typescript-eslint/parser": "^4.24.0",
"eslint": "^7.27.0",
"eslint-config-airbnb-typescript": "^12.3.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-import": "^2.23.3",
"eslint-plugin-jest": "^24.3.6",
"eslint-plugin-prettier": "^3.4.0",
"husky": "^6.0.0",
"lint-staged": "^11.0.0",
"prettier": "^2.3.0",
"ts-node-dev": "^1.1.6",
"tslint": "^6.1.3",
"typescript": "^4.2.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged && yarn type-check"
}
},
"lint-staged": {
"*.{js,jsx,ts,tsx}": [
"eslint -c ./.eslintrc.js \"*/**/*.{ts,tsx}\" --max-warnings=0"
],
"*.{json,html,md,css}": [
"prettier --write"
]
},
"dependencies": {
"express": "^4.17.1"
}
}