From 69b94180853e51536deb977a6db1e3ed697a12a3 Mon Sep 17 00:00:00 2001 From: James Mai Date: Sat, 15 Jan 2022 16:04:30 -0500 Subject: [PATCH] Installing cross-env to help out Window folks --- package.json | 1 + pnpm-lock.yaml | 10 ++++++++++ web/package.json | 2 +- 3 files changed, 12 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 77c14cc..65693df 100644 --- a/package.json +++ b/package.json @@ -31,6 +31,7 @@ "devDependencies": { "@typescript-eslint/eslint-plugin": "5.7.0", "@typescript-eslint/parser": "5.7.0", + "cross-env": "^7.0.3", "eslint": "7.32.0", "eslint-config-airbnb-base": "15.0.0", "eslint-config-prettier": "8.3.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fd3d1de..bde7af9 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -14,6 +14,7 @@ importers: specifiers: '@typescript-eslint/eslint-plugin': 5.7.0 '@typescript-eslint/parser': 5.7.0 + cross-env: ^7.0.3 eslint: 7.32.0 eslint-config-airbnb-base: 15.0.0 eslint-config-prettier: 8.3.0 @@ -27,6 +28,7 @@ importers: devDependencies: '@typescript-eslint/eslint-plugin': 5.7.0_c4bea763eb4ed28c020b4d51c0804f1f '@typescript-eslint/parser': 5.7.0_eslint@7.32.0+typescript@4.4.4 + cross-env: 7.0.3 eslint: 7.32.0 eslint-config-airbnb-base: 15.0.0_a820dc868cc8cd66d8297be6779b9035 eslint-config-prettier: 8.3.0_eslint@7.32.0 @@ -5451,6 +5453,14 @@ packages: resolution: {integrity: sha512-re7UdjE5UnwdrovyhNzZ6gathI4Rs3KGCBSc8HCIjUo5hO42CtzyblmWLj6QWVw7huHyDMfpKxhiO2II77nhDw==} dev: false + /cross-env/7.0.3: + resolution: {integrity: sha512-+/HKd6EgcQCJGh2PSjZuUitQBQynKor4wrFbRg4DtAgS1aWO+gU52xpH7M9ScGgXSYmAVS9bIJ8EzuaGw0oNAw==} + engines: {node: '>=10.14', npm: '>=6', yarn: '>=1'} + hasBin: true + dependencies: + cross-spawn: 7.0.3 + dev: true + /cross-spawn/6.0.5: resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} engines: {node: '>=4.8'} diff --git a/web/package.json b/web/package.json index 5a168cf..0ea1842 100644 --- a/web/package.json +++ b/web/package.json @@ -39,7 +39,7 @@ "web-vitals": "1.1.2" }, "scripts": { - "start": "PORT=8000 TAILWIND_MODE=watch craco start", + "start": "cross-env PORT=8000 TAILWIND_MODE=watch craco start", "build": "craco build", "test": "craco test", "eject": "react-scripts eject",