diff --git a/docs/package-lock.json b/docs/package-lock.json index 588886ea..1745e4d7 100644 --- a/docs/package-lock.json +++ b/docs/package-lock.json @@ -13,6 +13,9 @@ "classnames": "^2.3.1", "react": "^17.0.2", "react-dom": "^17.0.2" + }, + "devDependencies": { + "cross-env": "^7.0.3" } }, "node_modules/@algolia/autocomplete-core": { @@ -4045,6 +4048,24 @@ "node": ">=10" } }, + "node_modules/cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "dependencies": { + "cross-spawn": "^7.0.1" + }, + "bin": { + "cross-env": "src/bin/cross-env.js", + "cross-env-shell": "src/bin/cross-env-shell.js" + }, + "engines": { + "node": ">=10.14", + "npm": ">=6", + "yarn": ">=1" + } + }, "node_modules/cross-fetch": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", @@ -17197,6 +17218,15 @@ "yaml": "^1.10.0" } }, + "cross-env": { + "version": "7.0.3", + "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz", + "integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==", + "dev": true, + "requires": { + "cross-spawn": "^7.0.1" + } + }, "cross-fetch": { "version": "3.1.4", "resolved": "https://registry.npmjs.org/cross-fetch/-/cross-fetch-3.1.4.tgz", diff --git a/docs/package.json b/docs/package.json index 1724162a..444b99b4 100644 --- a/docs/package.json +++ b/docs/package.json @@ -3,7 +3,7 @@ "version": "0.0.0", "private": true, "scripts": { - "start": "NODE_ENV=development docusaurus start", + "start": "cross-env NODE_ENV=development docusaurus start", "build": "docusaurus build", "themes": "node export_themes.js" }, @@ -14,6 +14,9 @@ "react": "^17.0.2", "react-dom": "^17.0.2" }, + "devDependencies": { + "cross-env": "^7.0.3" + }, "browserslist": { "production": [ ">0.2%",