Skip to content

Commit c64fe04

Browse files
committed
Add @studio/changes
1 parent 834e1ed commit c64fe04

File tree

2 files changed

+88
-1
lines changed

2 files changed

+88
-1
lines changed

package-lock.json

Lines changed: 83 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@
1111
"coverage": "nyc --reporter=lcov --reporter=text --reporter=json-summary npm test",
1212
"prepublishOnly": "jsdoc2md --template ./docs/template.hbs --files ./src/*.js > ./docs/docs.md",
1313
"lint": "eslint src/ test/",
14-
"test": "mocha"
14+
"test": "mocha",
15+
"preversion": "npm test",
16+
"version": "changes --commits --footer",
17+
"postversion": "git push --follow-tags && npm publish --access public"
1518
},
1619
"repository": {
1720
"type": "git",
@@ -31,6 +34,7 @@
3134
},
3235
"license": "MIT",
3336
"devDependencies": {
37+
"@studio/changes": "^2.0.0",
3438
"eslint": "4.19.1",
3539
"jsdoc-to-markdown": "^4.0.1",
3640
"mocha": "5.1.1",

0 commit comments

Comments
 (0)