forked from wojtekmaj/react-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
136 lines (136 loc) · 3.39 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
{
"name": "react-pdf",
"version": "5.3.2",
"description": "Display PDFs in your React app as easily as if they were images.",
"main": "dist/umd/entry.js",
"module": "dist/esm/entry.js",
"source": "src/entry.js",
"scripts": {
"build": "yarn build-js-all && yarn copy-styles",
"build-js-all": "yarn build-js-esm && yarn build-js-umd",
"build-js-esm": "BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-js-umd": "BABEL_ENV=production-umd babel src -d dist/umd --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"clean": "rimraf dist",
"copy-styles": "node ./copy-styles.js",
"jest": "jest",
"jest-coverage": "jest --coverage",
"lint": "eslint sample/ src/ test/ --ext .jsx,.js",
"prepack": "yarn clean && yarn build",
"test": "yarn lint && yarn jest"
},
"jest": {
"setupFiles": [
"<rootDir>/jest.setup.js"
],
"collectCoverageFrom": [
"**/src/**.{js,jsx}",
"!**/src/entry.js",
"!**/src/entry.*.js",
"!**/src/pdf.worker.entry.js"
],
"moduleNameMapper": {
"\\.(css|less)$": "<rootDir>/__mocks__/styleMock.js"
},
"testPathIgnorePatterns": [
"utils.js"
]
},
"keywords": [
"pdf",
"pdf-viewer",
"react"
],
"author": {
"name": "Wojciech Maj",
"email": "[email protected]"
},
"contributors": [
{
"name": "Anenth",
"email": "[email protected]"
},
{
"name": "Artur Termenji",
"email": "[email protected]"
},
{
"name": "Bart Van Houtte",
"email": "[email protected]"
},
{
"name": "Dmitry Ivakhnenko",
"email": "[email protected]"
},
{
"name": "Felipe Lacerda",
"email": "[email protected]"
},
{
"name": "Julia Kieserman",
"email": "[email protected]"
},
{
"name": "Lucas Simkins",
"email": "[email protected]"
},
{
"name": "Niklas Närhinen",
"email": "[email protected]"
},
{
"name": "Robert Scott",
"email": "[email protected]"
},
{
"name": "Thomas McCarthy",
"email": "[email protected]"
}
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.0.0",
"file-loader": "^6.0.0",
"make-cancellable-promise": "^1.0.0",
"make-event-props": "^1.1.0",
"merge-class-names": "^1.1.1",
"merge-refs": "^1.0.0",
"pdfjs-dist": "2.9.359",
"prop-types": "^15.6.2"
},
"devDependencies": {
"@babel/cli": "^7.8.0",
"@babel/core": "^7.9.0",
"@babel/plugin-proposal-class-properties": "^7.8.0",
"@babel/plugin-transform-runtime": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"@babel/preset-react": "^7.9.0",
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.0",
"babel-eslint": "^10.0.0",
"enzyme": "^3.10.0",
"eslint": "~7.19.0",
"eslint-config-wojtekmaj": "^0.5.0",
"jest": "^26.6.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"rimraf": "^3.0.0",
"webpack": "^5.20.0"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0-0",
"react-dom": "^16.3.0 || ^17.0.0-0"
},
"resolutions": {
"[email protected]": "^7.0.0"
},
"files": [
"LICENSE",
"README.md",
"dist/",
"src/"
],
"repository": {
"type": "git",
"url": "https://github.com/wojtekmaj/react-pdf.git"
},
"funding": "https://github.com/wojtekmaj/react-pdf?sponsor=1"
}