forked from wojtekmaj/react-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
87 lines (87 loc) · 2.46 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
82
83
84
85
86
87
{
"name": "react-pdf",
"version": "6.2.2",
"description": "Display PDFs in your React app as easily as if they were images.",
"main": "dist/cjs/entry.js",
"module": "dist/esm/entry.js",
"source": "src/entry.js",
"scripts": {
"build": "yarn build-js && yarn copy-styles",
"build-js": "yarn build-js-esm && yarn build-js-cjs",
"build-js-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-js-cjs": "BABEL_ENV=production-cjs babel src -d dist/cjs --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"clean": "rimraf dist",
"copy-styles": "node ./copy-styles.mjs",
"jest": "jest",
"lint": "eslint . --ext .js,.jsx",
"postinstall": "husky install",
"prepack": "yarn clean && yarn build",
"prettier": "prettier --check . --cache",
"test": "yarn lint && yarn prettier && yarn jest"
},
"keywords": [
"pdf",
"pdf-viewer",
"react"
],
"author": {
"name": "Wojciech Maj",
"email": "[email protected]"
},
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.0.0",
"clsx": "^1.2.1",
"make-cancellable-promise": "^1.0.0",
"make-event-props": "^1.1.0",
"merge-refs": "^1.0.0",
"pdfjs-dist": "2.16.105",
"prop-types": "^15.6.2",
"tiny-invariant": "^1.0.0",
"tiny-warning": "^1.0.0"
},
"devDependencies": {
"@babel/cli": "^7.15.0",
"@babel/core": "^7.15.0",
"@babel/plugin-transform-runtime": "^7.15.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.14.0",
"@testing-library/jest-dom": "^5.15.0",
"@testing-library/react": "^13.4.0",
"eslint": "^8.26.0",
"eslint-config-wojtekmaj": "^0.7.1",
"husky": "^8.0.0",
"jest": "^29.0.0",
"jest-canvas-mock": "^2.3.1",
"jest-environment-jsdom": "^29.0.0",
"prettier": "^2.7.0",
"pretty-quick": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"rimraf": "^3.0.0",
"webpack": "^5.20.0"
},
"peerDependencies": {
"file-loader": "^6.0.0",
"react": "^16.8.0 || ^17.0.0 || ^18.0.0",
"react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0"
},
"peerDependenciesMeta": {
"file-loader": {
"optional": true
}
},
"resolutions": {
"[email protected]": "^7.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]"
}