From 1b410bb518d1eabcb68aeace4045480bc1f44d13 Mon Sep 17 00:00:00 2001 From: Scott Beale Date: Tue, 20 Jun 2023 13:55:33 -0400 Subject: [PATCH] chore: rearrange dependencies to minimize installed package size --- package.json | 11 +++++++---- yarn.lock | 6 +++--- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index d372b80..b632d47 100644 --- a/package.json +++ b/package.json @@ -42,12 +42,15 @@ "eslint-plugin-square": "^20.0.2", "jest": "^27.2.4", "ts-jest": "^27.0.5", - "typescript": "^4.5.5" + "ts-jest-resolver": "^2.0.1", + "typescript": "^4.5.5", + "svelte": "^3.0.0" }, "dependencies": { - "cookie-storage": "^6.1.0", - "svelte": "^3.0.0", - "ts-jest-resolver": "^2.0.1" + "cookie-storage": "^6.1.0" + }, + "peerDependencies": { + "svelte": "^3.0.0" }, "license": "ISC", "author": "Square", diff --git a/yarn.lock b/yarn.lock index 0c8af26..58a7d92 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3842,9 +3842,9 @@ supports-preserve-symlinks-flag@^1.0.0: integrity sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w== svelte@^3.0.0: - version "3.50.1" - resolved "https://registry.npmjs.org/svelte/-/svelte-3.50.1.tgz" - integrity sha512-bS4odcsdj5D5jEg6riZuMg5NKelzPtmsCbD9RG+8umU03TeNkdWnP6pqbCm0s8UQNBkqk29w/Bdubn3C+HWSwA== + version "3.59.2" + resolved "https://registry.npmjs.org/svelte/-/svelte-3.59.2.tgz#a137b28e025a181292b2ae2e3dca90bf8ec73aec" + integrity sha512-vzSyuGr3eEoAtT/A6bmajosJZIUWySzY2CzB3w2pgPvnkUjGqlDnsNnA0PMO+mMAhuyMul6C2uuZzY6ELSkzyA== symbol-tree@^3.2.4: version "3.2.4"