1 | {
|
2 | "name": "mobx-react",
|
3 | "version": "6.1.0",
|
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 | "test": "jest && yarn test:ts",
|
20 | "test:ts": "tsc -p test/ts",
|
21 | "test:ci": "jest -i --coverage && yarn test:ts",
|
22 | "size": "size-limit",
|
23 | "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",
|
24 | "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",
|
25 | "watch": "jest --watch"
|
26 | },
|
27 | "author": "Michel Weststrate",
|
28 | "license": "MIT",
|
29 | "bugs": {
|
30 | "url": "https://github.com/mobxjs/mobx/issues"
|
31 | },
|
32 | "homepage": "https://mobxjs.github.io/mobx",
|
33 | "peerDependencies": {
|
34 | "mobx": "^4.0.0 || ^5.0.0",
|
35 | "react": "^16.8.0"
|
36 | },
|
37 | "devDependencies": {
|
38 | "@babel/core": "^7.1.0",
|
39 | "@babel/plugin-proposal-class-properties": "^7.1.0",
|
40 | "@babel/plugin-proposal-decorators": "^7.1.0",
|
41 | "@babel/plugin-transform-react-jsx": "^7.0.0",
|
42 | "@babel/preset-env": "^7.1.0",
|
43 | "@types/create-react-class": "^15.6.0",
|
44 | "@types/node": "^10.0.0",
|
45 | "@types/prop-types": "^15.5.2",
|
46 | "@types/react": "^16.0.13",
|
47 | "@types/react-dom": "^16.0.1",
|
48 | "babel-jest": "^24.1.0",
|
49 | "coveralls": "^3.0.3",
|
50 | "create-react-class": "^15.6.2",
|
51 | "husky": "^1.0.0",
|
52 | "jest": "^24.0.0",
|
53 | "jest-environment-jsdom": "^24.0.0",
|
54 | "lint-staged": "^7.0.5",
|
55 | "lodash": "^4.17.4",
|
56 | "microbundle": "^0.11.0",
|
57 | "mobx": "^5.0.0",
|
58 | "prettier": "^1.7.2",
|
59 | "prop-types": "^15.6.0",
|
60 | "react": "^16.8.2",
|
61 | "react-dom": "^16.8.2",
|
62 | "react-test-renderer": "^16.6.3",
|
63 | "request": "^2.83.0",
|
64 | "shelljs": "^0.8.3",
|
65 | "shx": "^0.3.2",
|
66 | "size-limit": "^1.3.2",
|
67 | "typescript": "^2.6.0"
|
68 | },
|
69 | "dependencies": {
|
70 | "mobx-react-lite": "1.4.0"
|
71 | },
|
72 | "files": [
|
73 | "dist"
|
74 | ],
|
75 | "keywords": [
|
76 | "mobx",
|
77 | "mobservable",
|
78 | "react-component",
|
79 | "react",
|
80 | "reactjs",
|
81 | "reactive"
|
82 | ],
|
83 | "lint-staged": {
|
84 | "*.{ts,js}": [
|
85 | "prettier --write",
|
86 | "git add"
|
87 | ]
|
88 | },
|
89 | "jest": {
|
90 | "testURL": "http://127.0.0.1/"
|
91 | },
|
92 | "husky": {
|
93 | "hooks": {
|
94 | "pre-commit": "lint-staged"
|
95 | }
|
96 | }
|
97 | } |
\ | No newline at end of file |