File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,15 @@ node_js:
4
4
- 6
5
5
- 5
6
6
- 4
7
+ before_install :
8
+ - npm config set depth 0
9
+ - npm install --global npm@latest
7
10
notifications :
8
11
email : false
9
12
sudo : false
13
+ script :
14
+ - npm run test
15
+ - npm run lint
16
+ - npm run build
17
+ after_success :
18
+ - rm -fr ./dist && npm run build && semantic-release pre && npm publish && semantic-release post
Original file line number Diff line number Diff line change 20
20
"eslint-config-canonical" : " ^5.5.0" ,
21
21
"gitdown" : " ^2.4.0" ,
22
22
"globby" : " ^4.0.0" ,
23
- "mocha" : " ^2.5.3"
23
+ "mocha" : " ^2.5.3" ,
24
+ "semantic-release" : " ^6.3.2"
24
25
},
25
26
"keywords" : [
26
27
" eslint" ,
42
43
"build" : " NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps" ,
43
44
"generate-readme" : " gitdown ./.README/README.md --output-file ./README.md && npm run add-assertions" ,
44
45
"lint" : " eslint ./src ./test" ,
45
- "test" : " mocha --compilers js:babel-register && npm run lint "
46
+ "test" : " mocha --compilers js:babel-register"
46
47
},
47
48
"version" : " 2.4.0"
48
49
}
You can’t perform that action at this time.
0 commit comments