cross-conf-env
Advanced tools
Comparing version 1.0.0 to 1.0.1
# ChangeLog | ||
## 1.0.1 | ||
* Fix | ||
* [npm_package_config_ is in npm_package_conf in the replacement process](https://github.com/akabekobeko/npm-cross-conf-env/issues/4) | ||
## 1.0.0 | ||
* First release |
@@ -79,3 +79,3 @@ 'use strict'; | ||
value: function _filterKeys(isReplaceOnlyConf) { | ||
var targetPrefix = isReplaceOnlyConf ? 'npm_package_conf' : 'npm_package_'; | ||
var targetPrefix = isReplaceOnlyConf ? 'npm_package_config_' : 'npm_package_'; | ||
return Object.keys(process.env).filter(function (key) { | ||
@@ -82,0 +82,0 @@ return key && typeof key === 'string' && key.indexOf(targetPrefix) !== -1; |
{ | ||
"name": "cross-conf-env", | ||
"description": "To cross-platform the conf variable reference of package.json in npm-scripts.", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"author": "akabeko", | ||
@@ -6,0 +6,0 @@ "license": "MIT", |
7501