-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathpackage.json
More file actions
108 lines (108 loc) · 3 KB
/
Copy pathpackage.json
File metadata and controls
108 lines (108 loc) · 3 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
{
"name": "@portabletext/react",
"version": "8.0.0",
"description": "Render Portable Text with React",
"keywords": [
"portable-text"
],
"homepage": "https://github.com/portabletext/react-portabletext#readme",
"bugs": {
"url": "https://github.com/portabletext/react-portabletext/issues"
},
"license": "MIT",
"author": "Sanity.io <hello@sanity.io>",
"repository": {
"type": "git",
"url": "git+ssh://git@github.com/portabletext/react-portabletext.git"
},
"files": [
"dist",
"!dist/stats.html"
],
"type": "module",
"sideEffects": false,
"types": "./dist/index.d.ts",
"exports": {
".": "./src/index.ts",
"./package.json": "./package.json"
},
"publishConfig": {
"exports": {
".": {
"types": "./dist/index.d.ts",
"react-server": "./dist/index.react-server.js",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
}
},
"scripts": {
"build": "tsdown",
"prebuild:demo": "pnpm clean",
"build:demo": "vite build demo --config=./vite.config.demo.ts --base=/react-portabletext/",
"clean": "rimraf dist coverage demo/dist .nyc_output",
"dev": "vite demo --config=./vite.config.demo.ts",
"format": "oxfmt .",
"lint": "oxlint --type-aware --type-check --deny-warnings --report-unused-disable-directives",
"prepublishOnly": "pnpm build",
"release": "changeset publish",
"start": "pnpm dev",
"test": "vitest",
"test:next": "node test/next-app/run.mjs",
"typegen": "(cd test/typegen && sanity schema extract && sanity typegen generate)",
"type-check": "tsc --noEmit -p tsconfig.dist.json"
},
"dependencies": {
"@portabletext/toolkit": "^6.0.0",
"@portabletext/types": "^4.0.2"
},
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.1",
"@rolldown/plugin-babel": "^0.2.3",
"@sanity/client": "^7.25.0",
"@sanity/image-url": "^2.1.1",
"@sanity/tsconfig": "^2.2.1",
"@sanity/tsdown-config": "^0.21.1",
"@sanity/ui": "^3.5.0",
"@types/leaflet": "^1.9.21",
"@types/react": "^19.2.17",
"@types/react-dom": "^19.2.3",
"@types/ws": "^8.18.1",
"@vitejs/plugin-react": "^6.0.4",
"babel-plugin-react-compiler": "^1.0.0",
"esbuild": "^0.28.1",
"esbuild-register": "^3.6.0",
"groq": "^6.6.0",
"leaflet": "^1.9.4",
"oxfmt": "^0.61.0",
"oxlint": "^1.76.0",
"oxlint-tsgolint": "^7.0.2001",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-is": "^19.2.8",
"react-leaflet": "^5.0.0",
"react-refractor": "^4.0.0",
"refractor": "^5.0.0",
"rimraf": "^5.0.1",
"rollup-plugin-visualizer": "^7.0.1",
"sanity": "^6.6.0",
"styled-components": "^6.4.4",
"tsdown": "^0.22.14",
"typescript": "7.0.2",
"vite": "^8.1.5",
"vitest": "^4.1.10"
},
"peerDependencies": {
"react": "^19"
},
"lint-staged": {
"*": [
"oxfmt"
]
},
"engines": {
"node": ">=22.12"
},
"packageManager": "pnpm@10.34.5"
}