UNPKG

2.41 kBJSONView Raw
1{
2 "name": "mobx-react-lite",
3 "version": "4.0.7",
4 "description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks",
5 "source": "src/index.ts",
6 "main": "dist/index.js",
7 "umd:main": "dist/mobxreact.umd.production.min.js",
8 "unpkg": "dist/mobxreactlite.umd.production.min.js",
9 "jsdelivr": "dist/mobxreactlite.umd.production.min.js",
10 "jsnext:main": "dist/mobxreactlite.esm.production.min.js",
11 "module": "es/index.js",
12 "react-native": "es/index.js",
13 "types": "dist/index.d.ts",
14 "typings": "dist/index.d.ts",
15 "files": [
16 "src",
17 "dist/",
18 "lib/",
19 "es/",
20 "LICENSE",
21 "CHANGELOG.md",
22 "README.md",
23 "batching*"
24 ],
25 "repository": {
26 "type": "git",
27 "url": "https://github.com/mobxjs/mobx.git"
28 },
29 "author": "Daniel K.",
30 "license": "MIT",
31 "funding": {
32 "type": "opencollective",
33 "url": "https://opencollective.com/mobx"
34 },
35 "bugs": {
36 "url": "https://github.com/mobxjs/mobx/issues"
37 },
38 "homepage": "https://mobx.js.org",
39 "dependencies": {
40 "use-sync-external-store": "^1.2.0"
41 },
42 "peerDependencies": {
43 "mobx": "^6.9.0",
44 "react": "^16.8.0 || ^17 || ^18"
45 },
46 "peerDependenciesMeta": {
47 "react-dom": {
48 "optional": true
49 },
50 "react-native": {
51 "optional": true
52 }
53 },
54 "devDependencies": {
55 "mobx": "^6.12.2",
56 "expose-gc": "^1.0.0"
57 },
58 "keywords": [
59 "mobx",
60 "mobservable",
61 "react-component",
62 "react",
63 "reactjs",
64 "reactive",
65 "hooks",
66 "observer",
67 "useLocalObservable"
68 ],
69 "scripts": {
70 "lint": "eslint src/**/* --ext .js,.ts,.tsx",
71 "build": "node ../../scripts/build.js mobxReactLite",
72 "build:test": "yarn build --target test",
73 "build:cjs": "tsc --project tsconfig.build.cjs.json",
74 "build:es": "tsc --project tsconfig.build.es.json",
75 "test": "jest",
76 "test:size": "yarn import-size --report . observer useLocalObservable",
77 "test:types": "tsc --noEmit",
78 "test:check": "yarn test:types",
79 "prepublishOnly": "cd ../mobx && yarn build --target publish && cd ../mobx-react-lite && yarn build --target publish && yarn build:cjs && yarn build:es"
80 }
81}