Skip to content

Commit

Permalink
[#256] Add sematic-release to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
thedaviddias committed Aug 23, 2018
1 parent 22174ac commit 4771549
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.14.3
v8.11.3
27 changes: 17 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,29 @@
language: node_js
sudo: false
node_js:
- "6.14.1"
cache:
directories:
- node_modules
install:
- npm install
- npm install -g codecov
- ~/.npm
notifications:
email:
recipients:
- thedaviddias@gmail.com
node_js:
- '10'
- '9'
- '8'
- '6'
install:
- npm install
- npm install -g codecov
script:
- "grunt"
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter test -- -R spec
- codecov
after_success:
- npm run travis-deploy-once "npm run semantic-release"
branches:
only:
- master
- /^greenkeeper/.*$/
script:
- "grunt"
- istanbul cover ./node_modules/mocha/bin/_mocha --reporter lcovonly -- -R spec
- codecov
except:
- /^v\d+\.\d+\.\d+$/
20 changes: 12 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "htmlhint",
"version": "0.9.14",
"description": "A Static Code Analysis Tool for HTML",
"version": "0.0.0-development",
"description": "The Static Code Analysis Tool for your HTML",
"main": "./index",
"dependencies": {
"async": "1.5.2",
Expand Down Expand Up @@ -29,24 +29,28 @@
"grunt-replace": "0.4.0",
"istanbul": "0.4.3",
"istanbul-coveralls": "1.0.3",
"mocha": "2.4.5"
"mocha": "2.4.5",
"semantic-release": "^15.9.9"
},
"bin": {
"htmlhint": "./bin/htmlhint"
},
"repository": {
"type": "git",
"url": "git://github.com/thedaviddias/HTMLHint.git"
"url": "https://github.com/thedaviddias/HTMLHint.git"
},
"bugs": {
"url": "https://github.com/thedaviddias/HTMLHint/issues"
},
"keywords": [
"html",
"hint",
"Analysis",
"Javascript"
"analysis",
"javascript"
],
"author": "Yanis Wang",
"license": "MIT"
"author": "David Dias (thedaviddias@gmail.com)",
"license": "MIT",
"scripts": {
"semantic-release": "semantic-release"
}
}

0 comments on commit 4771549

Please # to comment.