File tree Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Expand file tree Collapse file tree 3 files changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,9 @@ before_install:
11
11
- npm i -g npm@^2.0.0
12
12
before_script :
13
13
- npm prune
14
+ script :
15
+ - commitlint-travis
16
+ - npm test
14
17
after_success :
15
18
- npm run semantic-release
16
19
branches :
Original file line number Diff line number Diff line change
1
+ module . exports = { extends : [ '@commitlint/config-conventional' ] } ;
Original file line number Diff line number Diff line change 10
10
"url" : " https://github.com/LLK/scratch-parser.git"
11
11
},
12
12
"scripts" : {
13
+ "commitmsg" : " commitlint -e $GIT_PARAMS" ,
13
14
"test:lint" : " eslint . --ext=js" ,
14
15
"test:unit" : " tap test/unit/*.js" ,
15
16
"test:integration" : " tap test/integration/*.js" ,
25
26
"gzip-js" : " 0.3.2"
26
27
},
27
28
"devDependencies" : {
29
+ "@commitlint/cli" : " 6.1.0" ,
30
+ "@commitlint/config-conventional" : " 6.1.0" ,
31
+ "@commitlint/travis-cli" : " 6.1.0" ,
28
32
"babel-eslint" : " 8.2.2" ,
29
33
"benchmark" : " ^2.1.1" ,
30
34
"cz-conventional-changelog" : " ^2.1.0" ,
31
35
"eslint" : " ^4.19.1" ,
32
36
"eslint-config-scratch" : " 5.0.0" ,
33
37
"glob" : " ^7.0.6" ,
38
+ "husky" : " 0.14.3" ,
34
39
"semantic-release" : " ^15.1.4" ,
35
40
"tap" : " ^11.1.3"
36
41
},
You can’t perform that action at this time.
0 commit comments