Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.47 KB
/
Copy pathpackage.json
File metadata and controls
95 lines (95 loc) · 2.47 KB
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
{
"name": "@trebla/managed-webview",
"version": "0.2.0",
"workspaces": [
"example"
],
"description": "A managed React Native WebView with explicit navigation, readiness, timeout, and recovery policies.",
"license": "MIT",
"author": "Trebla",
"homepage": "https://github.com/treblahq/managed-webview#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/treblahq/managed-webview.git"
},
"bugs": {
"url": "https://github.com/treblahq/managed-webview/issues"
},
"main": "./lib/module/index.js",
"module": "./lib/module/index.js",
"react-native": "./lib/module/index.js",
"types": "./lib/typescript/src/index.d.ts",
"exports": {
".": {
"types": "./lib/typescript/src/index.d.ts",
"react-native": "./lib/module/index.js",
"default": "./lib/module/index.js"
},
"./package.json": "./package.json"
},
"files": [
"lib",
"README.md",
"LICENSE"
],
"sideEffects": false,
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "bob build",
"lint": "eslint .",
"format:check": "prettier --check .",
"typecheck": "tsc --noEmit",
"test": "jest",
"test:coverage": "jest --coverage",
"pack:verify": "node scripts/verify-pack.mjs",
"check": "npm run format:check && npm run lint && npm run typecheck && npm test -- --runInBand && npm run build && npm run pack:verify",
"prepare": "bob build"
},
"peerDependencies": {
"react": ">=19 <20",
"react-native": ">=0.86 <1",
"react-native-webview": ">=13.16 <14"
},
"devDependencies": {
"@eslint/js": "10.0.1",
"@react-native/babel-preset": "0.86.2",
"@react-native/jest-preset": "0.86.2",
"@testing-library/react-native": "14.0.1",
"@types/jest": "29.5.14",
"@types/node": "24.13.3",
"@types/react": "19.2.2",
"eslint": "10.9.1",
"eslint-plugin-react-hooks": "7.1.1",
"globals": "16.5.0",
"jest": "29.7.0",
"prettier": "3.9.6",
"react": "19.2.3",
"react-native": "0.86.2",
"react-native-builder-bob": "0.43.0",
"react-native-webview": "13.16.1",
"react-test-renderer": "19.2.3",
"typescript": "6.0.3",
"typescript-eslint": "8.68.0",
"yaml": "2.9.0"
},
"react-native-builder-bob": {
"source": "src",
"output": "lib",
"targets": [
[
"module",
{
"esm": true
}
],
[
"typescript",
{
"project": "tsconfig.build.json"
}
]
]
}
}