File tree Expand file tree Collapse file tree 3 files changed +56
-5
lines changed Expand file tree Collapse file tree 3 files changed +56
-5
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
2
+ language : node_js
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
8
+ node_js :
9
+ - ' 4'
10
+ - ' 0.12'
11
+ - ' 0.10'
12
+ before_install :
13
+ - npm i -g npm@^2.0.0
14
+ before_script :
15
+ - npm prune
16
+ - ' curl -Lo travis_after_all.py https://git.io/vLSON'
17
+ script :
18
+ - npm run test
19
+ after_success :
20
+ - python travis_after_all.py
21
+ - export $(cat .to_export_back)
22
+ - npm run semantic-release
23
+ branches :
24
+ except :
25
+ - " /^v\\ d+\\ .\\ d+\\ .\\ d+$/"
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " commitizen" ,
3
- "version" : " 2 .0.2 " ,
3
+ "version" : " 0 .0.0-semantically-released " ,
4
4
"description" : " Git commit, but play nice with conventions." ,
5
- "main" : " index.js" ,
5
+ "main" : " src/ index.js" ,
6
6
"scripts" : {
7
7
"start" : " npm run test:watch" ,
8
8
"test" : " mocha test/tests/index.js --compilers js:babel/register" ,
9
- "test:watch" : " nodemon -q --exec \" $(npm bin)/mocha test/tests/index.js --watch --compilers js:babel/register\" --"
9
+ "test:watch" : " nodemon -q --exec \" $(npm bin)/mocha test/tests/index.js --watch --compilers js:babel/register\" --" ,
10
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
11
+ "commit" : " git-cz"
10
12
},
11
13
"czConfig" : {
12
14
"path" : " ./node_modules/cz-conventional-changelog"
16
18
"type" : " git" ,
17
19
"url" : " https://github.com/commitizen/cz-cli.git"
18
20
},
21
+ "keywords" : [
22
+ " commit" ,
23
+ " pretty" ,
24
+ " format" ,
25
+ " conventional changelog" ,
26
+ " commitizen"
27
+ ],
28
+ "bugs" : {
29
+ "url" : " https://github.com/commitizen/cz-cli/issues"
30
+ },
19
31
"bin" : {
20
32
"git-cz" : " ./bin/git-cz" ,
21
33
"commitizen" : " ./bin/commitizen"
22
34
},
23
- "author" :
" Jim Cummins <[email protected] >" ,
35
+ "author" :
" Jim Cummins <[email protected] > (https://github.com/jimthedev) " ,
24
36
"license" : " MIT" ,
25
37
"devDependencies" : {
26
38
"chai" : " 3.3.0" ,
27
39
"lodash" : " 3.10.1" ,
28
- "mocha" : " 2.3.3"
40
+ "mocha" : " 2.3.3" ,
41
+ "semantic-release" : " ^4.3.5"
29
42
},
30
43
"dependencies" : {
31
44
"babel" : " 5.8.23" ,
Original file line number Diff line number Diff line change
1
+ function all ( ) {
2
+ console . log ( 'all' ) ;
3
+ }
4
+
5
+ function random ( ) {
6
+ console . log ( 'random' ) ;
7
+ }
8
+
9
+
10
+ module . exports = {
11
+ all :all ,
12
+ random :random
13
+ } ;
You can’t perform that action at this time.
0 commit comments