web3browser.io/.presetterrc.json

31 lines
939 B
JSON
Raw Permalink Normal View History

2023-10-11 13:46:46 +00:00
{
"preset": [
"@lumeweb/node-library-preset"
],
"config": {
"tsconfig.build": {
"include": {
"0": "{buildSource}/backend"
},
"compilerOptions": {
"outDir": "{source}"
}
}
},
"variable": {
"source": "build",
"output": "dist",
"buildSource": "src"
},
"scripts": {
"build:vite": "vite build -c vite.config.backend.js",
"build:astro": "astro build",
"build": "run-s clean build:astro build:typescript:* build:vite",
"clean:buildOutput": "shx rm -rf {source}",
"build:typescript:mjs:tsc": "tsc -p tsconfig.backend.json",
"build:typescript:mjs:alias:lib": "tsc-alias --resolve-full-paths --dir {output} -p tsconfig.backend.json",
"build:typescript:mjs:alias:root": "tsc-alias --resolve-full-paths --dir . -p tsconfig.backend.json",
"build:typescript:mjs:fix": "tsc-esm-fix --sourceMap --target {output} -p tsconfig.backend.json"
}
}