Skip to content

Commit a81b490

Browse files
committed
Add autochangelog and gh-release
1 parent 3a5c142 commit a81b490

File tree

2 files changed

+10
-3
lines changed

2 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
All notable changes to this project will be documented in this file.
33
This project adheres to [Semantic Versioning](http://semver.org/).
44

5+
## 2.0.2 - 2018-12-13
6+
* Update nanobus dependency to 4.4.0.
7+
58
## 2.0.1 - 2018-10-29
69
* Bump nanobus to ^4.3.5 due to failing builds on 4.3.4
710

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,11 @@
1818
},
1919
"devDependencies": {
2020
"@tap-format/spec": "^0.2.0",
21+
"auto-changelog": "^1.10.2",
2122
"budo": "^11.2.0",
2223
"cpx": "^1.5.0",
2324
"dependency-check": "^3.1.0",
25+
"gh-release": "^3.4.0",
2426
"global": "^4.3.2",
2527
"lodash.get": "^4.4.2",
2628
"mkdirp": "^0.5.1",
@@ -54,12 +56,14 @@
5456
"build:dist": "rimraf dist && mkdirp dist && browserify index.js --no-bundle-external --standalone naclBlob -o dist/index.js",
5557
"build:site": "rimraf build && mkdirp build && cpx 'example-site/static/*' build && browserify example-site/index.js -o build/bundle.js",
5658
"prepare": "run-s build:dist",
59+
"prepublishOnly": "git push && git push --tags && gh-release",
60+
"start": "budo example-site/index.js:bundle.js --dir example-site/static --live --open",
5761
"test": "run-s test:*",
62+
"test-ie": "browserify test.js | tape-run --browser ie | tap-format-spec",
63+
"test-live": "budo test.js --live --open",
5864
"test:browser": "browserify test.js | tape-run | tap-format-spec",
5965
"test:deps": "dependency-check package.json --missing --unused --entry index.js --no-dev --ignore-module workerify",
6066
"test:lint": "standard",
61-
"test-ie": "browserify test.js | tape-run --browser ie | tap-format-spec",
62-
"test-live": "budo test.js --live --open",
63-
"start": "budo example-site/index.js:bundle.js --dir example-site/static --live --open"
67+
"version": "auto-changelog -p --template keepachangelog auto-changelog --breaking-pattern 'BREAKING CHANGE:' && git add CHANGELOG.md"
6468
}
6569
}

0 commit comments

Comments
 (0)