fix(challenge-editor): Windows compatibility (#46617)

* fix(challenge-editor): Windows compatibility
pull/46619/head
Oliver Eyton-Williams 2022-06-22 11:46:55 +02:00 committed by GitHub
parent a0c0813488
commit 11143178f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 2 deletions

7
package-lock.json generated
View File

@ -20550,7 +20550,8 @@
},
"node_modules/cross-env": {
"version": "7.0.3",
"license": "MIT",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
"dependencies": {
"cross-spawn": "^7.0.1"
},
@ -53523,6 +53524,7 @@
},
"devDependencies": {
"@types/codemirror": "5.60.5",
"cross-env": "7.0.3",
"eslint-plugin-react-hooks": "4.6.0"
}
},
@ -55712,6 +55714,7 @@
"@testing-library/react": "12.1.5",
"@testing-library/user-event": "13.5.0",
"@types/codemirror": "5.60.5",
"cross-env": "7.0.3",
"eslint-plugin-react-hooks": "4.6.0",
"react": "16.14.0",
"react-codemirror2": "7.2.1",
@ -68532,6 +68535,8 @@
},
"cross-env": {
"version": "7.0.3",
"resolved": "https://registry.npmjs.org/cross-env/-/cross-env-7.0.3.tgz",
"integrity": "sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==",
"requires": {
"cross-spawn": "^7.0.1"
}

View File

@ -14,7 +14,7 @@
"typescript": "4.7.4"
},
"scripts": {
"start": "PORT=3300 react-scripts start",
"start": "cross-env PORT=3300 react-scripts start",
"lint": "eslint src",
"build": "react-scripts build",
"test": "react-scripts test",
@ -34,6 +34,7 @@
},
"devDependencies": {
"@types/codemirror": "5.60.5",
"cross-env": "7.0.3",
"eslint-plugin-react-hooks": "4.6.0"
}
}