-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
53 lines (53 loc) · 1.46 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
{
"name": "shuoshubao",
"version": "1.0.0",
"private": true,
"description": "技术项目合集",
"repository": {
"url": "https://github.com/shuoshubao/nbfe",
"type": "git"
},
"license": "ISC",
"scripts": {
"prepare": "husky install",
"commit": "npx git-cz",
"version:patch": "npx lerna version patch --conventional-commits",
"version:minor": "npx lerna version minor --conventional-commits",
"version:major": "npx lerna version major --conventional-commits",
"release": "npx lerna publish from-package",
"prettier": "npx prettier --write",
"lint": "npx eslint --ext .ts,.tsx,.js,.jsx,.vue -f html -o ESLintReport.html",
"eslint": "npm run lint -- packages",
"eslint:fix": "npm run lint -- --fix packages",
"lint:style": "npx stylelint --fix -o StyleLintReport.html --custom-formatter node_modules/stylelint-formatters-html **/*.{css,less,scss,sass}"
},
"dependencies": {
"@nbfe/standard": "^1.1.6",
"lerna": "^6.4.1",
"typescript": "^3.6.3"
},
"lint-staged": {
"*.{ts,tsx,js,jsx,vue,css,less,scss,sass,json,md}": [
"prettier --write",
"git add"
],
"*.{css,less,scss,sass}": [
"npx stylelint --fix",
"git add"
],
"*.{ts,tsx,js,jsx,vue}": [
"eslint -f table",
"git add"
]
},
"config": {
"commitizen": {
"path": "cz-conventional-changelog"
}
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
}
}