forked from c-fu/arah2
- wrangler.jsonc assets block serves ../web/dist; run_worker_first keeps /api/* + /telegram/* on the Worker (D-13) - root npm run deploy = build theme → web → bot wrangler deploy + set-webhook (D-15); dev = build + wrangler dev --port 8787 --local (D-12) - vite.config.ts dual-build: __ARAHARAH_HARNESS__ define keyed on --mode harness, separate dist/dist-harness outDirs - main.ts guard unchanged; ambient constant declared once in web/src/vite-env.d.ts - build-artifact.test.mjs BA1..BA6: zero CDN refs, self-hosted fonts, MapLibre worker, inlined style, no mock installer in ANY emitted file (HTML included)
31 lines
1010 B
JSON
31 lines
1010 B
JSON
{
|
|
"name": "araharah",
|
|
"private": true,
|
|
"type": "module",
|
|
"workspaces": [
|
|
"theme",
|
|
"bot",
|
|
"web"
|
|
],
|
|
"scripts": {
|
|
"build": "npm run build -w theme && npm run build -w web",
|
|
"deploy": "npm run build && npm run deploy -w bot",
|
|
"dev": "npm run build && npm run dev -w bot",
|
|
"sheet": "npm run sheet --workspace theme",
|
|
"gallery": "npm run gallery --workspace theme",
|
|
"audit": "npm run audit --workspace theme",
|
|
"capture": "npm run capture --workspace theme",
|
|
"bot:test": "npm test -w bot",
|
|
"bot:typecheck": "npm run typecheck -w bot",
|
|
"bot:dev": "npm run dev -w bot",
|
|
"bot:deploy": "npm run deploy -w bot",
|
|
"bot:commands": "npm run commands -w bot",
|
|
"web:test": "npm test -w web",
|
|
"web:typecheck": "npm run typecheck -w web",
|
|
"web:dev": "npm run dev -w web",
|
|
"web:build": "npm run build -w theme && npm run build -w web",
|
|
"web:build:harness": "npm run build:harness -w web",
|
|
"web:capture": "npm run capture -w web"
|
|
}
|
|
}
|