Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

by-node-env

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

by-node-env - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

6

CHANGELOG.md

@@ -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.

87

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc