Skip to content

Commit

Permalink
cross-envify git-push script
Browse files Browse the repository at this point in the history
  • Loading branch information
sudo-suhas committed Apr 12, 2017
1 parent 8acacec commit e5109d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"preversion": "npm run lint && npm run build && npm run git-commit",
"postversion": "npm run git-push",
"git-commit": "git add docs browser && git commit -m \"Commit built files\"",
"git-push": "git push origin master && git push origin v$npm_package_version"
"git-push": "cross-env \"git push origin master && git push origin v$npm_package_version\""
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -53,6 +53,7 @@
"babel-core": "^6.24.1",
"babel-preset-es2015": "^6.24.1",
"babel-register": "^6.24.1",
"cross-env": "^4.0.0",
"documentation": "^4.0.0-beta.19",
"eslint": "^3.18.0",
"lint-staged": "^3.4.0",
Expand Down

0 comments on commit e5109d0

Please sign in to comment.