forked from wojtekmaj/react-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
81 lines (81 loc) · 2.31 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
80
81
{
"name": "react-pdf",
"version": "7.1.1",
"description": "Display PDFs in your React app as easily as if they were images.",
"main": "dist/cjs/index.js",
"module": "dist/esm/index.js",
"source": "src/index.ts",
"types": "dist/cjs/index.d.ts",
"sideEffects": [
"*.css"
],
"scripts": {
"build": "yarn build-js && yarn copy-styles",
"build-js": "yarn build-js-esm && yarn build-js-cjs",
"build-js-esm": "tsc --project tsconfig.build.json --outDir dist/esm --module esnext",
"build-js-cjs": "tsc --project tsconfig.build.json --outDir dist/cjs --module commonjs",
"clean": "rimraf dist",
"copy-styles": "node --loader ts-node/esm ./copy-styles.ts",
"lint": "eslint . --ext .js,.jsx,.ts,.tsx",
"postinstall": "husky install",
"prepack": "yarn clean && yarn build",
"prettier": "prettier --check . --cache",
"test": "yarn lint && yarn tsc && yarn prettier && yarn unit",
"tsc": "tsc --noEmit",
"unit": "vitest run"
},
"keywords": [
"pdf",
"pdf-viewer",
"react"
],
"author": {
"name": "Wojciech Maj",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {
"clsx": "^1.2.1",
"make-cancellable-promise": "^1.0.0",
"make-event-props": "^1.5.0",
"merge-refs": "^1.1.3",
"pdfjs-dist": "3.6.172",
"prop-types": "^15.6.2",
"tiny-invariant": "^1.0.0",
"tiny-warning": "^1.0.0"
},
"devDependencies": {
"@testing-library/dom": "^9.0.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.4.0",
"@types/node": "*",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.8.4",
"husky": "^8.0.0",
"jsdom": "^21.1.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
"ts-node": "^10.9.1",
"typescript": "^5.0.0",
"vitest": "^0.30.1",
"vitest-canvas-mock": "^0.2.2"
},
"peerDependencies": {
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"files": [
"dist",
"src"
],
"repository": {
"type": "git",
"url": "https://github.com/wojtekmaj/react-pdf.git"
},
"funding": "https://github.com/wojtekmaj/react-pdf?sponsor=1",
"packageManager": "[email protected]"
}