main
json 44 lines 1.25 KB
Raw
1 {
2 "name": "use-sync-external-store",
3 "description": "Backwards compatible shim for React's useSyncExternalStore. Works with any React that supports hooks.",
4 "version": "1.7.0",
5 "exports": {
6 ".": "./index.js",
7 "./with-selector": "./with-selector.js",
8 "./with-selector.js": "./with-selector.js",
9 "./shim": {
10 "react-native": "./shim/index.native.js",
11 "default": "./shim/index.js"
12 },
13 "./shim/index.js": "./shim/index.js",
14 "./shim/index.native": "./shim/index.native.js",
15 "./shim/index.native.js": "./shim/index.native.js",
16 "./shim/with-selector": "./shim/with-selector.js",
17 "./shim/with-selector.js": "./shim/with-selector.js",
18 "./package.json": "./package.json",
19 "./src/*": "./src/*.js"
20 },
21 "repository": {
22 "type": "git",
23 "url": "https://github.com/react/react.git",
24 "directory": "packages/use-sync-external-store"
25 },
26 "files": [
27 "LICENSE",
28 "README.md",
29 "index.js",
30 "index.native.js",
31 "with-selector.js",
32 "with-selector.native.js",
33 "shim/",
34 "cjs/"
35 ],
36 "license": "MIT",
37 "peerDependencies": {
38 "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
39 },
40 "devDependencies": {
41 "react-17": "npm:react@^17",
42 "react-dom-17": "npm:react-dom@^17"
43 }
44 }