if-env
Version:
Simplify npm scripts with "if-env ... && npm run this || npm run that"
43 lines (42 loc) • 1.27 kB
JSON
{
"name": "if-env",
"version": "1.0.4",
"description": "Simplify npm scripts with \"if-env ... && npm run this || npm run that\"",
"bin": "bin/if-env.js",
"scripts": {
"changelog": "npm-run-all changelog:generate changelog:add",
"changelog:add": "git add CHANGELOG.md",
"changelog:generate": "github_changelog_generator --future-release $npm_package_version",
"postversion": "npm-run-all version:amend publish",
"publish": "npm-run-all publish:git publish:npm",
"publish:git": "git push origin master --tags",
"publish:npm": "npm publish",
"test": "NODE_ENV=test mocha",
"version": "npm run changelog",
"version:amend": "git commit --amend -m \"Release v${npm_package_version}\" && npm run release"
},
"repository": {
"type": "git",
"url": "git+https://github.com/ericclemmons/if-env.git"
},
"keywords": [
"npm",
"script",
"env",
"if",
"run"
],
"author": "Eric Clemmons <eric@smarterspam.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/ericclemmons/if-env/issues"
},
"homepage": "https://github.com/ericclemmons/if-env#readme",
"devDependencies": {
"expect": "1.13.4",
"mocha": "2.3.4"
},
"dependencies": {
"npm-run-all": "1.4.0"
}
}