by-node-env
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -5,3 +5,3 @@ # Changelog | ||
- Cloned original repository from [ericclemmons/per-env](https://github.com/ericclemmons/per-env). | ||
- Cloned original repository from [`github:ericclemmons/per-env`](https://github.com/ericclemmons/per-env). | ||
- Added support for Windows with [`cross-spawn`](https://www.npmjs.com/package/cross-spawn). | ||
@@ -17,1 +17,5 @@ - Added support for Yarn by detecting `process.env.npm_execpath`. | ||
- Updated README. | ||
## 1.0.3 (2019-06-12) | ||
- Refactored some codes. |
{ | ||
"name": "by-node-env", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Run package.json scripts by NODE_ENV.", | ||
"bin": { | ||
"by-node-env": "./bin/by-node-env" | ||
}, | ||
"scripts": { | ||
"test": "NODE_ENV=development ./bin/by-node-env && NODE_ENV=test ./bin/by-node-env", | ||
"pretest:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}", | ||
"test:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}", | ||
"posttest:development": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}", | ||
"pretest:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}", | ||
"test:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}", | ||
"posttest:test": "echo ${npm_lifecycle_event} ${CUSTOM_VALUE}" | ||
}, | ||
"by-node-env": { | ||
"development": { | ||
"CUSTOM_VALUE": "dev" | ||
} | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/shian15810/by-node-env.git" | ||
}, | ||
"keywords": [ | ||
"build", | ||
"by-env", | ||
"by-node-env", | ||
"by-node", | ||
"by", | ||
"concurrently", | ||
"cross-spawn", | ||
"deploy", | ||
"dev", | ||
"development", | ||
"env", | ||
"environment", | ||
"if-env", | ||
"is-ci", | ||
"NODE_ENV", | ||
"node_env", | ||
"node", | ||
"node-env", | ||
"node", | ||
"npm-package-scripts", | ||
"npm-run-all", | ||
"npm-run-script", | ||
"npm-scripts", | ||
"npm", | ||
"nps", | ||
"nps-utils", | ||
"nps", | ||
"p-s", | ||
"package.json", | ||
"package", | ||
"package-json", | ||
"per-env", | ||
"postbuild", | ||
"postdeploy", | ||
"poststart", | ||
"posttest", | ||
"prebuild", | ||
"predeploy", | ||
"prestart", | ||
"pretest", | ||
"process.env", | ||
"process", | ||
"prod", | ||
"production", | ||
"run", | ||
"script", | ||
"run-script", | ||
"scripts", | ||
"spawn", | ||
"staging", | ||
"start", | ||
"test", | ||
"watch", | ||
"windows", | ||
"yarn", | ||
"yarnpkg" | ||
"yo-env" | ||
], | ||
"homepage": "https://github.com/shian15810/by-node-env#readme", | ||
"bugs": "https://github.com/shian15810/by-node-env/issues", | ||
"license": "MIT", | ||
"author": "Chuah Chee Shian <shian15810@gmail.com>", | ||
"license": "MIT", | ||
"bugs": { | ||
"url": "https://github.com/shian15810/by-node-env/issues" | ||
"bin": "./bin/by-node-env", | ||
"repository": "https://github.com/shian15810/by-node-env.git", | ||
"scripts": { | ||
"test": "./bin/by-node-env && NODE_ENV=test ./bin/by-node-env", | ||
"pretest:development": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}", | ||
"test:development": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}", | ||
"posttest:development": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}", | ||
"pretest:test": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}", | ||
"test:test": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}", | ||
"posttest:test": "echo ${npm_lifecycle_event} ${CUSTOM_ENV}" | ||
}, | ||
"homepage": "https://github.com/shian15810/by-node-env#readme", | ||
"dependencies": { | ||
"cross-spawn": "^6.0.5" | ||
}, | ||
"by-node-env": { | ||
"development": { | ||
"CUSTOM_ENV": "dev" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
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
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
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
6333
2
1