Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

set up semantic-release #1

Merged
merged 1 commit into from
Nov 27, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
language: node_js
cache:
directories:
- ~/.npm
notifications:
email: false
node_js:
- '9'
- '8'
after_success:
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "depnames",
"version": "1.0.0",
"version": "0.0.0-development",
"main": "index.js",
"license": "MIT",
"description": "Fetch a list of dependency names for a given npm package",
Expand All @@ -15,16 +15,18 @@
"mocha": "^4.0.1",
"nixt": "^0.5.0",
"standard": "^10.0.3",
"standard-markdown": "^4.0.2"
"standard-markdown": "^4.0.2",
"semantic-release": "^8.2.0"
},
"engines": {
"node": ">=8"
},
"scripts": {
"test": "mocha && standard --fix && standard-markdown"
"test": "mocha && standard --fix && standard-markdown",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"bin": {
"depnames": "cli.js"
},
"preferGlobal": true
}
}