-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
60 lines (60 loc) · 1.68 KB
/
Copy pathpackage.json
File metadata and controls
60 lines (60 loc) · 1.68 KB
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
60
{
"name": "test-server",
"version": "1.0.0",
"description": "ただのテスト用サーバー",
"main": "public/index.js",
"scripts": {
"dev": "ts-node src/index.ts",
"dev:watch": "ts-node-dev --respawn src/index.ts",
"clean": "rimraf dist/",
"tsc": "tsc",
"build": "npm-run-all clean tsc",
"start": "node .",
"check-types": "tsc --noEmit",
"eslint": "eslint src/**/*.ts",
"eslint:fix": "eslint src/**/*.ts --fix",
"format": "prettier --write 'src/**/*.{js,ts,json}'",
"lint": "npm-run-all eslint check-types",
"lint:fix": "npm-run-all eslint:fix check-types format",
"prepare": "husky install",
"build:webpack": "npm-run-all clean tsc && webpack"
},
"keywords": [],
"author": "Yuya Aizu <gaku.kuro3298@gmail.com>",
"license": "Apache-2.0",
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.15.0",
"@stylistic/eslint-plugin": "^2.11.0",
"@types/node": "^22.9.3",
"@types/ping": "^0.4.4",
"@typescript-eslint/eslint-plugin": "^8.15.0",
"@typescript-eslint/parser": "^8.15.0",
"eslint": "^9.15.0",
"eslint-config-prettier": "9.1.0",
"globals": "^15.12.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.11",
"npm-run-all": "^4.1.5",
"prettier": "3.3.3",
"rimraf": "^5.0.10",
"ts-node": "^10.9.2",
"ts-node-dev": "^2.0.0",
"typescript": "^5.7.2",
"webpack": "^5.97.1",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.1.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"eslint --cache --fix",
"bash -c tsc --noEmit"
],
"*.{ts,json}": "prettier --write"
}
}