forked from wojtekmaj/react-pdf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
135 lines (135 loc) · 3.49 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
{
"name": "react-pdf",
"version": "5.0.0",
"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": "cross-env BABEL_ENV=production-esm babel src -d dist/esm --ignore \"**/*.spec.js,**/*.spec.jsx\"",
"build-js-umd": "cross-env 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",
"prepublishOnly": "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": "kontakt@wojtekmaj.pl"
},
"contributors": [
{
"name": "Anenth",
"email": "anenthvishnu@gmail.com"
},
{
"name": "Artur Termenji",
"email": "atermenji@gmail.com"
},
{
"name": "Bart Van Houtte",
"email": "bart.van.houtte@ading.be"
},
{
"name": "Felipe Lacerda",
"email": "fegolac@gmail.com"
},
{
"name": "Julia Kieserman",
"email": "kieserman.julia@gmail.com"
},
{
"name": "Lucas Simkins",
"email": "lucas.simkins@gmail.com"
},
{
"name": "Niklas Närhinen",
"email": "niklas@narhinen.net"
},
{
"name": "Robert Scott",
"email": "rs@robsco.info"
},
{
"name": "Thomas McCarthy",
"email": "tom@tomm.cc"
}
],
"license": "MIT",
"dependencies": {
"@babel/runtime": "^7.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.4.456",
"prop-types": "^15.6.2",
"worker-loader": "^3.0.0"
},
"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",
"babel-eslint": "^10.0.0",
"cross-env": "^7.0.0",
"enzyme": "^3.10.0",
"enzyme-adapter-react-16": "^1.14.0",
"eslint": "~7.2.0",
"eslint-config-airbnb": "^18.2.0",
"eslint-plugin-import": "^2.21.2",
"eslint-plugin-jsx-a11y": "^6.3.0",
"eslint-plugin-react": "^7.20.0",
"eslint-plugin-react-hooks": "^4.0.0",
"jest": "^26.0.0",
"react": "^16.7.0",
"react-dom": "^16.7.0",
"react-test-renderer": "^16.7.0",
"rimraf": "^3.0.0",
"webpack": "^5.0.0-0"
},
"peerDependencies": {
"react": "^16.3.0 || ^17.0.0-0",
"react-dom": "^16.3.0 || ^17.0.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"
}