From 6ff9801ce92301d4bf72644b557ead79ff6dc17d Mon Sep 17 00:00:00 2001 From: Nick Burka Date: Wed, 3 Apr 2024 09:40:51 -0400 Subject: [PATCH 1/2] only use dev dependencies to remove the whole react site from the npm package --- package.json | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) diff --git a/package.json b/package.json index d719161636..b60f055fcf 100644 --- a/package.json +++ b/package.json @@ -17,22 +17,9 @@ "test": "jest --watch", "test:ci": "CI=true jest --ci --reporters=default --reporters=jest-junit" }, - "dependencies": { + "devDependencies": { "@jamesives/github-pages-deploy-action": "^4.1.3", "@reduxjs/toolkit": "^1.6.0", - "classnames": "^2.3.1", - "downshift": "^6.1.3", - "eslint-config-next": "13", - "figma-js": "^1.13.0", - "next": "13", - "react": "^18.2.0", - "react-dom": "^18.2.0", - "react-lazy-load-image-component": "^1.5.1", - "react-modal": "^3.13.1", - "react-redux": "^7.2.4", - "sass": "^1.34.0" - }, - "devDependencies": { "@types/classnames": "^2.3.1", "@types/dotenv-flow": "^3.1.0", "@types/jest": "^26.0.23", @@ -43,9 +30,12 @@ "@typescript-eslint/eslint-plugin": "^4.4.0", "@typescript-eslint/parser": "^4.4.0", "babel-eslint": "^10.1.0", + "classnames": "^2.3.1", "cli-progress": "^3.9.0", "dotenv-flow": "^3.2.0", + "downshift": "^6.1.3", "eslint": "^7.10.0", + "eslint-config-next": "13", "eslint-config-prettier": "^6.12.0", "eslint-config-react-app": "^5.2.1", "eslint-plugin-flowtype": "^5.2.0", @@ -54,11 +44,19 @@ "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.3", "eslint-plugin-react-hooks": "^4.1.2", + "figma-js": "^1.13.0", "jest": "^27.0.4", "jest-junit": "^12.1.0", "lodash.startcase": "^4.4.0", "mkdirp": "^1.0.4", + "next": "13", "prettier": "^2.1.2", + "react": "^18.2.0", + "react-dom": "^18.2.0", + "react-lazy-load-image-component": "^1.5.1", + "react-modal": "^3.13.1", + "react-redux": "^7.2.4", + "sass": "^1.34.0", "sharp": "^0.28.3", "stylelint": "^13.7.2", "stylelint-config-css-modules": "^2.2.0", From 6464fe6a57e68ad4b96f115d6dcc39fbf08c049f Mon Sep 17 00:00:00 2001 From: Nick Burka Date: Wed, 3 Apr 2024 09:41:36 -0400 Subject: [PATCH 2/2] package-version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index b60f055fcf..ebdb427569 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "healthicons", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "scripts": { "dev": "next dev",