Skip to content

Commit 79a8936

Browse files
authored
feat: add semantic-release (#23)
1 parent 9e2ea5c commit 79a8936

File tree

2 files changed

+18
-5
lines changed

2 files changed

+18
-5
lines changed

.travis.yml

+11-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
language: node_js
2+
cache:
3+
directories:
4+
- ~/.npm
5+
notifications:
6+
email: false
27
node_js:
3-
- "4"
4-
- "6"
8+
- '10'
9+
after_success:
10+
- npm run travis-deploy-once "npm run semantic-release"
11+
branches:
12+
except:
13+
- /^v\d+\.\d+\.\d+$/

package.json

+7-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
{
22
"name": "nice-package",
3-
"version": "3.0.4",
3+
"version": "0.0.0-development",
44
"description": "Clean up messy package metadata from the npm registry",
55
"main": "index.js",
66
"scripts": {
7-
"test": "mocha && standard && standard-markdown"
7+
"test": "mocha && standard && standard-markdown",
8+
"travis-deploy-once": "travis-deploy-once",
9+
"semantic-release": "semantic-release"
810
},
911
"repository": "https://github.com/zeke/nice-package",
1012
"keywords": [
@@ -24,7 +26,9 @@
2426
"mocha": "^3.2.0",
2527
"require-dir": "^0.3.0",
2628
"standard": "^7.1.2",
27-
"standard-markdown": "^1.2.1"
29+
"standard-markdown": "^1.2.1",
30+
"travis-deploy-once": "^5.0.11",
31+
"semantic-release": "^15.13.1"
2832
},
2933
"dependencies": {
3034
"github-url-to-object": "^4.0.4",

0 commit comments

Comments
 (0)