From ad829b4c362095e03daa755e7470e89d466ea985 Mon Sep 17 00:00:00 2001 From: Wayne Duran Date: Thu, 22 Jul 2021 12:38:07 +0800 Subject: [PATCH] fix: moving types to main deps --- package-lock.json | 22 ++++++---------------- package.json | 8 ++++---- 2 files changed, 10 insertions(+), 20 deletions(-) diff --git a/package-lock.json b/package-lock.json index f9c9057..10c18d4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,10 @@ "@types/node": "^12.20.15", "@types/react": "^16.14.10", "@types/react-dom": "^16.9.13", + "@types/react-router-dom": "^5.1.7", + "@types/standard-version": "^7.0.1", + "@typescript-eslint/eslint-plugin": "^4.28.1", + "@typescript-eslint/parser": "^4.28.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-router-dom": "^5.2.0", @@ -40,10 +44,6 @@ "@commitlint/config-conventional": "^12.1.4", "@testing-library/cypress": "^7.0.6", "@testing-library/react": "^12.0.0", - "@types/react-router-dom": "^5.1.7", - "@types/standard-version": "^7.0.1", - "@typescript-eslint/eslint-plugin": "^4.28.1", - "@typescript-eslint/parser": "^4.28.1", "cypress": "^7.6.0", "cypress-hmr-restarter": "^2.0.2", "eslint": "^7.30.0", @@ -4351,7 +4351,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", "integrity": "sha512-JQLPvCqa8byksGs6ccQZ5VmawYEUJbZqAfn3PK+cUFdY4X6UYYiGDpc2YjnnZpP/xL5kldMgyphyux9n17kq1A==", - "dev": true, "dependencies": { "@types/json-schema": "*" } @@ -4390,8 +4389,7 @@ "node_modules/@types/history": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.8.tgz", - "integrity": "sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==", - "dev": true + "integrity": "sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==" }, "node_modules/@types/html-minifier-terser": { "version": "5.1.1", @@ -4501,7 +4499,6 @@ "version": "5.1.15", "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.15.tgz", "integrity": "sha512-z3UlMG/x91SFEVmmvykk9FLTliDvfdIUky4k2rCfXWQ0NKbrP8o9BTCaCTPuYsB8gDkUnUmkcA2vYlm2DR+HAA==", - "dev": true, "dependencies": { "@types/history": "*", "@types/react": "*" @@ -4511,7 +4508,6 @@ "version": "5.1.7", "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.7.tgz", "integrity": "sha512-D5mHD6TbdV/DNHYsnwBTv+y73ei+mMjrkGrla86HthE4/PVvL1J94Bu3qABU+COXzpL23T1EZapVVpwHuBXiUg==", - "dev": true, "dependencies": { "@types/history": "*", "@types/react": "*", @@ -4565,7 +4561,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/@types/standard-version/-/standard-version-7.0.1.tgz", "integrity": "sha512-yi8dRWPAGp0LRqHzbZi6N/9TonVicbcDd9L0YpHWIZXoxiBjs6rxX1oEGIea3Bxff2RORCHwidSiwaeWHT/Jxw==", - "dev": true, "dependencies": { "@types/conventional-changelog-config-spec": "*", "@types/node": "*" @@ -28636,7 +28631,6 @@ "version": "2.1.0", "resolved": "https://registry.npmjs.org/@types/conventional-changelog-config-spec/-/conventional-changelog-config-spec-2.1.0.tgz", "integrity": "sha512-JQLPvCqa8byksGs6ccQZ5VmawYEUJbZqAfn3PK+cUFdY4X6UYYiGDpc2YjnnZpP/xL5kldMgyphyux9n17kq1A==", - "dev": true, "requires": { "@types/json-schema": "*" } @@ -28675,8 +28669,7 @@ "@types/history": { "version": "4.7.8", "resolved": "https://registry.npmjs.org/@types/history/-/history-4.7.8.tgz", - "integrity": "sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==", - "dev": true + "integrity": "sha512-S78QIYirQcUoo6UJZx9CSP0O2ix9IaeAXwQi26Rhr/+mg7qqPy8TzaxHSUut7eGjL8WmLccT7/MXf304WjqHcA==" }, "@types/html-minifier-terser": { "version": "5.1.1", @@ -28786,7 +28779,6 @@ "version": "5.1.15", "resolved": "https://registry.npmjs.org/@types/react-router/-/react-router-5.1.15.tgz", "integrity": "sha512-z3UlMG/x91SFEVmmvykk9FLTliDvfdIUky4k2rCfXWQ0NKbrP8o9BTCaCTPuYsB8gDkUnUmkcA2vYlm2DR+HAA==", - "dev": true, "requires": { "@types/history": "*", "@types/react": "*" @@ -28796,7 +28788,6 @@ "version": "5.1.7", "resolved": "https://registry.npmjs.org/@types/react-router-dom/-/react-router-dom-5.1.7.tgz", "integrity": "sha512-D5mHD6TbdV/DNHYsnwBTv+y73ei+mMjrkGrla86HthE4/PVvL1J94Bu3qABU+COXzpL23T1EZapVVpwHuBXiUg==", - "dev": true, "requires": { "@types/history": "*", "@types/react": "*", @@ -28850,7 +28841,6 @@ "version": "7.0.1", "resolved": "https://registry.npmjs.org/@types/standard-version/-/standard-version-7.0.1.tgz", "integrity": "sha512-yi8dRWPAGp0LRqHzbZi6N/9TonVicbcDd9L0YpHWIZXoxiBjs6rxX1oEGIea3Bxff2RORCHwidSiwaeWHT/Jxw==", - "dev": true, "requires": { "@types/conventional-changelog-config-spec": "*", "@types/node": "*" diff --git a/package.json b/package.json index be46e45..56c2bdb 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,10 @@ "@types/node": "^12.20.15", "@types/react": "^16.14.10", "@types/react-dom": "^16.9.13", + "@types/react-router-dom": "^5.1.7", + "@types/standard-version": "^7.0.1", + "@typescript-eslint/eslint-plugin": "^4.28.1", + "@typescript-eslint/parser": "^4.28.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-router-dom": "^5.2.0", @@ -74,10 +78,6 @@ "@commitlint/config-conventional": "^12.1.4", "@testing-library/cypress": "^7.0.6", "@testing-library/react": "^12.0.0", - "@types/react-router-dom": "^5.1.7", - "@types/standard-version": "^7.0.1", - "@typescript-eslint/eslint-plugin": "^4.28.1", - "@typescript-eslint/parser": "^4.28.1", "cypress": "^7.6.0", "cypress-hmr-restarter": "^2.0.2", "eslint": "^7.30.0",