mobx-react
Version:
React bindings for MobX. Create fully reactive components.
140 lines • 3.9 kB
JSON
{
"name": "mobx-react",
"version": "6.1.7",
"description": "React bindings for MobX. Create fully reactive components.",
"source": "src/index.ts",
"main": "dist/index.js",
"umd:main": "dist/mobxreact.umd.production.min.js",
"unpkg": "dist/mobxreact.umd.production.min.js",
"jsnext:main": "dist/mobxreact.esm.js",
"module": "dist/mobxreact.esm.js",
"react-native": "dist/mobxreact.rn.module.js",
"types": "dist/index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/mobxjs/mobx-react.git"
},
"scripts": {
"test": "jest",
"watch": "jest --watch",
"lint": "eslint src/**/*.ts",
"test:types": "yarn tsc --noEmit",
"test:check": "yarn test:types && yarn lint",
"test:ts": "tsc -p test/ts",
"test:coverage": "jest -i --coverage",
"test:size": "size-limit",
"prettier": "prettier --write \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"",
"release": "node publish.js",
"build": "tsdx build --name mobxReact --format cjs,esm,umd",
"postbuild": "yarn makern && yarn v6compat",
"makern": "shx cp dist/mobxreact.esm.js dist/mobxreact.rn.module.js && yarn replace \"react-dom\" \"react-native\" dist/mobxreact.rn.module.js --silent",
"v6compat": "shx cp dist/mobxreact.umd.production.min.js dist/mobx-react.umd.js"
},
"author": "Michel Weststrate",
"license": "MIT",
"bugs": {
"url": "https://github.com/mobxjs/mobx/issues"
},
"homepage": "https://mobxjs.github.io/mobx",
"resolutions": {
"@types/yargs": "12.0.1"
},
"peerDependencies": {
"mobx": "^5.15.4 || ^4.15.4",
"react": "^16.8.0 || 16.9.0-alpha.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",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^9.0.2",
"@types/create-react-class": "^15.6.0",
"@types/jest": "^24.9.1",
"@types/node": "^10.0.0",
"@types/prop-types": "^15.5.2",
"@types/react": "^16.0.13",
"@types/react-dom": "^16.0.1",
"@typescript-eslint/eslint-plugin": "^2.12.0",
"@typescript-eslint/parser": "^2.12.0",
"babel-eslint": "^10.0.2",
"babel-jest": "^24.1.0",
"coveralls": "^3.0.3",
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"husky": "^1.0.0",
"jest": "^24.0.0",
"jest-environment-jsdom": "^24.0.0",
"jest-mock-console": "^1.0.0",
"lint-staged": "^7.0.5",
"lodash": "^4.17.4",
"mobx": "^5.15.4",
"prettier": "^1.7.2",
"prop-types": "^15.7.2",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"replace": "^1.1.0",
"request": "^2.83.0",
"shelljs": "^0.8.3",
"shx": "^0.3.2",
"size-limit": "^1.3.2",
"ts-jest": "^24.0.0",
"tsdx": "0.12.3",
"tslib": "1.10.0",
"typescript": "^3.7.0"
},
"dependencies": {
"mobx-react-lite": "^1.4.2"
},
"files": [
"dist"
],
"keywords": [
"mobx",
"mobservable",
"react-component",
"react",
"reactjs",
"reactive"
],
"lint-staged": {
"*.{ts,tsx,js}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"jest": {
"globals": {
"ts-jest": {
"tsConfig": "tsconfig.test.json"
}
},
"transform": {
"^.+\\.tsx?$": "ts-jest",
"^.+\\.jsx?$": "babel-jest"
},
"moduleFileExtensions": [
"ts",
"tsx",
"js",
"jsx",
"json"
],
"testPathIgnorePatterns": [
"/node_modules/",
"/\\./"
],
"watchPathIgnorePatterns": [
"<rootDir>/node_modules/"
],
"setupFilesAfterEnv": [
"<rootDir>/jest.setup.ts"
],
"testURL": "http://127.0.0.1/"
}
}