add web version

This commit is contained in:
Soph :3 2024-11-28 02:01:25 +02:00
parent 87b8936393
commit 02a553e3fd
Signed by: sophie
GPG key ID: EDA5D222A0C270F2
2 changed files with 4 additions and 1 deletions

View file

@ -8,7 +8,8 @@
"bugs": "https://git.sad.ovh/sophie/pianoverse/issues", "bugs": "https://git.sad.ovh/sophie/pianoverse/issues",
"author": "Sophie", "author": "Sophie",
"scripts": { "scripts": {
"build-proto": "protoc -I . --plugin ./node_modules/.bin/protoc-gen-es --es_out . --es_opt target=ts pianoverse.proto" "build-proto": "protoc -I . --plugin ./node_modules/.bin/protoc-gen-es --es_out . --es_opt target=ts pianoverse.proto",
"build-web": "esbuild pianoverse_pb.ts --bundle --outfile=pb.js --format=iife --global-name=pianoverse --minify"
}, },
"devDependencies": { "devDependencies": {
"@types/bun": "latest" "@types/bun": "latest"

2
pb.js Normal file

File diff suppressed because one or more lines are too long