Skip to content
This repository has been archived by the owner on Dec 31, 2020. It is now read-only.

Commit

Permalink
Upgrade React
Browse files Browse the repository at this point in the history
  • Loading branch information
danielkcz committed Aug 9, 2019
1 parent dbdfe3d commit 52d5483
Show file tree
Hide file tree
Showing 2 changed files with 183 additions and 196 deletions.
228 changes: 114 additions & 114 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,117 +1,117 @@
{
"name": "mobx-react",
"version": "6.1.2",
"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\"",
"lint": "eslint .",
"test": "jest && yarn test:ts",
"test:ts": "tsc -p test/ts",
"test:ci": "jest -i --coverage && yarn test:ts && yarn lint",
"size": "size-limit",
"build": "yarn bundle && yarn copytypes && yarn makern",
"copytypes": "shx cp src/index.d.ts dist/mobx-react.d.ts",
"makern": "shx cp dist/mobx-react.module.js dist/mobx-react.rn.module.js && yarn replace \"react-dom\" \"react-native\" dist/mobx-react.rn.module.js --silent",
"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",
"resolutions": {
"@types/yargs": "12.0.1"
},
"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",
"@testing-library/jest-dom": "^4.0.0",
"@testing-library/react": "^8.0.4",
"@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-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",
"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",
"replace": "^1.1.0",
"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",
"eslint --fix",
"git add"
]
},
"jest": {
"setupFilesAfterEnv": [
"@testing-library/react/cleanup-after-each",
"@testing-library/jest-dom/extend-expect",
"<rootDir>/jest.setup.js"
"name": "mobx-react",
"version": "6.1.2",
"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\"",
"lint": "eslint .",
"test": "jest && yarn test:ts",
"test:ts": "tsc -p test/ts",
"test:ci": "jest -i --coverage && yarn test:ts && yarn lint",
"size": "size-limit",
"build": "yarn bundle && yarn copytypes && yarn makern",
"copytypes": "shx cp src/index.d.ts dist/mobx-react.d.ts",
"makern": "shx cp dist/mobx-react.module.js dist/mobx-react.rn.module.js && yarn replace \"react-dom\" \"react-native\" dist/mobx-react.rn.module.js --silent",
"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",
"resolutions": {
"@types/yargs": "12.0.1"
},
"peerDependencies": {
"mobx": "^4.0.0 || ^5.0.0",
"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": "^8.0.4",
"@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-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",
"microbundle": "^0.11.0",
"mobx": "^5.0.0",
"prettier": "^1.7.2",
"prop-types": "^15.6.0",
"react": "^16.9.0",
"react-dom": "^16.9.0",
"react-test-renderer": "^16.9.0",
"replace": "^1.1.0",
"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"
],
"testURL": "http://127.0.0.1/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
"keywords": [
"mobx",
"mobservable",
"react-component",
"react",
"reactjs",
"reactive"
],
"lint-staged": {
"*.{ts,js}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"jest": {
"setupFilesAfterEnv": [
"@testing-library/react/cleanup-after-each",
"@testing-library/jest-dom/extend-expect",
"<rootDir>/jest.setup.js"
],
"testURL": "http://127.0.0.1/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
}
}
}
}
Loading

0 comments on commit 52d5483

Please sign in to comment.