-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.32 KB
/
Copy pathpackage.json
File metadata and controls
35 lines (35 loc) · 1.32 KB
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
{
"name": "vreaderpdf",
"version": "1.0.0",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "webpack && node -e \"const fs=require('fs');let s=fs.readFileSync('dist/reader.js','utf8');s=s.replace(/module\\.exports = function Worker_fn\\(\\) \\{[^}]*\\}/, 'module.exports = function Worker_fn() {\\n let script = document.getElementById(\\\"workerScript\\\");\\n let workerBlob = new Blob([script.innerHTML], { type: \\\"text/javascript\\\" });\\n let workerBlobUrl = URL.createObjectURL(workerBlob);\\n return new Worker(workerBlobUrl);\\n}');fs.writeFileSync('dist/reader.js',s);console.log('Worker_fn patched')\""
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"buffer": "^6.0.3",
"build": "^0.1.4",
"gzip-js": "^0.3.2",
"js-xdr": "^1.3.0",
"webpack.config.js": "^0.0.0"
},
"devDependencies": {
"pdfjs-dist": "^2.14.305",
"webpack": "^5.90.3",
"webpack-cli": "^4.10.0",
"worker-loader": "^3.0.8"
},
"main": "webpack.config.js",
"repository": {
"type": "git",
"url": "git+https://github.com/vectorgraphics/pdfv3dReader"
},
"bugs": {
"url": "https://github.com/vectorgraphics/pdfv3dReader/issues"
},
"homepage": "https://github.com/vectorgraphics/pdfv3dReader#README",
"description": ""
}