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