Skip to content

Commit

Permalink
😒 Add Semantic Release and GHooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam Richard committed Dec 28, 2016
1 parent f299158 commit 61ab7f7
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Expand Up @@ -13,6 +13,7 @@ lib-cov
# Coverage directory used by tools like istanbul
coverage
.nyc_output
.semantic-commits.json

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt
Expand Down
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -10,6 +10,7 @@ cache:

after_success:
- npm run coverage
- npm run semantic-release
- npm run reparo

branches:
Expand Down
19 changes: 16 additions & 3 deletions package.json
@@ -1,6 +1,5 @@
{
"name": "gulp-armadillo",
"version": "2.6.4",
"description": "Statis site generator put together with Gulp plugins",
"main": "index.js",
"files": [
Expand All @@ -18,11 +17,12 @@
"reparo": "reparo -b master",
"gulp": "gulp",
"lint": "eslint '**/*.js'",
"lint:fix": "eslint --fix '**/*.js'"
"lint:fix": "eslint --fix '**/*.js'",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Snugug/gulp-armadillo.git"
"url": "https://github.com/Snugug/gulp-armadillo.git"
},
"keywords": [
"gulp",
Expand Down Expand Up @@ -95,10 +95,14 @@
"eslint-config-punchcard": "^1.1.1",
"eslint-config-xo-space": "^0.15.0",
"eslint-plugin-ava": "^4.0.0",
"ghooks": "^2.0.0",
"leftpad": "0.0.0",
"map-stream": "0.0.6",
"nyc": "^10.0.0",
"punchcard-commit-msg": "^1.0.1",
"punchcard-semantic-release": "^2.0.4",
"reparo": "^1.1.1-0",
"semantic-release": "^6.3.2",
"vinyl-fs": "^2.4.4",
"vinyl-string": "^1.0.2"
},
Expand All @@ -113,5 +117,14 @@
"files": [
"tests/**/*.js"
]
},
"config": {
"ghooks": {
"commit-msg": "punchcard-commit-msg"
}
},
"release": {
"analyzeCommits": "punchcard-semantic-release/analyze",
"generateNotes": "punchcard-semantic-release/notes"
}
}

0 comments on commit 61ab7f7

Please sign in to comment.