diff --git a/package-lock.json b/package-lock.json index 4b37ab371..40f640b46 100644 --- a/package-lock.json +++ b/package-lock.json @@ -118,6 +118,7 @@ "@typescript-eslint/parser": "4.22.0", "check-es-compat": "1.1.1", "cordova-plugin-androidx-adapter": "1.1.3", + "cross-env": "7.0.3", "eslint": "7.25.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-header": "3.1.1", @@ -11783,6 +11784,24 @@ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, + "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", @@ -40336,6 +40355,15 @@ "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "dev": true }, + "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", diff --git a/package.json b/package.json index 6621e9942..295ce081c 100644 --- a/package.json +++ b/package.json @@ -34,7 +34,7 @@ "test:coverage": "NODE_ENV=testing gulp && jest --coverage", "lint": "NODE_OPTIONS=--max-old-space-size=4096 ng lint", "ionic:serve:before": "gulp", - "ionic:serve": "./scripts/serve.sh", + "ionic:serve": "cross-env-shell ./scripts/serve.sh", "ionic:build:before": "gulp" }, "dependencies": { @@ -147,6 +147,7 @@ "@typescript-eslint/parser": "4.22.0", "check-es-compat": "1.1.1", "cordova-plugin-androidx-adapter": "1.1.3", + "cross-env": "7.0.3", "eslint": "7.25.0", "eslint-config-prettier": "8.3.0", "eslint-plugin-header": "3.1.1",