Skip to content
This repository was archived by the owner on Jan 9, 2020. It is now read-only.

Commit a95f186

Browse files
authored
Merge pull request #301 from Kronos-Integration/template-sync-1
merge package template from arlac77/npm-package-template
2 parents e72b5a2 + 18d6bc0 commit a95f186

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ before_script:
2121
- npm install -g --production coveralls codecov
2222
script:
2323
- npm run cover
24+
- npm run lint
25+
- npm run docs
2426
after_script:
2527
- codecov
2628
- cat ./build/coverage/lcov.info | coveralls

package.json

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"pretest": "rollup -c tests/rollup.config.js",
1515
"posttest": "npm run prepare && markdown-doctest",
1616
"prepare": "rollup -c",
17-
"docs": "jsdoc2md --configure doc/jsdoc.json -l off -t doc/README.hbs -f src/*.js >README.md"
17+
"docs": "documentation readme src/step.js --section=API",
18+
"lint": "documentation lint src/step.js"
1819
},
1920
"repository": {
2021
"type": "git",
@@ -30,15 +31,13 @@
3031
},
3132
"devDependencies": {
3233
"ava": "^0.24.0",
33-
"babel-preset-env": "^1.6.1",
34-
"jsdoc-babel": "^0.3.0",
35-
"jsdoc-to-markdown": "^3.0.2",
3634
"markdown-doctest": "^0.9.1",
3735
"nyc": "^11.4.1",
3836
"rollup": "^0.53.0",
3937
"rollup-plugin-multi-entry": "^2.0.2",
40-
"semantic-release": "^11.0.2",
41-
"xo": "^0.19.0"
38+
"semantic-release": "^11.1.0",
39+
"xo": "^0.19.0",
40+
"documentation": "^5.3.5"
4241
},
4342
"contributors": [
4443
{

0 commit comments

Comments
 (0)