From b61d6ca4a2efdc25f57887a55357be8560f005cd Mon Sep 17 00:00:00 2001 From: Austin Chen Date: Sun, 21 Aug 2022 16:25:48 -0700 Subject: [PATCH] Fix scripts --- functions/package.json | 2 +- web/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/functions/package.json b/functions/package.json index 4ace82f2..da3f14a0 100644 --- a/functions/package.json +++ b/functions/package.json @@ -5,7 +5,7 @@ "firestore": "dev-mantic-markets.appspot.com" }, "scripts": { - "build": "yarn compile && rm -rf dist && mkdir dist && mkdir dist\\functions && cp -R ../common/lib dist/common && cp -R lib/src dist/functions/src && cp ../yarn.lock dist && cp package.json dist && cp .env dist", + "build": "yarn compile && rm -rf dist && mkdir dist && mkdir dist/functions && cp -R ../common/lib dist/common && cp -R lib/src dist/functions/src && cp ../yarn.lock dist && cp package.json dist && cp .env dist", "compile": "tsc -b", "watch": "tsc -w", "shell": "yarn build && firebase functions:shell", diff --git a/web/package.json b/web/package.json index a41591ed..3822b73b 100644 --- a/web/package.json +++ b/web/package.json @@ -11,6 +11,7 @@ "dev:the": "cross-env NEXT_PUBLIC_FIREBASE_ENV=THEOREMONE yarn dev", "dev:local": "cross-env NEXT_PUBLIC_FUNCTIONS_URL=http://localhost:8080 yarn devdev", "dev:emulate": "cross-env NEXT_PUBLIC_FIREBASE_EMULATE=TRUE yarn devdev", + "dev:atlas4": "cross-env NEXT_PUBLIC_FIREBASE_ENV=ATLAS4 yarn dev", "build": "next build", "start": "next start", "lint": "next lint",