Skip to content

Commit

Permalink
chore: setup semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Nov 3, 2015
1 parent 0a20a3c commit dea9f8c
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 13 deletions.
19 changes: 14 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,18 @@
language: node_js
node_js:
- '0.10'
notifications:
email: false
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- 4
before_install:
- npm i -g npm@^2.0.0
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- "/^v\\d+\\.\\d+\\.\\d+$/"
26 changes: 18 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,31 @@
{
"name": "hoodie-plugin-users",
"version": "2.2.2",
"description": "Hoodie plugin for handling user accounts and dbs",
"repository": {
"type": "git",
"url": "https://github.com/hoodiehq/hoodie-plugin-users.git"
},
"dependencies": {
"async": "^1.5.0",
"bs58": "^3.0.0",
"lodash": "^3.10.1",
"simplesmtp": "^0.3.32"
},
"scripts": {
"test": "standard"
},
"devDependencies": {
"semantic-release": "^4.3.5",
"standard": "^5.3.1"
},
"publishConfig": {
"tag": "next"
},
"release": {
"branch": "next",
"fallbackTags": {
"next": "latest"
}
},
"repository": {
"type": "git",
"url": "https://github.com/hoodiehq/hoodie-plugin-users.git"
},
"scripts": {
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"test": "standard"
}
}

0 comments on commit dea9f8c

Please sign in to comment.