1 | {
|
2 | "name": "mobx-react",
|
3 | "version": "6.1.3",
|
4 | "description": "React bindings for MobX. Create fully reactive components.",
|
5 | "source": "src/index.js",
|
6 | "main": "dist/mobx-react.js",
|
7 | "jsnext:main": "dist/mobx-react.module.js",
|
8 | "umd:main": "dist/mobx-react.umd.js",
|
9 | "unpkg": "dist/mobx-react.umd.js",
|
10 | "module": "dist/mobx-react.module.js",
|
11 | "react-native": "dist/mobx-react.rn.module.js",
|
12 | "types": "dist/mobx-react.d.ts",
|
13 | "repository": {
|
14 | "type": "git",
|
15 | "url": "https://github.com/mobxjs/mobx-react.git"
|
16 | },
|
17 | "scripts": {
|
18 | "prettier": "prettier --write \"**/*.js\" \"**/*.ts\"",
|
19 | "lint": "eslint .",
|
20 | "test": "jest && yarn test:ts",
|
21 | "test:ts": "tsc -p test/ts",
|
22 | "test:ci": "jest -i --coverage && yarn test:ts && yarn lint",
|
23 | "size": "size-limit",
|
24 | "build": "yarn bundle && yarn copytypes && yarn makern",
|
25 | "copytypes": "shx cp src/index.d.ts dist/mobx-react.d.ts",
|
26 | "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",
|
27 | "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",
|
28 | "watch": "jest --watch"
|
29 | },
|
30 | "author": "Michel Weststrate",
|
31 | "license": "MIT",
|
32 | "bugs": {
|
33 | "url": "https://github.com/mobxjs/mobx/issues"
|
34 | },
|
35 | "homepage": "https://mobxjs.github.io/mobx",
|
36 | "resolutions": {
|
37 | "@types/yargs": "12.0.1"
|
38 | },
|
39 | "peerDependencies": {
|
40 | "mobx": "^4.0.0 || ^5.0.0",
|
41 | "react": "^16.8.0 || 16.9.0-alpha.0"
|
42 | },
|
43 | "devDependencies": {
|
44 | "@babel/core": "^7.1.0",
|
45 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
46 | "@babel/plugin-proposal-decorators": "^7.1.0",
|
47 | "@babel/plugin-transform-react-jsx": "^7.0.0",
|
48 | "@babel/preset-env": "^7.1.0",
|
49 | "@testing-library/jest-dom": "^4.0.0",
|
50 | "@testing-library/react": "^8.0.4",
|
51 | "@types/create-react-class": "^15.6.0",
|
52 | "@types/node": "^10.0.0",
|
53 | "@types/prop-types": "^15.5.2",
|
54 | "@types/react": "^16.0.13",
|
55 | "@types/react-dom": "^16.0.1",
|
56 | "babel-eslint": "^10.0.2",
|
57 | "babel-jest": "^24.1.0",
|
58 | "coveralls": "^3.0.3",
|
59 | "eslint": "^6.1.0",
|
60 | "eslint-config-prettier": "^6.0.0",
|
61 | "eslint-plugin-prettier": "^3.1.0",
|
62 | "eslint-plugin-react": "^7.14.3",
|
63 | "husky": "^1.0.0",
|
64 | "jest": "^24.0.0",
|
65 | "jest-environment-jsdom": "^24.0.0",
|
66 | "jest-mock-console": "^1.0.0",
|
67 | "lint-staged": "^7.0.5",
|
68 | "lodash": "^4.17.4",
|
69 | "microbundle": "^0.11.0",
|
70 | "mobx": "^5.0.0",
|
71 | "prettier": "^1.7.2",
|
72 | "prop-types": "^15.6.0",
|
73 | "react": "^16.9.0",
|
74 | "react-dom": "^16.9.0",
|
75 | "react-test-renderer": "^16.9.0",
|
76 | "replace": "^1.1.0",
|
77 | "request": "^2.83.0",
|
78 | "shelljs": "^0.8.3",
|
79 | "shx": "^0.3.2",
|
80 | "size-limit": "^1.3.2",
|
81 | "typescript": "^2.6.0"
|
82 | },
|
83 | "dependencies": {
|
84 | "mobx-react-lite": "1.4.0"
|
85 | },
|
86 | "files": [
|
87 | "dist"
|
88 | ],
|
89 | "keywords": [
|
90 | "mobx",
|
91 | "mobservable",
|
92 | "react-component",
|
93 | "react",
|
94 | "reactjs",
|
95 | "reactive"
|
96 | ],
|
97 | "lint-staged": {
|
98 | "*.{ts,js}": [
|
99 | "prettier --write",
|
100 | "eslint --fix",
|
101 | "git add"
|
102 | ]
|
103 | },
|
104 | "jest": {
|
105 | "setupFilesAfterEnv": [
|
106 | "@testing-library/react/cleanup-after-each",
|
107 | "@testing-library/jest-dom/extend-expect",
|
108 | "<rootDir>/jest.setup.js"
|
109 | ],
|
110 | "testURL": "http://127.0.0.1/"
|
111 | },
|
112 | "husky": {
|
113 | "hooks": {
|
114 | "pre-commit": "lint-staged"
|
115 | }
|
116 | }
|
117 | } |
\ | No newline at end of file |