diff --git a/package.json b/package.json index 1312c45..c15d26d 100644 --- a/package.json +++ b/package.json @@ -9,10 +9,10 @@ "build": "tsc -b && vite build", "lint": "eslint .", "preview": "vite preview", - "predev": "npm run build_wasm", - "prebuild": "npm run build_wasm && npm run build_licenses", - "build_licenses": "mkdir -p src/generated && tsx scripts/genLicenseList.ts src/generated/licenses.json", - "build_wasm": "cp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" public && GOOS=js GOARCH=wasm go build -o public/main.wasm src/wasm/main.go", + "predev": "npm run build:wasm", + "prebuild": "npm run build:wasm && npm run build:licenses", + "build:licenses": "mkdir -p src/generated && tsx scripts/genLicenseList.ts src/generated/licenses.json", + "build:wasm": "cp \"$(go env GOROOT)/misc/wasm/wasm_exec.js\" public && GOOS=js GOARCH=wasm go build -o public/main.wasm src/wasm/main.go", "serve": "rm -rf dist; npm run build && http-server dist", "test": "jest --passWithNoTests", "gdeploy": "gh-pages -u 'Deploy Bot ' -d dist",