From 8a7703ddd54996567f91336dd4068a236a22855c Mon Sep 17 00:00:00 2001 From: KorbsStudio Date: Fri, 17 Feb 2023 00:10:21 -0500 Subject: [PATCH] Add dotenv --- package.json | 2 ++ yarn.lock | 5 +++++ 2 files changed, 7 insertions(+) diff --git a/package.json b/package.json index bb2ffcb..b377e9b 100755 --- a/package.json +++ b/package.json @@ -5,6 +5,7 @@ "main": "./electron/index.js", "scripts": { "start": "concurrently \"astro dev\" \"electron .\"", + "start:delay": "concurrently \"astro dev\" \"sleep 5 && electron .\"", "build": "astro build && node ./build/prepare-production.js && electron-builder build --config ./build/electron-builder.yml" }, "author": "KorbsStudio", @@ -16,6 +17,7 @@ }, "dependencies": { "astro": "^2.0.0", + "dotenv": "^16.0.3", "electron-is-dev": "^2.0.0", "electron-log": "^5.0.0-beta.15", "electron-titlebar-respect": "^1.0.0", diff --git a/yarn.lock b/yarn.lock index aebea6d..d265837 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1651,6 +1651,11 @@ dotenv-expand@^5.1.0: resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz" integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== +dotenv@^16.0.3: + version "16.0.3" + resolved "https://registry.yarnpkg.com/dotenv/-/dotenv-16.0.3.tgz#115aec42bac5053db3c456db30cc243a5a836a07" + integrity sha512-7GO6HghkA5fYG9TYnNxi14/7K9f5occMlp3zXAuSxn7CKCxt9xbNWG7yF8hTCSUchlfWSe3uLmlPfigevRItzQ== + dotenv@^9.0.2: version "9.0.2" resolved "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz"