UNPKG

mobx-react

Version:

React bindings for MobX. Create fully reactive components.

97 lines 2.85 kB
{ "name": "mobx-react", "version": "6.1.0", "description": "React bindings for MobX. Create fully reactive components.", "source": "src/index.js", "main": "dist/mobx-react.js", "jsnext:main": "dist/mobx-react.module.js", "umd:main": "dist/mobx-react.umd.js", "unpkg": "dist/mobx-react.umd.js", "module": "dist/mobx-react.module.js", "react-native": "dist/mobx-react.rn.module.js", "types": "dist/mobx-react.d.ts", "repository": { "type": "git", "url": "https://github.com/mobxjs/mobx-react.git" }, "scripts": { "prettier": "prettier --write \"**/*.js\" \"**/*.ts\"", "test": "jest && yarn test:ts", "test:ts": "tsc -p test/ts", "test:ci": "jest -i --coverage && yarn test:ts", "size": "size-limit", "build": "yarn bundle && shx cp src/index.d.ts dist/mobx-react.d.ts && shx cp dist/mobx-react.module.js dist/mobx-react.rn.module.js && sed -i 's/\"react-dom\"/\"react-native\"/g' dist/mobx-react.rn.module.js", "bundle": "microbundle --jsx React.createElement --external mobx,react,react-dom,mobx-react-lite --globals react-dom=ReactDOM,react=React,mobx-react-lite=mobxReactLite --name mobxReact", "watch": "jest --watch" }, "author": "Michel Weststrate", "license": "MIT", "bugs": { "url": "https://github.com/mobxjs/mobx/issues" }, "homepage": "https://mobxjs.github.io/mobx", "peerDependencies": { "mobx": "^4.0.0 || ^5.0.0", "react": "^16.8.0" }, "devDependencies": { "@babel/core": "^7.1.0", "@babel/plugin-proposal-class-properties": "^7.1.0", "@babel/plugin-proposal-decorators": "^7.1.0", "@babel/plugin-transform-react-jsx": "^7.0.0", "@babel/preset-env": "^7.1.0", "@types/create-react-class": "^15.6.0", "@types/node": "^10.0.0", "@types/prop-types": "^15.5.2", "@types/react": "^16.0.13", "@types/react-dom": "^16.0.1", "babel-jest": "^24.1.0", "coveralls": "^3.0.3", "create-react-class": "^15.6.2", "husky": "^1.0.0", "jest": "^24.0.0", "jest-environment-jsdom": "^24.0.0", "lint-staged": "^7.0.5", "lodash": "^4.17.4", "microbundle": "^0.11.0", "mobx": "^5.0.0", "prettier": "^1.7.2", "prop-types": "^15.6.0", "react": "^16.8.2", "react-dom": "^16.8.2", "react-test-renderer": "^16.6.3", "request": "^2.83.0", "shelljs": "^0.8.3", "shx": "^0.3.2", "size-limit": "^1.3.2", "typescript": "^2.6.0" }, "dependencies": { "mobx-react-lite": "1.4.0" }, "files": [ "dist" ], "keywords": [ "mobx", "mobservable", "react-component", "react", "reactjs", "reactive" ], "lint-staged": { "*.{ts,js}": [ "prettier --write", "git add" ] }, "jest": { "testURL": "http://127.0.0.1/" }, "husky": { "hooks": { "pre-commit": "lint-staged" } } }