UNPKG

mobx-react

Version:

React bindings for MobX. Create fully reactive components.

91 lines (90 loc) 2.62 kB
{ "name": "mobx-react", "version": "10.0.2", "description": "React bindings for MobX. Create fully reactive components.", "source": "src/index.ts", "type": "commonjs", "main": "dist/index.js", "umd:main": "dist/mobxreact.umd.production.min.js", "unpkg": "dist/mobxreact.umd.production.min.js", "jsdelivr": "dist/mobxreact.umd.production.min.js", "jsnext:main": "dist/mobxreact.esm.js", "module": "dist/mobxreact.esm.js", "react-native": "dist/mobxreact.esm.js", "types": "dist/index.d.ts", "typings": "dist/index.d.ts", "exports": { "./package.json": "./package.json", ".": { "react-native": { "types": "./dist/index.d.ts", "default": "./dist/mobxreact.esm.js" }, "node": { "types": "./dist/index.d.ts", "default": "./dist/index.js" }, "import": { "types": "./dist/index.d.ts", "default": "./dist/mobxreact.mjs" }, "default": { "types": "./dist/index.d.ts", "default": "./dist/index.js" } }, "./dist/*": "./dist/*", "./src/*": "./src/*" }, "files": [ "src", "dist", "LICENSE", "CHANGELOG.md", "README.md" ], "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/mobxjs/mobx.git" }, "author": "Michel Weststrate", "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/mobx" }, "bugs": { "url": "https://github.com/mobxjs/mobx/issues" }, "homepage": "https://mobx.js.org", "dependencies": { "mobx-react-lite": "^5.0.3" }, "peerDependencies": { "mobx": "^7.0.0", "react": "^18 || ^19" }, "devDependencies": { "mobx": "^7.0.3", "mobx-react-lite": "^5.0.3" }, "keywords": [ "mobx", "mobservable", "react-component", "react", "reactjs", "reactive" ], "scripts": { "lint": "eslint src/**/* --ext .js,.ts,.tsx", "build": "rollup --config rollup.config.mjs", "build:test": "npm run build -- --environment TARGET:test", "test": "jest", "test:size": "import-size --report . observer", "test:types": "tsc --noEmit", "test:check": "npm run test:types", "prepublishOnly": "npm run build -- --environment TARGET:publish" } }