-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
44 lines (44 loc) · 1.1 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
{
"name": "simple-design-patterns",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"compile": "tsc --noEmit",
"compile:watch": "npm run compile -- --watch",
"compile:build": "tsc -b",
"lint": "eslint . --ext .ts,.tsx",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --config .prettierrc '**/*.+(ts|tsx)'",
"format:fix": "npm run format -- --write",
"check-updates": "ncu -u"
},
"author": "Eric",
"license": "GPT-3.0",
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.46.0",
"@typescript-eslint/parser": "^5.46.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-watch": "^8.0.0",
"husky": "^8.0.2",
"lint-staged": "^13.1.0",
"npm-check-updates": "^16.5.1",
"prettier": "^2.8.1",
"typescript": "^4.9.4"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "npm run test"
}
},
"lint-staged": {
"*.+(ts|tsx)": [
"npm run lint:fix",
"npm run compile",
"git add . "
]
}
}