-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpackage.json
More file actions
121 lines (121 loc) · 3.11 KB
/
package.json
File metadata and controls
121 lines (121 loc) · 3.11 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
{
"name": "@portabletext/react-native",
"version": "3.0.0",
"description": "*Experimental*: Render Portable Text with React Native",
"keywords": [
"portable-text"
],
"homepage": "https://github.com/portabletext/react-native-portabletext#readme",
"bugs": {
"url": "https://github.com/portabletext/react-native-portabletext/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/portabletext/react-native-portabletext.git"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"type": "module",
"exports": {
".": {
"types": "./dist/typescript/index.d.ts",
"source": "./src/index.ts",
"default": "./dist/module/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/module/index.js",
"types": "./dist/typescript/index.d.ts",
"files": [
"src",
"dist",
"!**/__tests__",
"!**/__fixtures__",
"!**/__mocks__"
],
"scripts": {
"build": "bob build",
"format": "prettier --write --cache --ignore-unknown .",
"lint": "eslint .",
"prepare": "pnpm build",
"release": "changeset publish",
"test": "jest",
"type-check": "tsc --noEmit"
},
"prettier": "@sanity/prettier-config",
"eslintConfig": {
"parserOptions": {
"ecmaFeatures": {
"modules": true
},
"ecmaVersion": 9,
"sourceType": "module"
},
"extends": [
"sanity",
"sanity/react",
"sanity/typescript",
"prettier"
],
"rules": {
"react/prop-types": "off"
},
"ignorePatterns": [
"lib/**/"
]
},
"dependencies": {
"@portabletext/react": "^4.0.3",
"@portabletext/types": "^4.0.0"
},
"devDependencies": {
"@babel/core": "^7.28.5",
"@babel/preset-env": "^7.28.5",
"@babel/preset-flow": "^7.27.1",
"@babel/preset-typescript": "^7.28.5",
"@changesets/changelog-github": "^0.5.2",
"@changesets/cli": "^2.29.8",
"@react-native/babel-preset": "^0.83.1",
"@react-native/typescript-config": "^0.83.1",
"@sanity/prettier-config": "^3.0.0",
"@testing-library/react-native": "^13.3.3",
"@types/jest": "^30.0.0",
"@types/react": "^19.2.7",
"@typescript-eslint/eslint-plugin": "^8.50.1",
"@typescript-eslint/parser": "^8.50.1",
"babel-jest": "^30.2.0",
"eslint": "^8.57.1",
"eslint-config-prettier": "^10.1.8",
"eslint-config-sanity": "^7.1.4",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^7.0.1",
"jest": "^30.2.0",
"prettier": "^3.7.4",
"react": "^19.2.3",
"react-native": "^0.83.1",
"react-native-builder-bob": "^0.40.17",
"react-test-renderer": "^19.2.3",
"typescript": "5.9.3"
},
"peerDependencies": {
"react": "^18.2 || ^19",
"react-native": "^0.74 || ^0.75 || ^0.76 || ^0.77 || ^0.78 || ^0.79 || ^0.80 || ^0.81 || ^0.82.0 || ^0.83.0"
},
"packageManager": "pnpm@10.27.0",
"publishConfig": {
"access": "public"
},
"react-native-builder-bob": {
"source": "src",
"output": "dist",
"targets": [
[
"module",
{
"esm": true
}
],
"typescript"
]
}
}