Make dependencies peer. LAzy load YN so that if the feature is not used the dependency is ignored'

This commit is contained in:
RingOfStorms (Joshua Bell) 2020-12-21 20:03:52 -06:00
parent eb190da262
commit 64920a7a24
8 changed files with 111 additions and 77 deletions

View file

@ -1,6 +1,6 @@
{
"name": "@ringofstorms/dotenv-multi",
"version": "0.1.1",
"version": "0.2.0",
"description": "Dot environment file loader that acts like Create React App's supporting many files with per NODE_ENV/local settings.",
"main": "lib/index.js",
"types": "lib/index.d.ts",
@ -14,7 +14,7 @@
},
"author": "Josh (RingOfStorms)",
"license": "ISC",
"dependencies": {
"peerDependencies": {
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"yn": "^4.0.0"
@ -22,7 +22,10 @@
"devDependencies": {
"@types/node": "^14.14.14",
"rimraf": "^3.0.2",
"typescript": "^4.1.3"
"typescript": "^4.1.3",
"dotenv": "^8.2.0",
"dotenv-expand": "^5.1.0",
"yn": "^4.0.0"
},
"repository": {
"type": "git",