Skip to content

Commit

Permalink
chore(package): Added semantic-release support.
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonmoeller committed Aug 29, 2016
1 parent 0771a88 commit 82dd572
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 9 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
sudo: false
language: node_js
node_js:
- '6'
- '5'
- '4'
- '0.12'
cache:
directories:
- node_modules
notifications:
email: false
before_script:
- npm prune
after_success:
- npm run coveralls
- npm run release
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"name": "deduce",
"version": "0.2.0",
"description": "Composable state containers.",
"license": "MIT",
"repository": "shannonmoeller/deduce",
"repository": {
"type": "git",
"url": "https://github.com/shannonmoeller/deduce.git"
},
"homepage": "https://github.com/shannonmoeller/deduce#readme",
"author": {
"name": "Shannon Moeller",
Expand All @@ -26,12 +28,14 @@
"coveralls": "^2.11.12",
"nyc": "^8.1.0",
"rimraf": "^2.5.4",
"semantic-release": "^4.3.5",
"xo": "^0.16.0"
},
"scripts": {
"coveralls": "nyc report -r text-lcov | coveralls",
"prepublish": "rimraf lib && babel src --out-dir lib",
"pretest": "xo '*.js' '{src,test}/**/*.js'",
"release": "semantic-release pre && npm publish && semantic-release post",
"test": "nyc -r lcov -r text ava -v",
"watch": "chokidar '{src,test}/**/*.js' -c 'npm test'"
},
Expand Down

0 comments on commit 82dd572

Please sign in to comment.