chore(pkg): use cross-env
This commit is contained in:
Generated
+28
@@ -32,6 +32,7 @@
|
||||
"@types/resize-observer-browser": "^0.1.7",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"babel-preset-react-app": "^10.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^9.6.1",
|
||||
"postcss": "^8.4.13",
|
||||
"postcss-cli": "^9.1.0",
|
||||
@@ -4158,6 +4159,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",
|
||||
@@ -15672,6 +15691,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-spawn": {
|
||||
"version": "7.0.3",
|
||||
"resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.3.tgz",
|
||||
|
||||
+2
-1
@@ -37,7 +37,7 @@
|
||||
"start:testserver": "npm run build:test && npm run start:examples",
|
||||
"build:dev": "npm install && npm run build && cd example && npm install && npm run build",
|
||||
"dev:wait": "start-server-and-test start:testserver http-get://localhost:3000",
|
||||
"test": "BROWSER=none npm run dev:wait test:chrome",
|
||||
"test": "cross-env BROWSER=none npm run dev:wait test:chrome",
|
||||
"test:chrome": "cypress run --browser chrome --headless",
|
||||
"test:firefox": "cypress run --browser firefox",
|
||||
"test:all": "npm run test:chrome && npm run test:firefox",
|
||||
@@ -72,6 +72,7 @@
|
||||
"@types/resize-observer-browser": "^0.1.7",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"babel-preset-react-app": "^10.0.1",
|
||||
"cross-env": "^7.0.3",
|
||||
"cypress": "^9.6.1",
|
||||
"postcss": "^8.4.13",
|
||||
"postcss-cli": "^9.1.0",
|
||||
|
||||
Reference in New Issue
Block a user