mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2025-06-23 07:55:07 +00:00
Updated Scripts to use Rollup
This commit is contained in:
parent
bcb8ff5843
commit
81861ac4c4
@ -11,14 +11,9 @@
|
|||||||
"canvas": "^2.11.2"
|
"canvas": "^2.11.2"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev-rollup": "rollup -c -w",
|
"dev": "rollup -c -w",
|
||||||
"dev": "npx tsx watch src/index.ts",
|
"build": "rollup -c --forceExit",
|
||||||
"build": "npm run prebuild && pkgroll && npm run postbuild",
|
"start": "node ./dist/bundle.js"
|
||||||
"start": "node ./dist/index.js",
|
|
||||||
"prebuild": "rimraf ./dist",
|
|
||||||
"postbuild": "npm run copy-locales && npm run copy-pdfcpu",
|
|
||||||
"copy-locales": "copyfiles -u 3 ../shared-operations/src/locales/**/*.json dist",
|
|
||||||
"copy-pdfcpu": "copyfiles -u 5 ../shared-operations/src/wasm/pdfcpu/pdfcpu.wasm dist"
|
|
||||||
},
|
},
|
||||||
"keywords": [],
|
"keywords": [],
|
||||||
"author": "",
|
"author": "",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user