-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
104 lines (104 loc) · 2.65 KB
/
package.json
File metadata and controls
104 lines (104 loc) · 2.65 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
{
"name": "@portabletext/react-pdf",
"description": "Serialize Portable Text to ReactPDF",
"keywords": [
"portabletext",
"pdf",
"react",
"reactPdf",
"renderer",
"render",
"serialize",
"serializer",
"pdf-serializer",
"pdf-portabletext",
"pdf-renderer",
"sanity",
"react-pdf"
],
"version": "1.0.7",
"type": "module",
"license": "MIT",
"author": "Johnny Povolny <johnny.povolny@sanity.io>",
"sideEffects": false,
"exports": {
".": {
"source": "./src/index.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./package.json": "./package.json"
},
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist",
"!dist/stats.html",
"src"
],
"homepage": "https://github.com/portabletext/react-pdf-portabletext#readme",
"repository": {
"type": "git",
"url": "https://github.com/portabletext/react-pdf-portabletext.git"
},
"bugs": {
"url": "https://github.com/portabletext/react-pdf-portabletext/issues"
},
"scripts": {
"dev": "vite",
"build": "pkg-utils build --strict --check --clean",
"clean": "rimraf dist",
"test": "vitest --no-file-parallelism --reporter=verbose",
"format": "prettier --write --cache --ignore-unknown .",
"lint": "eslint .",
"type-check": "tsc --noEmit",
"prepublishOnly": "run-s build lint type-check",
"release": "changeset publish"
},
"browserslist": "extends @sanity/browserslist-config",
"dependencies": {
"@portabletext/react": "^3.2.4",
"@portabletext/toolkit": "^3.0.0",
"@react-pdf/renderer": "^4.3.0",
"flat": "^6.0.1",
"lodash.merge": "^4.6.2",
"lodash.omitby": "^4.6.0",
"react": "^19.1.1",
"react-dom": "^19.1.1"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.1",
"@changesets/cli": "^2.29.6",
"@eslint/js": "^9.34.0",
"@portabletext/types": "^2.0.15",
"@react-pdf/types": "^2.9.0",
"@sanity/pkg-utils": "^8.1.29",
"@testing-library/react": "^16.3.0",
"@types/lodash.merge": "^4.6.9",
"@types/lodash.omitby": "^4.6.9",
"@types/react": "^19.1.12",
"@types/react-dom": "^19.1.9",
"@vitejs/plugin-react": "^4.7.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-plugin-react-refresh": "^0.4.20",
"globals": "^16.3.0",
"jsdom": "^26.1.0",
"npm-run-all2": "^8.0.4",
"pdf-visual-diff": "^0.14.0",
"prettier": "^3.6.2",
"prettier-plugin-organize-imports": "^4.2.0",
"rimraf": "^6.0.1",
"typescript": "5.9.2",
"typescript-eslint": "^8.41.0",
"vite": "^7.1.3",
"vitest": "^3.2.4"
},
"packageManager": "pnpm@10.11.1",
"publishConfig": {
"access": "public"
}
}