Skip to content
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.

Commit

Permalink
fix(publish): Add run build in semantic-release task
Browse files Browse the repository at this point in the history
Closes #17
  • Loading branch information
bcabanes committed Feb 9, 2016
1 parent 7ec7c11 commit 663a145
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Expand Up @@ -17,7 +17,6 @@ before_script:
script:
- npm run test:single
- npm run check-coverage
- npm run build
after_success:
- npm run report-coverage
- npm run semantic-release
Expand Down
10 changes: 7 additions & 3 deletions bower.json
@@ -1,6 +1,5 @@
{
"name": "ng-image-cropper",
"version": "1.0.0",
"homepage": "https://github.com/bcabanes/angular-image-cropper",
"authors": [
"bcabanes <contact@benjamincabanes.com>"
Expand All @@ -23,11 +22,16 @@
"fluid"
],
"dependencies": {
"angular": "^1.4.9"
"angular": "^1.4.9"
},
"license": "MIT",
"ignore": [
"**/.*",
"dev",
".gitignore",
".travis.yml",
"coverage",
"webpack.config.js",
"karma.conf.js",
"node_modules",
"bower_components",
"test",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -9,10 +9,10 @@
"test:single": "SINGLE_RUN=true NODE_ENV=test karma start",
"check-coverage": "node_modules/.bin/istanbul check-coverage --statements 10 --branches 10 --functions 10 --lines 10",
"report-coverage": "cat ./coverage/report-lcov/lcov.info | codecov",
"serve": "node node_modules/.bin/webpack-dev-server --content-base dev",
"serve": "node node_modules/.bin/webpack-dev-server --content-base dev --progress --colors",
"prebuild": "rm -rf dist && mkdir dist",
"build": "NODE_ENV=production node node_modules/.bin/webpack",
"semantic-release": "semantic-release pre && npm publish && semantic-release post"
"build": "NODE_ENV=production node node_modules/.bin/webpack --progress --colors",
"semantic-release": "semantic-release pre && npm run build && npm publish && semantic-release post"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit 663a145

Please sign in to comment.