File tree Expand file tree Collapse file tree 2 files changed +29
-8
lines changed Expand file tree Collapse file tree 2 files changed +29
-8
lines changed Original file line number Diff line number Diff line change
1
+ sudo : false
1
2
language : node_js
3
+ cache :
4
+ directories :
5
+ - node_modules
6
+ notifications :
7
+ email : false
2
8
node_js :
3
- - " stable"
4
- - " 6"
5
- - " 4"
6
- - " 0.12"
9
+ - ' stable'
10
+ - ' 6'
11
+ - ' 4'
12
+ - iojs-v3
13
+ - iojs-v2
14
+ - iojs-v1
15
+ - ' 0.12'
16
+ before_install :
17
+ - npm i -g npm@^2.0.0
18
+ before_script :
19
+ - npm prune
7
20
after_success :
8
21
- bash <(curl -s https://codecov.io/bash)
22
+ - ' curl -Lo travis_after_all.py https://git.io/travis_after_all'
23
+ - python travis_after_all.py
24
+ - export $(cat .to_export_back) &> /dev/null
25
+ - npm run semantic-release
26
+ branches :
27
+ except :
28
+ - /^v\d+\.\d+\.\d+$/
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " attr-accept" ,
3
- "version" : " 1.0.3" ,
4
3
"description" : " JavaScript implementation of the \" accept\" attribute for HTML5 <input type=\" file\" >" ,
5
4
"main" : " dist/index.js" ,
6
5
"scripts" : {
9
8
"test" : " mocha --compilers js:babel/register --recursive" ,
10
9
"test:watch" : " npm test -- --watch" ,
11
10
"lint" : " eslint ./src" ,
12
- "check" : " npm run lint && npm test"
11
+ "check" : " npm run lint && npm test" ,
12
+ "semantic-release" : " semantic-release pre && npm publish && semantic-release post"
13
13
},
14
14
"repository" : {
15
15
"type" : " git" ,
16
- "url" : " git+ https://github.com/okonet/attr-accept.git"
16
+ "url" : " https://github.com/okonet/attr-accept.git"
17
17
},
18
18
"keywords" : [
19
19
" html5" ,
42
42
"eslint-plugin-react" : " ^3.3.1" ,
43
43
"expect" : " ^1.9.0" ,
44
44
"mocha" : " ^2.3.2" ,
45
- "webpack" : " 1.12.2"
45
+ "webpack" : " 1.12.2" ,
46
+ "semantic-release" : " ^4.3.5"
46
47
},
47
48
"engines" : {
48
49
"node" : " >=0.10"
You can’t perform that action at this time.
0 commit comments