Basic test website

This commit is contained in:
Jakub 2026-07-12 13:17:30 +08:00
parent 8a98260f28
commit 16796dea31
7 changed files with 1555 additions and 2 deletions

View file

@ -6,10 +6,18 @@
"license": "AGPL-3.0-or-later",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"build:frontend": "rm -rf build/app && mkdir -p build/app && cp -R app/* build/app/. && cp -R lib build/app/lib",
"watch:frontend": "onchange 'app/**/*' 'lib/**/*' -- npm run build:frontend",
"start:frontend": "serve build/app",
"preview": "npm run build:frontend && concurrently \"npm run watch:frontend\" \"npm run start:frontend\""
},
"dependencies": {
"lips": "^1.0.0-beta.20",
"mithril": "^2.3.8"
},
"devDependencies": {
"concurrently": "^10.0.3",
"onchange": "^7.1.0",
"serve": "^14.2.6"
}
}