add some dependencies

This commit is contained in:
PrinOrange
2024-01-04 12:30:24 +08:00
parent 1b7a70530c
commit cc7e71ff1b
2 changed files with 49 additions and 2 deletions

47
package-lock.json generated
View File

@@ -43,6 +43,7 @@
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18.2.0",
"react-icons": "^4.11.0",
"react-swipeable": "^7.0.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-katex": "^6.0.3",
"rehype-mathjax": "^5.0.0",
@@ -56,7 +57,8 @@
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.2.2"
"typescript": "5.2.2",
"zustand": "^4.4.7"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
@@ -12982,6 +12984,14 @@
}
}
},
"node_modules/react-swipeable": {
"version": "7.0.1",
"resolved": "https://registry.npmjs.org/react-swipeable/-/react-swipeable-7.0.1.tgz",
"integrity": "sha512-RKB17JdQzvECfnVj9yDZsiYn3vH0eyva/ZbrCZXZR0qp66PBRhtg4F9yJcJTWYT5Adadi+x4NoG53BxKHwIYLQ==",
"peerDependencies": {
"react": "^16.8.3 || ^17 || ^18"
}
},
"node_modules/read-cache": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/read-cache/-/read-cache-1.0.0.tgz",
@@ -17092,6 +17102,14 @@
}
}
},
"node_modules/use-sync-external-store": {
"version": "1.2.0",
"resolved": "https://registry.npmjs.org/use-sync-external-store/-/use-sync-external-store-1.2.0.tgz",
"integrity": "sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==",
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0"
}
},
"node_modules/util": {
"version": "0.12.5",
"resolved": "https://registry.npmjs.org/util/-/util-0.12.5.tgz",
@@ -17729,6 +17747,33 @@
"node": ">= 12.0.0"
}
},
"node_modules/zustand": {
"version": "4.4.7",
"resolved": "https://registry.npmjs.org/zustand/-/zustand-4.4.7.tgz",
"integrity": "sha512-QFJWJMdlETcI69paJwhSMJz7PPWjVP8Sjhclxmxmxv/RYI7ZOvR5BHX+ktH0we9gTWQMxcne8q1OY8xxz604gw==",
"dependencies": {
"use-sync-external-store": "1.2.0"
},
"engines": {
"node": ">=12.7.0"
},
"peerDependencies": {
"@types/react": ">=16.8",
"immer": ">=9.0",
"react": ">=16.8"
},
"peerDependenciesMeta": {
"@types/react": {
"optional": true
},
"immer": {
"optional": true
},
"react": {
"optional": true
}
}
},
"node_modules/zwitch": {
"version": "2.0.4",
"resolved": "https://registry.npmjs.org/zwitch/-/zwitch-2.0.4.tgz",

View File

@@ -59,6 +59,7 @@
"react-copy-to-clipboard": "^5.1.0",
"react-dom": "18.2.0",
"react-icons": "^4.11.0",
"react-swipeable": "^7.0.1",
"rehype-autolink-headings": "^7.1.0",
"rehype-katex": "^6.0.3",
"rehype-mathjax": "^5.0.0",
@@ -72,7 +73,8 @@
"tailwind-merge": "^2.0.0",
"tailwindcss": "^3.4.0",
"tailwindcss-animate": "^1.0.7",
"typescript": "5.2.2"
"typescript": "5.2.2",
"zustand": "^4.4.7"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",