Skip to content

Commit

Permalink
Merge pull request #33 from usabilla/setup-semantic-release
Browse files Browse the repository at this point in the history
ci(semantic-release): setup semantic release and commitizen
  • Loading branch information
spirosikmd authored Mar 27, 2017
2 parents 05155e9 + 847b814 commit 94efc42
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ before_install:
notifications:
slack:
secure: js7ZJU+Xxz9aSVebP4pP7I7HUUuwgUvMEnkhe9RGVg3xkU4wiSRbMH2rH4iY4NGvfsZrFmt08Wob3xxHdInMUMt/Hsogo/6t9+KjoV67NCrKZ3itXxez6lGlwP5Ck9pqu40VKC57xdVl4JFsAksfL0yl3UjcnNivZEKqlr2O1H58Z3EJI4sd0QcFuYcNLUN+D0UVKGC7Gvz4W/Ynrw8GUuo/Yx+ngd+Ezku6TXrWXGfuLNEx95OnT9+OnYICId3jzRBsJlrHHK6apcalPRdXu0ZBhUdwK40gSaSPWJTCALjBrXPC9/CfRiJyoTnZ9W5W7w3SEJY5zR3y5KnGgP7YiW18peOr8jeVnymYBtswldLX7nPJ6g25dC5UyUxpvMWcNRoAQzeHDEmHpZCcdSzSDlMwfFXWhHQYJOYr6vYvKF3RHQIp+AC27fU2trhvPPh/nvRnACB+e+n4pRwMSlGmsVCyByB1X3cgXrmMY1t6On1T8lplaHAAeGzfp+d8zsU9C0HBiJesh2kc8t9NCSR6zPfibixfl4SPPrOC4DcHdN0vhTbOhQ/ZrgTkXXTonZk5N+0r9admoYwNsw7dySfCM+7JmX7EwzZjkJuZJ9v/h19PPMpmBdSH7p8PM53RT4kEzOdeAtzC/lxNS/1CGS6SSZlbWANhOYL9Ol0awFIUCTM=
after_success:
- yarn semantic-release
18 changes: 14 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "usabilla-api",
"version": "1.0.4",
"version": "0.0.0-development",
"description": "Node client for Usabilla public API",
"main": "index.js",
"devDependencies": {
Expand All @@ -11,6 +11,8 @@
"babelify": "^7.3.0",
"browserify": "^13.1.1",
"browserify-istanbul": "^2.0.0",
"commitizen": "^2.9.6",
"cz-conventional-changelog": "^2.0.0",
"eslint": "^3.12.2",
"gulp": "^3.9.1",
"isparta": "^4.0.0",
Expand All @@ -22,6 +24,7 @@
"karma-coverage": "^1.1.1",
"karma-coveralls": "^1.1.2",
"karma-jasmine": "^1.0.2",
"semantic-release": "^6.3.2",
"vinyl-source-stream": "^1.1.0",
"wallabify": "0.0.14",
"watchify": "^3.7.0"
Expand All @@ -34,16 +37,23 @@
"test:watch": "karma start karma.conf.js",
"lint": "eslint ./src ./test ./example/example.js",
"lint:fix": "npm run lint -- --fix",
"posttest": "npm run lint"
"posttest": "npm run lint",
"semantic-release": "semantic-release pre && npm publish && semantic-release post",
"commit": "git-cz"
},
"repository": {
"type": "git",
"url": "git@github.com:usabilla/api-js-node.git"
"url": "https://github.com/usabilla/api-js-node"
},
"author": {
"name": "Usabilla",
"email": "development@usabilla.com",
"url": "http://developers.usabilla.com"
},
"license": "MIT"
"license": "MIT",
"config": {
"commitizen": {
"path": "node_modules/cz-conventional-changelog"
}
}
}

0 comments on commit 94efc42

Please sign in to comment.