-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
/
package.json
81 lines (81 loc) · 2.35 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
{
"name": "mobx-react-lite",
"version": "4.0.5",
"description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks",
"source": "src/index.ts",
"main": "dist/index.js",
"umd:main": "dist/mobxreact.umd.production.min.js",
"unpkg": "dist/mobxreactlite.umd.production.min.js",
"jsdelivr": "dist/mobxreactlite.umd.production.min.js",
"jsnext:main": "dist/mobxreactlite.esm.production.min.js",
"module": "es/index.js",
"react-native": "es/index.js",
"types": "dist/index.d.ts",
"typings": "dist/index.d.ts",
"files": [
"src",
"dist/",
"lib/",
"es/",
"LICENSE",
"CHANGELOG.md",
"README.md",
"batching*"
],
"repository": {
"type": "git",
"url": "https://github.com/mobxjs/mobx.git"
},
"author": "Daniel K.",
"license": "MIT",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/mobx"
},
"bugs": {
"url": "https://github.com/mobxjs/mobx/issues"
},
"homepage": "https://mobx.js.org",
"dependencies": {
"use-sync-external-store": "^1.2.0"
},
"peerDependencies": {
"mobx": "^6.9.0",
"react": "^16.8.0 || ^17 || ^18"
},
"peerDependenciesMeta": {
"react-dom": {
"optional": true
},
"react-native": {
"optional": true
}
},
"devDependencies": {
"mobx": "^6.10.1",
"expose-gc": "^1.0.0"
},
"keywords": [
"mobx",
"mobservable",
"react-component",
"react",
"reactjs",
"reactive",
"hooks",
"observer",
"useLocalObservable"
],
"scripts": {
"lint": "eslint src/**/* --ext .js,.ts,.tsx",
"build": "node ../../scripts/build.js mobxReactLite",
"build:test": "yarn build --target test",
"build:cjs": "tsc --project tsconfig.build.cjs.json",
"build:es": "tsc --project tsconfig.build.es.json",
"test": "jest",
"test:size": "yarn import-size --report . observer useLocalObservable",
"test:types": "tsc --noEmit",
"test:check": "yarn test:types",
"prepublishOnly": "cd ../mobx && yarn build --target publish && cd ../mobx-react-lite && yarn build --target publish && yarn build:cjs && yarn build:es"
}
}