-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
52 lines (52 loc) · 1.36 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
{
"name": "docker_node_webapp",
"version": "1.0.0",
"private": true,
"description": "node勉強用プロジェクト",
"author": "Takumi Ito",
"main": "server.js",
"scripts": {
"dev:run": "ts-node src/server.ts",
"dev:watch": "ts-node-dev --respawn src/server.ts",
"lint": "npm-run-all eslint check-types",
"lint:fix": "npm-run-all eslint:fix check-types format",
"tsc": "tsc",
"check-types": "tsc --noEmit",
"format": "prettier --write 'src/**/*.{js,ts,json}'",
"eslint": "eslint src/**/*.ts",
"eslint:fix": "eslint src/**/*.ts --fix",
"tsc:clean": "rimraf dist/*",
"docker:build": "tsc --outDir ."
},
"dependencies": {
"@types/express": "^4.17.11",
"express": "^4.17.1",
"typescript": "^4.1.3"
},
"devDependencies": {
"@types/node": "^14.14.24",
"@typescript-eslint/eslint-plugin": "^4.14.2",
"@typescript-eslint/parser": "^4.14.2",
"eslint": "^7.19.0",
"eslint-config-prettier": "7.2.0",
"husky": "^4.3.8",
"lint-staged": "^10.5.3",
"npm-run-all": "^4.1.5",
"prettier": "2.2.1",
"rimraf": "^3.0.2",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix",
"tsc --noEmit"
],
"*.{js,ts,json}": "prettier --write"
}
}