forked from agentcooper/react-pdf-highlighter
-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
63 lines (63 loc) · 1.88 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
{
"name": "@credolabs/react-pdf-highlighter",
"version": "5.6.6",
"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)",
"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": ">=18.0.0",
"react-dom": ">=18.0.0"
},
"dependencies": {
"@types/lodash.debounce": "^4.0.6",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"lodash.debounce": "^4.0.8",
"pdfjs-dist": "2.16.105",
"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": "^6.1.0",
"prettier": "^2.3.2",
"puppeteer": "^9.1.1",
"typescript": "4.4.2",
"vite": "^2.8.0"
},
"publishConfig": {
"registry": "https://npm.pkg.github.com/"
}
}