File tree Expand file tree Collapse file tree 2 files changed +28
-8
lines changed Expand file tree Collapse file tree 2 files changed +28
-8
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
2
3
node_js :
3
- - 4
4
- script :
5
- - npm test
6
- sudo : false
4
+ - ' 4'
5
+ - ' 6'
6
+ cache :
7
+ directories :
8
+ - node_modules
7
9
notifications :
8
10
email : false
11
+ before_script :
12
+ - npm prune
13
+ after_success :
14
+ - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
15
+ - python travis_after_all.py
16
+ - export $(cat .to_export_back) &> /dev/null
17
+ - npm run semantic-release
18
+ branches :
19
+ except :
20
+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " eslint-plugin-springworks" ,
3
- "version" : " 2.0.0" ,
4
3
"description" : " Collection of ESLint rules" ,
5
4
"main" : " lib/index.js" ,
6
5
"scripts" : {
7
- "test" : " mocha --recursive --reporter dot tests"
6
+ "test" : " mocha --recursive --reporter dot tests" ,
7
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post" ,
8
+ "commit" : " commit-wizard"
8
9
},
9
10
"dependencies" : {
10
11
"requireindex" : " ~1.1.0"
11
12
},
12
13
"devDependencies" : {
13
14
"eslint" : " ^2.4.0" ,
14
- "mocha" : " ^2.4.5"
15
+ "mocha" : " ^2.4.5" ,
16
+ "pre-git" : " 3.8.3" ,
17
+ "semantic-release" : " ^4.3.5"
18
+ },
19
+ "config" : {
20
+ "pre-git" : {
21
+ "commit-msg" : " conventional"
22
+ }
15
23
},
16
24
"engines" : {
17
25
"node" : " >=4"
25
33
"author" : " Springworks" ,
26
34
"repository" : {
27
35
"type" : " git" ,
28
- "url" : " git+ https://github.com/Springworks/eslint-plugin-springworks.git"
36
+ "url" : " https://github.com/Springworks/eslint-plugin-springworks.git"
29
37
},
30
38
"bugs" : {
31
39
"url" : " https://github.com/Springworks/eslint-plugin-springworks/issues"
You can’t perform that action at this time.
0 commit comments