-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.52 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
{
"name": "typescript-express-starter",
"version": "1.0.0",
"description": "",
"main": "build/server.js",
"keywords": [
"typescript",
"express"
],
"author": "José Barata",
"license": "MIT",
"scripts": {
"dev": "nodemon --exec node_modules/.bin/ts-node src/server.ts",
"prod": "npm run build && node ./build/server.js",
"build": "rm -rf build && tsc -p .",
"lint": "eslint . --ext .ts,.js && echo All files pass linting.",
"prettier:verify": "prettier --config --check ./.prettierrc \"**/*{.ts,.json,.js}\"",
"prettier:fix": "prettier --config --write ./.prettierrc \"**/*{.ts,.json,.js}\""
},
"husky": {
"hooks": {
"pre-commit": "git update-index --refresh && npm run prettier:verify && npm run lint"
}
},
"dependencies": {
"axios": "^0.21.1",
"cors": "^2.8.5",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"helmet": "^4.4.1"
},
"devDependencies": {
"@types/cors": "^2.8.9",
"@types/dotenv": "^8.2.0",
"@types/express": "^4.17.11",
"@types/helmet": "^4.0.0",
"@types/node": "^14.14.27",
"@typescript-eslint/eslint-plugin": "^4.15.0",
"@typescript-eslint/parser": "^4.15.0",
"eslint": "^7.20.0",
"husky": "^5.0.9",
"nodemon": "^2.0.7",
"prettier": "^2.2.1",
"prettier-plugin-organize-imports": "^1.1.1",
"ts-node": "^9.1.1",
"typescript": "^4.1.5"
}
}