-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
64 lines (64 loc) · 1.89 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
{
"name": "react-pdf-highlighter",
"version": "5.3.0",
"description": "Set of React components for PDF annotation",
"author": "Artem Tyurin <[email protected]>",
"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)",
"prepare": "npm run build",
"build": "npm run clean && npm run build:esm && npm run build:cjs && npm run build:copy-styles",
"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.6",
"@types/pdfjs-dist": "^2.7.4",
"@types/react": "^16.4.0",
"@types/react-dom": "^16.4.0",
"lodash.debounce": "^4.0.8",
"pdfjs-dist": "2.8.335",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"react-rnd": "^10.1.10"
},
"repository": {
"type": "git",
"url": "git+https://github.com/agentcooper/react-pdf-highlighter.git"
},
"bugs": {
"url": "https://github.com/agentcooper/react-pdf-highlighter/issues"
},
"devDependencies": {
"@vitejs/plugin-react-refresh": "^1.3.1",
"jest": "^27.1.0",
"jest-puppeteer": "^5.0.4",
"prettier": "^2.3.2",
"puppeteer": "^9.1.1",
"typescript": "4.4.2",
"vite": "^2.5.1"
}
}