Merge pull request #273 from akugone/cross-env

fix(webchat):Add cross-env for windows user
This commit is contained in:
Danish Arora 2023-09-25 14:37:18 +05:30 committed by GitHub
commit 1ec507254c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 1 deletions

View File

@ -27,6 +27,7 @@
"@types/node": "^17.0.45", "@types/node": "^17.0.45",
"@types/react": "^18.0.25", "@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9", "@types/react-dom": "^18.0.9",
"cross-env": "^7.0.3",
"cspell": "^6.14.3", "cspell": "^6.14.3",
"gh-pages": "^4.0.0", "gh-pages": "^4.0.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
@ -8456,6 +8457,24 @@
"node": ">=10" "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": { "node_modules/cross-spawn": {
"version": "7.0.3", "version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",

View File

@ -23,6 +23,7 @@
"@types/node": "^17.0.45", "@types/node": "^17.0.45",
"@types/react": "^18.0.25", "@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9", "@types/react-dom": "^18.0.9",
"cross-env": "^7.0.3",
"cspell": "^6.14.3", "cspell": "^6.14.3",
"gh-pages": "^4.0.0", "gh-pages": "^4.0.0",
"npm-run-all": "^4.1.5", "npm-run-all": "^4.1.5",
@ -34,7 +35,7 @@
"url": "^0.11.0" "url": "^0.11.0"
}, },
"scripts": { "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", "build": "react-scripts build",
"test:unit": "exit 0", "test:unit": "exit 0",
"fix": "run-s fix:*", "fix": "run-s fix:*",