Add rollup to provide distributables.

This commit is contained in:
Simon Weidacher
2023-01-31 14:40:16 +01:00
parent a5bc494d2e
commit ffb3e619c8
4 changed files with 101 additions and 2 deletions

View File

@@ -8,10 +8,13 @@
"private": false,
"type": "module",
"scripts": {
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
"test": "yarn node --experimental-vm-modules $(yarn bin jest)",
"package": "yarn rollup -c"
},
"devDependencies": {
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1"
"jest-environment-jsdom": "^29.3.1",
"rollup": "^3.9.1",
"rollup-plugin-terser": "^7.0.2"
}
}