From c4910fe77b9b6d3d5b1807c72de4078bd634698c Mon Sep 17 00:00:00 2001 From: xomcodes Date: Sun, 6 Nov 2022 22:28:03 +0000 Subject: [PATCH] Add jQuery types package dependency - This will make it easier to work with jQuery in TypeScript --- package-lock.json | 31 +++++++++++++++++++++++++++++++ package.json | 1 + 2 files changed, 32 insertions(+) diff --git a/package-lock.json b/package-lock.json index b749bba011..7cab8df02c 100644 --- a/package-lock.json +++ b/package-lock.json @@ -37,6 +37,7 @@ "@storybook/react": "^6.4.19", "@types/draft-js": "^0.10.45", "@types/jest": "^26.0.24", + "@types/jquery": "^3.5.14", "@types/react": "^16.14.21", "@types/react-dom": "^16.0", "@types/react-redux": "^7.1.20", @@ -13347,6 +13348,15 @@ "pretty-format": "^26.0.0" } }, + "node_modules/@types/jquery": { + "version": "3.5.14", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.14.tgz", + "integrity": "sha512-X1gtMRMbziVQkErhTQmSe2jFwwENA/Zr+PprCkF63vFq+Yt5PZ4AlKqgmeNlwgn7dhsXEK888eIW2520EpC+xg==", + "dev": true, + "dependencies": { + "@types/sizzle": "*" + } + }, "node_modules/@types/json-schema": { "version": "7.0.9", "dev": true, @@ -13478,6 +13488,12 @@ "version": "0.16.2", "license": "MIT" }, + "node_modules/@types/sizzle": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz", + "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==", + "dev": true + }, "node_modules/@types/source-list-map": { "version": "0.1.2", "dev": true, @@ -40821,6 +40837,15 @@ "pretty-format": "^26.0.0" } }, + "@types/jquery": { + "version": "3.5.14", + "resolved": "https://registry.npmjs.org/@types/jquery/-/jquery-3.5.14.tgz", + "integrity": "sha512-X1gtMRMbziVQkErhTQmSe2jFwwENA/Zr+PprCkF63vFq+Yt5PZ4AlKqgmeNlwgn7dhsXEK888eIW2520EpC+xg==", + "dev": true, + "requires": { + "@types/sizzle": "*" + } + }, "@types/json-schema": { "version": "7.0.9", "dev": true @@ -40933,6 +40958,12 @@ "@types/scheduler": { "version": "0.16.2" }, + "@types/sizzle": { + "version": "2.3.3", + "resolved": "https://registry.npmjs.org/@types/sizzle/-/sizzle-2.3.3.tgz", + "integrity": "sha512-JYM8x9EGF163bEyhdJBpR2QX1R5naCJHC8ucJylJ3w9/CVBaskdQ8WqBf8MmQrd1kRvp/a4TS8HJ+bxzR7ZJYQ==", + "dev": true + }, "@types/source-list-map": { "version": "0.1.2", "dev": true diff --git a/package.json b/package.json index ac33f63341..cddc9da8df 100644 --- a/package.json +++ b/package.json @@ -62,6 +62,7 @@ "@storybook/react": "^6.4.19", "@types/draft-js": "^0.10.45", "@types/jest": "^26.0.24", + "@types/jquery": "^3.5.14", "@types/react": "^16.14.21", "@types/react-dom": "^16.0", "@types/react-redux": "^7.1.20",