-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
37 lines (37 loc) · 1.68 KB
/
package.json
File metadata and controls
37 lines (37 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
{
"name": "geno-1",
"version": "1.2.0",
"description": "Web (WASM): uses `wasm-pack` to build and a static `index.html` to run",
"scripts": {
"build": "wasm-pack build --target web --out-dir pkg --out-name app_web --release && node scripts/gen-env.js && rm -rf dist && mkdir -p dist/pkg && cp pkg/app_web.js dist/pkg/ && cp pkg/app_web_bg.wasm dist/pkg/ && cp pkg/env.js dist/pkg/env.js && cp index.html dist/index.html && cp favicon.svg dist/favicon.svg",
"dev": "wrangler dev --local --persist-to .wrangler/state --live-reload",
"test": "node web-test.js",
"ci": "npm run build && (http-server -p 8080 -c-1 . >/dev/null 2>&1 & SERVER_PID=$!; trap 'kill $SERVER_PID 2>/dev/null || true' EXIT; node web-test.js)",
"clean": "cargo clean && rm -rf pkg",
"check:rust": "cargo fmt --all -- --check && cargo clippy --workspace --all-targets -- -D warnings && cargo test --workspace --all-targets",
"check": "npm run check:rust && npm run ci",
"setup": "git config core.hooksPath .githooks && chmod +x .githooks/*",
"nuke": "rm -rf .wrangler node_modules package-lock.json && npm install && npm run dev",
"deps": "npx npm-check-updates",
"deps:update": "npx npm-check-updates -u && npm run nuke"
},
"repository": {
"type": "git",
"url": "git+https://github.com/rgilks/geno-1.git"
},
"keywords": [],
"author": "",
"license": "MIT",
"type": "commonjs",
"bugs": {
"url": "https://github.com/rgilks/geno-1/issues"
},
"homepage": "https://github.com/rgilks/geno-1#readme",
"devDependencies": {
"wrangler": "^4.28.1",
"http-server": "^14.1.1",
"puppeteer": "^24.16.1",
"wasm-pack": "^0.13.1",
"npm-check-updates": "^18.0.2"
}
}