From c2b3905c8e0ade69397670067fe6968b3db91107 Mon Sep 17 00:00:00 2001 From: Patrick Fic Date: Mon, 20 Nov 2023 14:43:07 -0800 Subject: [PATCH] Remove references to Yarn in packages files. --- client/package.json | 4 ++-- package.json | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/client/package.json b/client/package.json index f99e882b7..602f30e12 100644 --- a/client/package.json +++ b/client/package.json @@ -89,8 +89,8 @@ "analyze": "source-map-explorer 'build/static/js/*.js'", "start": "craco start", "build": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build", - "build:test": "env-cmd -f .env.test yarn run build", - "build-deploy:test": "yarn run build:test && s3cmd sync build/* s3://imex-online-test && echo '🚀 TESTING Deployed!'", + "build:test": "env-cmd -f .env.test npm run build", + "build-deploy:test": "npm run build:test && s3cmd sync build/* s3://imex-online-test && echo '🚀 TESTING Deployed!'", "buildcra": "REACT_APP_GIT_SHA=`git rev-parse --short HEAD` craco build", "test": "cypress open", "eject": "react-scripts eject", diff --git a/package.json b/package.json index 0115d9b82..7d2748e0f 100644 --- a/package.json +++ b/package.json @@ -7,13 +7,13 @@ "npm": ">=8.0.0" }, "scripts": { - "setup": "rm -rf node_modules && yarn && cd client && rm -rf node_modules && yarn", - "admin": "cd admin && yarn start", - "client": "cd client && yarn start", + "setup": "rm -rf node_modules && npm i && cd client && rm -rf node_modules && npm i", + "admin": "cd admin && npm start", + "client": "cd client && npm start", "server": "nodemon server.js", - "build": "cd client && yarn run build", - "dev": "concurrently --kill-others-on-fail \"yarn run server\" \"yarn run client\"", - "deva": "concurrently --kill-others-on-fail \"yarn run server\" \"yarn run client\" \"yarn run admin\"", + "build": "cd client && npm run build", + "dev": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\"", + "deva": "concurrently --kill-others-on-fail \"npm run server\" \"npm run client\" \"npm run admin\"", "start": "node server.js" }, "dependencies": {