kernel-sandbox/.presetterrc.json

36 lines
942 B
JSON
Raw Normal View History

2023-07-21 11:47:50 +00:00
{
"preset": [
"@lumeweb/presetter-kernel-module-preset"
],
"config": {
"browser": true,
"vite": {
"build": {
"copyPublicDir": false,
"lib": {
"entry": "{source}/tester.js",
"fileName": "tester",
"formats": {
"0": "umd"
}
}
}
2023-07-21 12:08:04 +00:00
},
"publish": {
"plugins": {
"3": [
"@semantic-release/npm",
{
"npmPublish": true
}
]
}
2023-07-21 11:47:50 +00:00
}
},
"scripts": {
"build:vite": "vite build",
"build:bin": "shx mv lib/tester.umd.cjs public/tester.js && shx mkdir -p bin && shx mv build/sandbox* bin/",
"build:lib": "shx mv build/* lib/ && shx rm lib/tester*"
}
}