Skip to content
This repository has been archived by the owner on Dec 15, 2018. It is now read-only.

Commit

Permalink
chore: setup semantic-release
Browse files Browse the repository at this point in the history
  • Loading branch information
boennemann committed Nov 16, 2016
1 parent 1d7cb9d commit 3475a67
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ node_js:
- '4'
- '6'
- '7'
before_install:
- npm update -g npm
before_script:
- npm prune
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,17 @@
{
"name": "travis-deploy-once",
"version": "1.0.0",
"version": "0.0.0-development",
"description": "run a deployment script only once in the test matrix",
"main": "index.js",
"scripts": {
"test": "standard && npm run build",
"build": "babel src.js > index.js",
"prepublish": "npm run build"
"prepublish": "npm run build",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/semantic-release/travis-deploy-once.git"
"url": "https://github.com/semantic-release/travis-deploy-once.git"
},
"keywords": [
"travis",
Expand All @@ -28,6 +29,7 @@
"babel-cli": "^6.18.0",
"babel-plugin-transform-async-to-generator": "^6.16.0",
"babel-preset-es2015-node4": "^2.1.0",
"semantic-release": "^6.3.1",
"standard": "^8.5.0"
},
"dependencies": {
Expand Down

0 comments on commit 3475a67

Please sign in to comment.