File tree Expand file tree Collapse file tree 2 files changed +1132
-31
lines changed
Expand file tree Collapse file tree 2 files changed +1132
-31
lines changed Original file line number Diff line number Diff line change 1717 "bugs" : {
1818 "url" : " https://github.com/mpgp/mpgp.github.io/issues"
1919 },
20+ "commitlint" : {
21+ "extends" : [
22+ " ./node_modules/@commitlint/config-conventional"
23+ ],
24+ "rules" : {
25+ "scope-enum" : [
26+ 2 ,
27+ " always" ,
28+ [
29+ " core" ,
30+ " shared" ,
31+ " docs" ,
32+ " spec"
33+ ]
34+ ],
35+ "type-enum" : [
36+ 2 ,
37+ " always" ,
38+ [
39+ " build" ,
40+ " chore" ,
41+ " ci" ,
42+ " docs" ,
43+ " feat" ,
44+ " fix" ,
45+ " perf" ,
46+ " refactor" ,
47+ " revert" ,
48+ " style" ,
49+ " test"
50+ ]
51+ ]
52+ }
53+ },
2054 "lint-staged" : {
2155 "*.ts" : [
2256 " ng lint spec" ,
2761 "scripts" : {
2862 "build" : " npm run clean && ng build --prod" ,
2963 "clean" : " rm -rf ./dist" ,
64+ "commitmsg" : " commitlint -E GIT_PARAMS" ,
3065 "lint" : " ng lint" ,
3166 "ng" : " ng" ,
3267 "precommit" : " lint-staged" ,
5893 "@angular/cli" : " 6.0.8" ,
5994 "@angular/compiler-cli" : " 6.0.4" ,
6095 "@angular/language-service" : " 6.0.4" ,
96+ "@commitlint/cli" : " ^7.0.0" ,
97+ "@commitlint/config-conventional" : " ^7.0.1" ,
98+ "@commitlint/config-lerna-scopes" : " ^7.0.0" ,
6199 "@types/jasmine" : " 2.8.8" ,
62100 "@types/jasminewd2" : " 2.0.3" ,
63101 "@types/node" : " 10.1.4" ,
64102 "codelyzer" : " 4.3.0" ,
65- "husky" : " 0.14.3" ,
103+ "husky" : " ^ 0.14.3" ,
66104 "jasmine-core" : " 3.1.0" ,
67105 "jasmine-spec-reporter" : " 4.2.1" ,
68106 "karma" : " 2.0.2" ,
You can’t perform that action at this time.
0 commit comments