Skip to content

Commit 2fc5e54

Browse files
author
Alexandru Badiu
committed
feat(build): Added semantic-release
Added semantic-release to the build process.
1 parent f64b5b7 commit 2fc5e54

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

.travis.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
language: node_js
2+
cache:
3+
directories:
4+
- node_modules
5+
notifications:
6+
email: false
7+
node_js:
8+
- '7'
9+
- '6'
10+
- '4'
11+
before_script:
12+
- npm prune
13+
after_success:
14+
- npm run semantic-release
15+
branches:
16+
except:
17+
- /^v\d+\.\d+\.\d+$/

package.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "imagecache-sharp",
3+
"version": "0.0.0-development",
4+
"description": "",
5+
"main": "index.js",
6+
"scripts": {
7+
"test": "echo \"Error: no test specified\" && exit 1",
8+
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
9+
},
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/voidberg/imagecache-sharp.git"
13+
},
14+
"author": "",
15+
"license": "ISC",
16+
"bugs": {
17+
"url": "https://github.com/voidberg/imagecache-sharp/issues"
18+
},
19+
"homepage": "https://github.com/voidberg/imagecache-sharp#readme",
20+
"devDependencies": {
21+
"semantic-release": "^6.3.6"
22+
}
23+
}

0 commit comments

Comments
 (0)