-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
44 lines (44 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
{
"name": "yu-Flux",
"private": "true",
"version": "0.0.1",
"description": "",
"main": "index.js",
"scripts": {
"dev":"node src/index.js",
"test": "node test/index.js",
"lint": "eslint \"src/*.{js,ts,cjs,json}\" --fix",
"format": "prettier --write \"src/*.{ts,js,cjs,mjs,json}\"",
"typecheck": "tsc --noEmit",
"lint:ci": "eslint \"src/*.{js,ts}\"",
"format:ci": "prettier --list-different \"src/*.{ts,js,cjs,mjs,json}\""
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@types/node": "^20.14.1",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
"colors": "^1.4.0",
"eslint": "8.55.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-import": "^2.29.1",
"lint-staged": "^15.2.5",
"prettier": "3.1.0",
"simple-git-hooks": "^2.11.1",
"typescript": "^5.4.5"
},
"simple-git-hooks": {
"pre-commit": "pnpm lint-staged && node scripts/commitVerify.js",
"pre-push": "pnpm format",
"commit-msg": "node scripts/commitVerify.js",
"preserveUnused": true
},
"lint-staged": {
"*.{js,ts,cjs}": [
"pnpm lint",
"pnpm format"
]
}
}