-
Notifications
You must be signed in to change notification settings - Fork 558
/
package.json
110 lines (110 loc) · 2.58 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
{
"name": "@realm/react",
"version": "0.7.0",
"description": "React specific hooks and implementation helpers for Realm",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"source": "src/index.tsx",
"scripts": {
"bundle": "wireit",
"start": "npm run bundle -- --watch",
"test": "wireit",
"lint": "eslint --ext .tsx .",
"docs": "wireit"
},
"wireit": {
"bundle": {
"command": "rollup --config && tsc -p tsconfig.types.json",
"dependencies": [
"../realm:build:ts",
"../realm-common:bundle"
],
"files": [
"rollup.config.js",
"src/**/*.ts",
"src/**/*.tsx"
],
"output": [
"dist"
]
},
"test": {
"command": "jest --forceExit",
"dependencies": [
"../realm:build:ts",
"../realm:build:node",
"../realm-common:bundle",
"../realm-app-importer:type-check"
]
},
"docs": {
"command": "typedoc",
"dependencies": [
"bundle"
]
}
},
"dependencies": {
"lodash": "^4.17.21"
},
"devDependencies": {
"@babel/core": "^7.24.6",
"@babel/preset-env": "^7.24.6",
"@babel/preset-typescript": "^7.24.6",
"@babel/runtime": "^7.24.6",
"@react-native/babel-preset": "0.74.83",
"@realm/app-importer": "*",
"@testing-library/react-native": "^12.5.1",
"@types/jest": "^29.5.12",
"@types/lodash-es": "^4.17.6",
"@types/react": "^18.2.6",
"babel-jest": "^29.7.0",
"babel-plugin-module-resolver": "^5.0.0",
"fb-watchman": "^2.0.1",
"jest": "^29.6.3",
"prettier": "2.8.8",
"react": "18.2.0",
"react-native": "0.74.1",
"react-test-renderer": "18.2.0",
"realm": "*",
"ts-jest": "^29.1.2"
},
"peerDependencies": {
"react": ">=17.0.2",
"realm": "^12.0.0-browser || ^12.0.0 || ^12.0.0-rc || ^11.0.0"
},
"optionalDependencies": {
"@babel/runtime": ">=7",
"react-native": ">=0.68"
},
"files": [
"dist",
"LICENSE",
"lib",
"package.json",
"README.md",
"src"
],
"keywords": [
"realm",
"react",
"hooks"
],
"author": {
"name": "MongoDB",
"email": "help@realm.io",
"url": "https://www.mongodb.com/docs/realm/"
},
"repository": {
"type": "git",
"url": "https://github.com/realm/realm-js.git",
"directory": "packages/realm-react"
},
"homepage": "https://github.com/realm/realm-js/tree/main/packages/realm-react#readme",
"bugs": {
"url": "https://github.com/realm/realm-js/issues"
},
"license": "Apache-2.0"
}