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:
44 - 6
55 - 5
66 - 4
7+ before_install :
8+ - npm config set depth 0
9+ - npm install --global npm@latest
710notifications :
811 email : false
912sudo : 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 2020 "eslint-config-canonical" : " ^5.5.0" ,
2121 "gitdown" : " ^2.4.0" ,
2222 "globby" : " ^4.0.0" ,
23- "mocha" : " ^2.5.3"
23+ "mocha" : " ^2.5.3" ,
24+ "semantic-release" : " ^6.3.2"
2425 },
2526 "keywords" : [
2627 " eslint" ,
4243 "build" : " NODE_ENV=production babel ./src --out-dir ./dist --copy-files --source-maps" ,
4344 "generate-readme" : " gitdown ./.README/README.md --output-file ./README.md && npm run add-assertions" ,
4445 "lint" : " eslint ./src ./test" ,
45- "test" : " mocha --compilers js:babel-register && npm run lint "
46+ "test" : " mocha --compilers js:babel-register"
4647 },
4748 "version" : " 2.4.0"
4849}
You can’t perform that action at this time.
0 commit comments