UNPKG

3.76 kBJSONView Raw
1{
2 "name": "mobx-react",
3 "version": "6.3.0",
4 "description": "React bindings for MobX. Create fully reactive components.",
5 "source": "src/index.ts",
6 "main": "dist/index.js",
7 "umd:main": "dist/mobxreact.umd.production.min.js",
8 "unpkg": "dist/mobxreact.umd.production.min.js",
9 "jsnext:main": "dist/mobxreact.esm.js",
10 "module": "dist/mobxreact.esm.js",
11 "react-native": "dist/mobxreact.esm.js",
12 "types": "dist/index.d.ts",
13 "sideEffects": [
14 "batching*"
15 ],
16 "repository": {
17 "type": "git",
18 "url": "https://github.com/mobxjs/mobx-react.git"
19 },
20 "scripts": {
21 "test": "jest",
22 "watch": "jest --watch",
23 "lint": "eslint .",
24 "test:types": "yarn tsc --noEmit",
25 "test:check": "yarn test:types && yarn lint",
26 "test:ts": "tsc -p test",
27 "test:coverage": "jest -i --coverage",
28 "test:size": "size-limit",
29 "prettier": "prettier --write \"**/*.js\" \"**/*.ts\" \"**/*.tsx\"",
30 "release": "node publish.js",
31 "build": "tsdx build --name mobxReact --format cjs,esm,umd",
32 "postbuild": "yarn v6compat",
33 "v6compat": "shx cp dist/mobxreact.umd.production.min.js dist/mobx-react.umd.js"
34 },
35 "author": "Michel Weststrate",
36 "license": "MIT",
37 "bugs": {
38 "url": "https://github.com/mobxjs/mobx/issues"
39 },
40 "homepage": "https://mobxjs.github.io/mobx",
41 "resolutions": {
42 "@types/yargs": "12.0.1"
43 },
44 "peerDependencies": {
45 "mobx": "^5.15.4 || ^4.15.4",
46 "react": "^16.8.0 || 16.9.0-alpha.0"
47 },
48 "devDependencies": {
49 "@babel/core": "^7.1.0",
50 "@babel/plugin-proposal-class-properties": "^7.1.0",
51 "@babel/plugin-proposal-decorators": "^7.1.0",
52 "@babel/plugin-transform-react-jsx": "^7.0.0",
53 "@babel/preset-env": "^7.1.0",
54 "@testing-library/jest-dom": "^5.1.1",
55 "@testing-library/react": "^9.4.0",
56 "@types/create-react-class": "^15.6.0",
57 "@types/jest": "^25.1.1",
58 "@types/node": "^10.0.0",
59 "@types/prop-types": "^15.5.2",
60 "@types/react": "^16.0.13",
61 "@types/react-dom": "^16.0.1",
62 "@typescript-eslint/eslint-plugin": "^2.12.0",
63 "@typescript-eslint/parser": "^2.12.0",
64 "babel-eslint": "^10.0.2",
65 "babel-jest": "^25.1.0",
66 "coveralls": "^3.0.3",
67 "eslint": "^6.1.0",
68 "eslint-config-prettier": "^6.0.0",
69 "eslint-plugin-prettier": "^3.1.0",
70 "eslint-plugin-react": "^7.14.3",
71 "husky": "^1.0.0",
72 "jest": "^25.1.0",
73 "jest-environment-jsdom": "^25.1.0",
74 "jest-mock-console": "^1.0.0",
75 "lint-staged": "^7.0.5",
76 "lodash": "^4.17.4",
77 "mobx": "^5.15.4",
78 "prettier": "^1.7.2",
79 "prop-types": "^15.7.2",
80 "react": "^16.9.0",
81 "react-dom": "^16.9.0",
82 "replace": "^1.1.0",
83 "request": "^2.83.0",
84 "shelljs": "^0.8.3",
85 "shx": "^0.3.2",
86 "size-limit": "^1.3.2",
87 "ts-jest": "^25.2.0",
88 "tsdx": "0.12.3",
89 "tslib": "1.10.0",
90 "typescript": "^3.7.0"
91 },
92 "dependencies": {
93 "mobx-react-lite": ">=2.2.0"
94 },
95 "files": [
96 "dist",
97 "batching*"
98 ],
99 "keywords": [
100 "mobx",
101 "mobservable",
102 "react-component",
103 "react",
104 "reactjs",
105 "reactive"
106 ],
107 "lint-staged": {
108 "*.{ts,tsx,js}": [
109 "prettier --write",
110 "eslint --fix",
111 "git add"
112 ]
113 },
114 "jest": {
115 "globals": {
116 "ts-jest": {
117 "tsConfig": "tsconfig.test.json"
118 }
119 },
120 "transform": {
121 "^.+\\.tsx?$": "ts-jest",
122 "^.+\\.jsx?$": "babel-jest"
123 },
124 "moduleFileExtensions": [
125 "ts",
126 "tsx",
127 "js",
128 "jsx",
129 "json"
130 ],
131 "testPathIgnorePatterns": [
132 "/node_modules/",
133 "/\\./"
134 ],
135 "watchPathIgnorePatterns": [
136 "<rootDir>/node_modules/"
137 ],
138 "setupFilesAfterEnv": [
139 "<rootDir>/jest.setup.ts"
140 ],
141 "testURL": "http://127.0.0.1/"
142 }
143}
\No newline at end of file