Add dotenv

This commit is contained in:
KorbsStudio 2023-02-17 00:10:21 -05:00
parent cbbdad61fc
commit 8a7703ddd5
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View file

@ -5,6 +5,7 @@
"main": "./electron/index.js", "main": "./electron/index.js",
"scripts": { "scripts": {
"start": "concurrently \"astro dev\" \"electron .\"", "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" "build": "astro build && node ./build/prepare-production.js && electron-builder build --config ./build/electron-builder.yml"
}, },
"author": "KorbsStudio", "author": "KorbsStudio",
@ -16,6 +17,7 @@
}, },
"dependencies": { "dependencies": {
"astro": "^2.0.0", "astro": "^2.0.0",
"dotenv": "^16.0.3",
"electron-is-dev": "^2.0.0", "electron-is-dev": "^2.0.0",
"electron-log": "^5.0.0-beta.15", "electron-log": "^5.0.0-beta.15",
"electron-titlebar-respect": "^1.0.0", "electron-titlebar-respect": "^1.0.0",

View file

@ -1651,6 +1651,11 @@ dotenv-expand@^5.1.0:
resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz" resolved "https://registry.npmjs.org/dotenv-expand/-/dotenv-expand-5.1.0.tgz"
integrity sha512-YXQl1DSa4/PQyRfgrv6aoNjhasp/p4qs9FjJ4q4cQk+8m4r6k4ZSiEyytKG8f8W9gi8WsQtIObNmKd+tMzNTmA== 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: dotenv@^9.0.2:
version "9.0.2" version "9.0.2"
resolved "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz" resolved "https://registry.npmjs.org/dotenv/-/dotenv-9.0.2.tgz"