From 41c4ba225ec3166c250cf7c6c019246b5cbf9418 Mon Sep 17 00:00:00 2001 From: Jesse Chan Date: Wed, 21 Oct 2020 19:52:43 +0800 Subject: [PATCH] dependencies: remove cypress from package.json Cypress is huge. npm still attempts to install optional dependencies. It shall be installed manually if frontend testing is needed. --- .github/workflows/test-frontend.yml | 2 +- package.json | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/test-frontend.yml b/.github/workflows/test-frontend.yml index 08aa492c..c9ec0d4a 100644 --- a/.github/workflows/test-frontend.yml +++ b/.github/workflows/test-frontend.yml @@ -20,7 +20,7 @@ jobs: - run: sudo apt-get install -y rtorrent - - run: sudo npm i -g wait-on + - run: sudo npm i -g wait-on cypress - run: npm ci - run: npm run build diff --git a/package.json b/package.json index 9eca35fe..d6ea8493 100644 --- a/package.json +++ b/package.json @@ -201,10 +201,6 @@ "yargs": "^16.0.3", "zod": "^1.11.9" }, - "optionalDependencies": { - "cypress": "^5.4.0", - "start-server-and-test": "^1.11.5" - }, "eslintConfig": { "extends": "react-app" },