-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
39 lines (39 loc) · 1.15 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
{
"name": "pdf-img",
"version": "1.1.0",
"description": "A React component to render pdf documents as images.",
"main": "dist/PdfImg.js",
"module": "lib/index.js",
"author": "",
"license": "ISC",
"scripts": {
"clean": "rimraf dist && rimraf lib",
"build:umd": "NODE_ENV=production webpack --config webpack.config.js",
"build:module": "NODE_ENV=production babel src --out-dir lib/",
"build": "npm run clean && npm run build:umd && npm run build:module",
"prepublishOnly": "npm run build",
"example": "npx rdw serve --port 4001 docs.mdx"
},
"dependencies": {
"pdfjs-dist": "^2.0.489",
"prop-types": "^15.6.2"
},
"devDependencies": {
"@babel/core": "^7.1.2",
"@babel/plugin-proposal-class-properties": "^7.1.0",
"@babel/preset-env": "^7.1.0",
"@babel/preset-react": "^7.0.0",
"babel-loader": "^8.0.4",
"better-webpack-progress": "^1.1.0",
"emotion": "^9.2.12",
"react-display-window": "^2.1.0",
"webpack": "^4.20.2",
"webpack-cli": "^3.1.2",
"webpack-stylish": "^0.1.8"
},
"peerDependencies": {
"emotion": "^9.2.12",
"react": ">= 16",
"react-dom": ">= 16"
}
}