Skip to content

Commit

Permalink
Merge pull request #417 from Kronos-Integration/template-sync-1
Browse files Browse the repository at this point in the history
merge package from arlac77/npm-package-template
  • Loading branch information
arlac77 committed Dec 29, 2018
2 parents 9ea0b9a + 9c4207f commit a9c0c87
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 14 deletions.
30 changes: 20 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,25 @@ notifications:
email:
- torstenlink@gmx.de
- markus.felten@gmx.de
before_script:
- npm prune
- npm install -g --production coveralls codecov
script:
- npm run cover
- npm run lint
- npm run docs
after_script:
- codecov
- cat ./coverage/lcov.info | coveralls
after_success:
- npm run travis-deploy-once "npm run semantic-release"
jobs:
include:
- stage: docs
node_js: lts/*
skip_cleanup: 'true'
script:
- npm install -g --production coveralls codecov
- npm run cover
- codecov
- cat ./coverage/lcov.info | coveralls
- npm run lint
- npm run docs
- stage: release
node_js: lts/*
script: skip
deploy:
provider: script
skip_cleanup: 'true'
script:
- npx semantic-release
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,10 @@
"scripts": {
"cover": "c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage",
"test": "ava",
"semantic-release": "semantic-release",
"docs": "documentation readme src/service-uti.js --section=API",
"posttest": "npm run prepare && markdown-doctest",
"prepare": "rollup -c",
"lint": "documentation lint src/service-uti.js",
"travis-deploy-once": "travis-deploy-once"
"lint": "documentation lint src/service-uti.js"
},
"dependencies": {
"kronos-service": "^4.15.0",
Expand All @@ -43,7 +41,6 @@
"rollup": "^1.0.0",
"ava": "^1.0.1",
"documentation": "^9.1.1",
"travis-deploy-once": "^5.0.11",
"rollup-plugin-node-resolve": "^3.4.0",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-executable": "^1.3.0",
Expand Down

0 comments on commit a9c0c87

Please sign in to comment.