forked from agentcooper/react-pdf-highlighter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
79 lines (79 loc) · 2.5 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
{
"name": "v-pdf-highlighter",
"version": "1.3.1",
"description": "Set of React components for PDF annotation, fork of react-pdf-highlighter",
"author": "Joshua Lawrence <josh@velvetfs.com>",
"license": "MIT",
"keywords": [
"pdf",
"highlight",
"annotator",
"react-component"
],
"files": [
"dist"
],
"types": "./dist/esm/index.d.ts",
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"scripts": {
"start": "npm run dev",
"dev": "(cd ./example && vite)",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:copy-styles && npm run build:example",
"build:esm": "tsc",
"build:cjs": "tsc --module commonjs --outDir ./dist/cjs",
"build:copy-styles": "cp -r ./src/style ./dist/esm; cp -r ./src/style ./dist/cjs",
"build:example": "(cd ./example && tsc && vite build)",
"test": "tsc && npm run format:check && BROWSER=none jest --maxWorkers=1 -c jest.config.js",
"format": "prettier --write './**/*.{js,ts,tsx}'",
"format:check": "prettier --check './**/*.{js,ts,tsx}'",
"clean": "rm -rf dist"
},
"peerDependencies": {
"react": ">=16.4.0",
"react-dom": ">=16.4.0"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.7",
"@types/react": "^18.0.28",
"@types/react-dom": "^18.0.11",
"lodash.debounce": "^4.0.8",
"pdfjs-dist": "3.3.122",
"react-rnd": "^10.4.1"
},
"repository": {
"type": "git",
"url": "git+/~https://github.com/velvetfs/v-pdf-highlighter.git"
},
"bugs": {
"url": "/~https://github.com/velvet*/v-pdf-highlighter/issues"
},
"devDependencies": {
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.3",
"@types/jest": "^29.4.0",
"@types/node": "18.14.0",
"@types/react": "18.0.28",
"@types/testing-library__jest-dom": "^5.14.5",
"@typescript-eslint/eslint-plugin": "^5.53.0",
"@typescript-eslint/parser": "^5.53.0",
"@vitejs/plugin-react": "^3.1.0",
"eslint": "^8.34.0",
"eslint-config-next": "13.1.6",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest-dom": "^4.0.3",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.32.2",
"jest": "^29.4.3",
"jest-environment-jsdom": "^29.4.3",
"jest-puppeteer": "^7.0.1",
"prettier": "^2.8.4",
"puppeteer": "^19.7.2",
"ts-jest": "^29.0.5",
"ts-node": "^10.9.1",
"typescript": "4.9.5",
"vite": "^4.1.3"
}
}