-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
51 lines (51 loc) · 1.19 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
{
"name": "ts-boilderplate",
"version": "1.0.0",
"description": "boilderplate for typescript",
"keywords": [
"typescript",
"boilderplate"
],
"author": "Robin Mayfield <robin@degu.io>",
"license": "MIT",
"type": "module",
"devDependencies": {
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.11.16",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/ui": "latest",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^9.0.10",
"lint-staged": "^15.2.2",
"msw": "^2.1.7",
"prettier": "3.2.5",
"ts-node": "^10.9.2",
"typescript": "^5.3.3",
"vitest": "latest"
},
"scripts": {
"build": "tsc",
"format": "prettier --write .",
"format:ci": "prettier --check .",
"lint": "eslint --fix .",
"lint:ci": "eslint --check .",
"prepare": "husky",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"type-check": "tsc --noEmit"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"src/**/*.{ts,tsx}": [
"eslint --fix .",
"prettier . --write --ignore-unknown"
]
}
}