Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "if-env", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Simplify npm scripts with \"if-env ... && npm run this || npm run that\"", | ||
@@ -12,7 +12,7 @@ "bin": "bin/if-env.js", | ||
"publish": "npm-run-all publish:git publish:npm", | ||
"publish:git": "git push && git push --tags", | ||
"publish:git": "git push origin master --tags", | ||
"publish:npm": "npm publish", | ||
"test": "NODE_ENV=test mocha", | ||
"version": "npm run changelog", | ||
"version:ammend": "git commit --amend -m \"Release v${npm_package_version}\" && npm run release" | ||
"version:amend": "git commit --amend -m \"Release v${npm_package_version}\" && npm run release" | ||
}, | ||
@@ -19,0 +19,0 @@ "repository": { |
@@ -7,2 +7,6 @@ # if-env | ||
**I recommend switching to [`per-env`](https://github.com/ericclemmons/per-env), which is much simpler and much more powerful!** | ||
- - - | ||
Suppose you want to simplify development and be able to run `npm start` | ||
@@ -27,3 +31,3 @@ in all environments & run the correct scripts. | ||
"scripts": { | ||
"start": "if-env NODE_ENV=production && npm run start:prod || npm start:dev", | ||
"start": "if-env NODE_ENV=production && npm run start:prod || npm run start:dev", | ||
"start:dev": "webpack", | ||
@@ -30,0 +34,0 @@ "start:prod": "start-cluster" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
57
5307
7