Skip to content

Commit 70a4b0d

Browse files
authored
feat: add semantic-release (#9)
1 parent 97c1abe commit 70a4b0d

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

.travis.yml

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

package.json

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
{
22
"name": "get-svg-colors",
3-
"version": "1.4.0",
3+
"version": "0.0.0-development",
44
"description": "Extract stroke and fill colors from SVG files",
55
"repository": "github:zeke/get-svg-colors",
66
"main": "index.js",
77
"scripts": {
8-
"test": "mocha"
8+
"test": "mocha",
9+
"travis-deploy-once": "travis-deploy-once",
10+
"semantic-release": "semantic-release"
911
},
1012
"author": "",
1113
"license": "ISC",
@@ -17,6 +19,8 @@
1719
"lodash.uniq": "^4.5.0"
1820
},
1921
"devDependencies": {
20-
"mocha": "^5.2.0"
22+
"mocha": "^5.2.0",
23+
"travis-deploy-once": "^5.0.9",
24+
"semantic-release": "^15.10.5"
2125
}
2226
}

0 commit comments

Comments
 (0)