diff --git a/examples/web-chat/package-lock.json b/examples/web-chat/package-lock.json index 1808d378..46a3d72a 100644 --- a/examples/web-chat/package-lock.json +++ b/examples/web-chat/package-lock.json @@ -27,6 +27,7 @@ "@types/node": "^17.0.45", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.9", + "cross-env": "^7.0.3", "cspell": "^6.14.3", "gh-pages": "^4.0.0", "npm-run-all": "^4.1.5", @@ -8456,6 +8457,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-spawn": { "version": "7.0.3", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", diff --git a/examples/web-chat/package.json b/examples/web-chat/package.json index b521deda..59f8b057 100644 --- a/examples/web-chat/package.json +++ b/examples/web-chat/package.json @@ -23,6 +23,7 @@ "@types/node": "^17.0.45", "@types/react": "^18.0.25", "@types/react-dom": "^18.0.9", + "cross-env": "^7.0.3", "cspell": "^6.14.3", "gh-pages": "^4.0.0", "npm-run-all": "^4.1.5", @@ -34,7 +35,7 @@ "url": "^0.11.0" }, "scripts": { - "start": "GENERATE_SOURCEMAP=false PORT=3003 react-scripts start", + "start": "cross-env GENERATE_SOURCEMAP=false PORT=3003 react-scripts start", "build": "react-scripts build", "test:unit": "exit 0", "fix": "run-s fix:*",