forked from agentcooper/react-pdf-highlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
82 lines (82 loc) · 2.16 KB
/
package.json
File metadata and controls
82 lines (82 loc) · 2.16 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
{
"name": "@nicklasastorian/react-pdf-annotator",
"version": "1.2.7",
"description": "Extended Set of React components for PDF annotation",
"author": "Nicklas Astorian",
"license": "MIT",
"keywords": [
"pdf",
"highlight",
"annotator",
"react-component"
],
"files": [
"dist/components",
"dist/hooks",
"dist/lib",
"dist/style",
"dist/index.js",
"dist/index.d.ts",
"dist/types.d.ts",
"dist/style.css",
"README.md",
"LICENSE"
],
"type": "module",
"types": "./dist/index.d.ts",
"main": "./dist/index.js",
"style": "./dist/style.css",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"default": "./dist/index.js",
"react-server": "./dist/index.js"
},
"./style.css": "./dist/style.css"
},
"scripts": {
"start": "npm run dev",
"dev": "vite build && (cd ./example && vite)",
"build:lib": "npm run clean && npm run compile && vite build",
"build:example": "cd ./example && vite build",
"build": "npm run build:lib",
"compile": "tsc --noEmit && (cd ./example && tsc --noEmit)",
"test": "npm run build && npm run lint && npm run test:e2e",
"test:e2e": "playwright test",
"format": "biome format --write",
"lint": "biome check",
"clean": "rm -rf dist",
"prepack": "npm run build:lib"
},
"peerDependencies": {
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"pdfjs-dist": "4.4.168",
"react-rnd": "^10.4.11",
"ts-debounce": "^4.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/Dappner/react-pdf-annotator.git"
},
"bugs": {
"url": "https://github.com/Dappner/react-pdf-annotator/issues"
},
"devDependencies": {
"@biomejs/biome": "1.9.0",
"@playwright/test": "^1.45.1",
"@types/node": "^20.14.10",
"@types/react": "^19.0.0",
"@types/react-dom": "^19.0.0",
"@vitejs/plugin-react": "^4.3.1",
"playwright": "^1.45.1",
"postcss-import": "^16.1.0",
"typescript": "^5.6.2",
"vite": "^5.3.3",
"vite-plugin-dts": "^4.1.1"
},
"homepage": "https://github.com/Dappner/react-pdf-annotator#readme"
}