This repository has been archived on 2023-12-17. You can view files and clone it, but cannot push or open issues or pull requests.
2023-07-17 16:50:10 +00:00
|
|
|
{
|
|
|
|
"preset": [
|
|
|
|
"@lumeweb/presetter-kernel-module-preset"
|
|
|
|
],
|
|
|
|
"config": {
|
2023-07-25 15:51:30 +00:00
|
|
|
"official": true,
|
|
|
|
"tsconfig": {
|
|
|
|
"extends": "@tsconfig/svelte/tsconfig.json",
|
|
|
|
"compilerOptions": {
|
|
|
|
"inlineSourceMap": false
|
|
|
|
}
|
|
|
|
}
|
2023-07-17 16:50:10 +00:00
|
|
|
},
|
|
|
|
"scripts": {
|
|
|
|
"build": "cross-env NODE_ENV=production run-s clean build:typescript:* build:backend build:ui build:package",
|
|
|
|
"build:backend": "run-p build:backend:**",
|
|
|
|
"build:backend:background": "LIB_NAME=background vite build",
|
|
|
|
"build:backend:bootloader": "LIB_NAME=bootloader vite build",
|
|
|
|
"build:backend:bridge": "LIB_NAME=bridge vite build",
|
|
|
|
"build:backend:crypto": "LIB_NAME=crypto vite build",
|
|
|
|
"build:backend:cryptoLoader": "LIB_NAME=cryptoLoader vite build",
|
|
|
|
"build:ui": "cd ui && vite build",
|
2023-07-28 00:52:34 +00:00
|
|
|
"build:package": "mkdir -p dist; rename 's/\\.umd\\.cjs/.js/' lib/*.cjs; cp -r assets/* lib/* ui/dist/* ui/fonts dist/",
|
2023-07-17 16:50:10 +00:00
|
|
|
"clean:ui": "shx rm -r ui/dist || true",
|
|
|
|
"clean:backend": "shx rm -r dist || true"
|
|
|
|
}
|
|
|
|
}
|