feat: setup semantic release

pull/25/head v4.2.0
Johannes J. Schmidt 9 years ago
parent 725d8de788
commit 536f16675f

@ -1,4 +1,20 @@
sudo: false
language: node_js language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js: node_js:
- "0.11" - 4
- "0.10" - iojs-v3
- iojs-v2
- iojs-v1
- '0.12'
- '0.10'
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release

@ -1,14 +1,14 @@
{ {
"name": "docuri", "name": "docuri",
"version": "4.1.1",
"description": "Rich document ids for CouchDB", "description": "Rich document ids for CouchDB",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {
"test": "tap test/*.js" "test": "tap test/*.js",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "git://github.com/jo/docuri.git" "url": "https://github.com/jo/docuri.git"
}, },
"keywords": [ "keywords": [
"couchdb" "couchdb"
@ -21,6 +21,7 @@
"homepage": "https://github.com/jo/docuri", "homepage": "https://github.com/jo/docuri",
"devDependencies": { "devDependencies": {
"shuffle-array": "^0.1.0", "shuffle-array": "^0.1.0",
"tap": "^0.4.8" "tap": "^0.4.8",
"semantic-release": "^4.3.5"
} }
} }

Loading…
Cancel
Save