-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathpackage.json
60 lines (60 loc) · 1.53 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
53
54
55
56
57
58
59
60
{
"private": true,
"scripts": {
"prepare": "husky install",
"bootstrap": "lerna bootstrap",
"dev": "lerna run dev --parallel",
"build": "lerna run build",
"test": "jest",
"test:watch": "jest --watch",
"test:cov": "jest --coverage",
"new": "node scripts/create/bin",
"lint": "eslint 'packages/*/src/**.{js,ts,tsx}'",
"format": "npm run lint -- --fix && prettier --write 'packages/*/src/**.{js,ts,tsx}'"
},
"author": "senze.fan <[email protected]>",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "17.0.3",
"@commitlint/config-conventional": "17.0.3",
"@types/jest": "28.1.6",
"@types/lodash": "^4.14.159",
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"chalk": "^4.1.0",
"commitlint": "17.0.3",
"eslint": "^7.7.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.4",
"fs-extra": "^9.0.1",
"glob": "^7.1.6",
"husky": "8.0.1",
"inquirer": "^7.3.3",
"jest": "28.1.3",
"lerna": "5.4.0",
"lint-staged": "13.0.3",
"lodash": "^4.17.20",
"prettier": "2.7.1",
"ts-jest": "^28.0.7",
"typescript": "4.7.4"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"lint-staged": {
"*.{js,ts,tsx}": [
"eslint",
"prettier --write",
"git add"
]
},
"husky": {
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
"pre-commit": "lint-staged"
}
}
}