package.json
1.79 KB
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
61
62
{
"name": "@zb100/${projectName}",
"version": "1.0.0",
"description": "${description}",
"dependencies": {},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@typescript-eslint/eslint-plugin": "^2.11.0",
"@typescript-eslint/parser": "^2.11.0",
"commitizen": "^4.0.3",
"cz-conventional-changelog": "^3.0.2",
"eslint": "^6.7.2",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.19.1",
"fsevents": "1.2.9",
"gulp": "^4.0.2",
"gulp-less": "^4.0.1",
"gulp-rename": "^2.0.0",
"gulp-typescript": "^6.0.0-alpha.1",
"husky": "^3.1.0",
"lint-staged": "^9.5.0",
"miniprogram-api-typings": "^2.9.3",
"standard-version": "^7.0.1",
"typescript": "^3.7.3"
},
"scripts": {
"dev": "gulp",
"commit": "npx git-cz",
"release": "standard-version",
"lint-staged": "lint-staged",
"lint-staged:js": "eslint --ext .ts --max-warnings 0"
},
"repository": {
"type": "git",
"url": "ssh://git@gitlab.zb100.com:10022/mui/${repo}.git"
},
"author": "${author}",
"license": "ISC",
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"husky": {
"hooks": {
"pre-commit": "npm run lint-staged"
}
},
"publishConfig": {
"registry": "https://npm.registry.zb100.com"
},
"lint-staged": {
"**/*.{ts}": "npm run lint-staged:js"
},
"standard-version": {
"commitUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/commit/{{hash}}",
"compareUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
"issueUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/issues/{{id}}",
"userUrlFormat": "https://gitlab.zb100.com/{{user}}"
}
}