mobx-react-lite
Version:
Lightweight React bindings for MobX based on function components and Hooks
85 lines (84 loc) • 2.51 kB
JSON
{
"name": "mobx-react-lite",
"version": "5.0.0",
"description": "Lightweight React bindings for MobX based on function components and Hooks",
"source": "src/index.ts",
"type": "commonjs",
"main": "dist/index.js",
"umd:main": "dist/mobxreactlite.umd.production.min.js",
"unpkg": "dist/mobxreactlite.umd.production.min.js",
"jsdelivr": "dist/mobxreactlite.umd.production.min.js",
"jsnext:main": "dist/mobxreactlite.esm.production.min.js",
"module": "dist/mobxreactlite.esm.js",
"react-native": "dist/mobxreactlite.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/mobxreactlite.esm.js"
},
"import": {
"types": "./dist/index.d.ts",
"default": "./dist/mobxreactlite.mjs"
},
"default": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
}
},
"./dist/*": "./dist/*",
"./src/*": "./src/*"
},
"files": [
"src",
"dist",
"LICENSE",
"CHANGELOG.md",
"README.md"
],
"repository": {
"type": "git",
"url": "https://github.com/mobxjs/mobx.git"
},
"author": "Daniel K.",
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mobx"
},
"bugs": {
"url": "https://github.com/mobxjs/mobx/issues"
},
"homepage": "https://mobx.js.org",
"peerDependencies": {
"mobx": "^7.0.0",
"react": "^18 || ^19"
},
"devDependencies": {
"mobx": "^7.0.0"
},
"keywords": [
"mobx",
"mobservable",
"react-component",
"react",
"reactjs",
"reactive",
"hooks",
"observer",
"useLocalObservable"
],
"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 useLocalObservable",
"test:types": "tsc --noEmit",
"test:check": "npm run test:types",
"prepublishOnly": "npm run build -- --environment TARGET:publish"
}
}