Skip to content

Commit 0dac892

Browse files
authored
Merge pull request #47 from boostcampwm-2022/chore/#46-C
Chore/#46-C: dotenv-vault pull npm 커맨드 추가
2 parents 941620d + c820ff2 commit 0dac892

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,11 @@
55
"repository": "https://github.com/boostcampwm-2022/web27-Wabinar.git",
66
"scripts": {
77
"postinstall": "husky install",
8-
"lint-staged": "lint-staged"
8+
"lint-staged": "lint-staged",
9+
"env": "npm run dotenv-pull",
10+
"dotenv-pull": "npm run dotenv-pull:client && npm run dotenv-pull:server",
11+
"dotenv-pull:client": "echo For client... && cd client && npx dotenv-vault pull development",
12+
"dotenv-pull:server": "echo For server... && cd server && npx dotenv-vault pull development"
913
},
1014
"lint-staged": {
1115
"client/**/*.{ts,tsx}": [

0 commit comments

Comments
 (0)