dotenv multi logic

This commit is contained in:
RingOfStorms (Joshua Bell) 2020-12-19 18:33:47 -06:00
parent 5582d09293
commit 060163f64a
11 changed files with 200 additions and 94 deletions

View file

@ -1,21 +1,26 @@
{
"name": "@ringofstorms/dotenv",
"name": "@ringofstorms/dotenv-multi",
"version": "0.1.0",
"description": "Dot environment file loader that acts like Create React App's supporting many files with per NODE_ENV/local settings.",
"main": "index.js",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
"lib"
],
"scripts": {
"prebuild": "npm run clean",
"build": "tsc",
"clean": "rimraf dist",
"test": "echo \"Error: no test specified\" && exit 1"
"clean": "rimraf lib *.tgz"
},
"author": "",
"author": "Josh (RingOfStorms)",
"license": "ISC",
"peerDependencies": {
"dotenv": "^8.x",
"dotenv-expand": "^5.x"
"dependencies": {
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"yn": "^4.0.0"
},
"devDependencies": {
"@types/node": "^14.14.14",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
}