Skip to content

Commit

Permalink
chore: env build에 포함
Browse files Browse the repository at this point in the history
  • Loading branch information
iOdiO89 committed Sep 3, 2024
1 parent e2a3052 commit 560eaec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"dayjs": "^1.11.12",
"dotenv": "^16.4.5",
"electron-is-dev": "^3.0.1",
"env-cmd": "^10.1.0",
"framer-motion": "^11.3.30",
"jotai": "^2.9.0",
"jotai-devtools": "^0.10.0",
Expand All @@ -34,7 +35,7 @@
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"build": "env-cmd -f .env react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"dev": "concurrently \"cross-env NODE_ENV=development BROWSER=none yarn start\" \"wait-on http://localhost:3000 && electron .\"",
Expand Down
1 change: 0 additions & 1 deletion src/react-app-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,5 @@ declare namespace NodeJS {
interface ProcessEnv {
REACT_APP_API_URL: string
REACT_APP_KAKAO_REST_KEY: string
REACT_APP_KAKAO_JS_KEY: string
}
}
8 changes: 8 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4855,6 +4855,14 @@ entities@^2.0.0:
resolved "https://registry.yarnpkg.com/entities/-/entities-2.2.0.tgz#098dc90ebb83d8dffa089d55256b351d34c4da55"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==

env-cmd@^10.1.0:
version "10.1.0"
resolved "https://registry.yarnpkg.com/env-cmd/-/env-cmd-10.1.0.tgz#c7f5d3b550c9519f137fdac4dd8fb6866a8c8c4b"
integrity sha512-mMdWTT9XKN7yNth/6N6g2GuKuJTsKMDHlQFUDacb/heQRRWOTIZ42t1rMHnQu4jYxU1ajdTeJM+9eEETlqToMA==
dependencies:
commander "^4.0.0"
cross-spawn "^7.0.0"

env-paths@^2.2.0:
version "2.2.1"
resolved "https://registry.yarnpkg.com/env-paths/-/env-paths-2.2.1.tgz#420399d416ce1fbe9bc0a07c62fa68d67fd0f8f2"
Expand Down

0 comments on commit 560eaec

Please sign in to comment.