From d461931383305d76a6bef2052ce97062f6d9760c Mon Sep 17 00:00:00 2001 From: Akash Singh Date: Tue, 2 Apr 2024 01:36:32 +0530 Subject: [PATCH] Set env variables --- documentation/package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/documentation/package.json b/documentation/package.json index a474400..0ea1de0 100644 --- a/documentation/package.json +++ b/documentation/package.json @@ -5,15 +5,15 @@ "scripts": { "docusaurus": "docusaurus", "start": "docusaurus start", - "dev:lean": "DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true REACT_APP_FOLLOWERS_ACCESS_KEY=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 npm run start", - "dev:docs": "DISABLE_BLOG=true npm run dev:lean", - "dev:blog": "DISABLE_DOCS=true LIVE_PREVIEW_URL=https://next.live-previews.prepverse.github.io/preview npm run dev:lean", - "build": "NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build", - "build:plugins": "sucrase ./plugins -d ./plugins --transforms typescript,imports && npx prettier --write ./plugins", - "swizzle": "docusaurus swizzle", - "deploy": "docusaurus deploy", - "serve": "docusaurus serve", - "clear": "docusaurus clear" + "dev:lean": "dotenv -e .env DISABLE_DOCGEN=true DISABLE_VERSIONING=true DISABLE_EXAMPLES=true DISABLE_CHECKLISTS=true npm run start", + "dev:docs": "dotenv -e .env DISABLE_BLOG=true npm run dev:lean", + "dev:blog": "dotenv -e .env DISABLE_DOCS=true LIVE_PREVIEW_URL=https://next.live-previews.prepverse.github.io/preview npm run dev:lean", + "build": "dotenv -e .env NODE_OPTIONS=\"--max-old-space-size=8192\" docusaurus build", + "build:plugins": "dotenv -e .env sucrase ./plugins -d ./plugins --transforms typescript,imports && npx prettier --write ./plugins", + "swizzle": "dotenv -e .env docusaurus swizzle", + "deploy": "dotenv -e .env docusaurus deploy", + "serve": "dotenv -e .env docusaurus serve", + "clear": "dotenv -e .env docusaurus clear" }, "dependencies": { "@codesandbox/sandpack-react": "^2.12.1",