1 | {
|
2 | "name": "mobx-react-lite",
|
3 | "version": "3.4.0",
|
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 | "peerDependencies": {
|
41 | "mobx": "^6.1.0",
|
42 | "react": "^16.8.0 || ^17 || ^18"
|
43 | },
|
44 | "peerDependenciesMeta": {
|
45 | "react-dom": {
|
46 | "optional": true
|
47 | },
|
48 | "react-native": {
|
49 | "optional": true
|
50 | }
|
51 | },
|
52 | "devDependencies": {
|
53 | "mobx": "^6.4.0",
|
54 | "expose-gc": "^1.0.0"
|
55 | },
|
56 | "keywords": [
|
57 | "mobx",
|
58 | "mobservable",
|
59 | "react-component",
|
60 | "react",
|
61 | "reactjs",
|
62 | "reactive",
|
63 | "hooks",
|
64 | "observer",
|
65 | "useLocalObservable"
|
66 | ],
|
67 | "scripts": {
|
68 | "lint": "eslint src/**/* --ext .js,.ts,.tsx",
|
69 | "build": "node ../../scripts/build.js mobxReactLite",
|
70 | "build:test": "yarn build --target test",
|
71 | "build:cjs": "tsc --project tsconfig.build.cjs.json",
|
72 | "build:es": "tsc --project tsconfig.build.es.json",
|
73 | "test": "jest",
|
74 | "test:size": "yarn import-size --report . observer useLocalObservable",
|
75 | "test:types": "tsc --noEmit",
|
76 | "test:check": "yarn test:types",
|
77 | "prepublish": "yarn build --target publish && yarn build:cjs && yarn build:es"
|
78 | }
|
79 | }
|