-
Notifications
You must be signed in to change notification settings - Fork 7
/
package.json
99 lines (99 loc) · 2.64 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
{
"name": "@portabletext/react-native",
"version": "1.1.13",
"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",
"main": "./dist/react-native-portable-text.es.js",
"module": "./dist/react-native-portable-text.es.js",
"types": "./dist/react-native-portable-text.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "vite build -c ./vite.config.ts",
"format": "prettier --write --cache --ignore-unknown .",
"lint": "eslint .",
"prepublishOnly": "pnpm build",
"test": "vitest",
"type-check": "tsc --noEmit"
},
"prettier": {
"bracketSpacing": false,
"plugins": [
"prettier-plugin-packagejson"
],
"printWidth": 100,
"semi": false,
"singleQuote": true
},
"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": "^3.1.0",
"@portabletext/types": "^2.0.13"
},
"devDependencies": {
"@react-native/polyfills": "^2.0.0",
"@types/react": "^18.3.3",
"@types/react-native": "^0.73.0",
"@types/react-test-renderer": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.11.0",
"@typescript-eslint/parser": "^7.11.0",
"@vitejs/plugin-react": "^4.3.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-sanity": "^7.1.2",
"eslint-plugin-react": "^7.34.2",
"eslint-plugin-react-hooks": "^4.6.2",
"prettier": "^3.2.5",
"prettier-plugin-packagejson": "^2.5.0",
"react": "^18.3.1",
"react-native": "^0.75.2",
"react-test-renderer": "^18.3.1",
"typescript": "^5.4.5",
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.1",
"vitest": "1.6.0",
"vitest-react-native": "0.1.5"
},
"peerDependencies": {
"react": "^17 || ^18",
"react-native": "^0.66 || ^0.67 || ^0.68 || ^0.69 || ^0.70 || ^0.71 || ^0.72 || ^0.73.0 || ^0.74.0 || ^0.75.0"
},
"packageManager": "pnpm@9.1.3",
"publishConfig": {
"access": "public"
}
}