~james/core

core/status/package.json -rw-r--r-- 1.5 KiB
452f17b7 — james chore(import): snapshot james.dad.town/core at f70c71c7696a 14 hours ago
                                                                                
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
{
  "name": "status",
  "version": "1.0.0",
  "private": true,
  "type": "module",
  "scripts": {
    "dev": "wrangler dev --port 8787 --test-scheduled --var ENVIRONMENT:development",
    "deploy": "wrangler deploy",
    "test": "node --test 'src/**/*.test.ts'",
    "typecheck": "tsc --noEmit && tsc -p tsconfig.test.json --noEmit",
    "build:css": "cd .. && NODE_PATH=status/node_modules ./status/node_modules/.bin/tailwindcss -c status/tailwind.config.js -i input.css -o status/static/tw.css",
    "copy:fonts": "if [ -f static/fonts/InterVariable.woff2 ] && [ -f static/fonts/IBMPlexMono-Bold.woff2 ]; then echo \"fonts already present\"; else mkdir -p static/fonts && for f in InterVariable.woff2 InterVariable-Italic.woff2 InterDisplay-Bold.woff2 InterDisplay-BoldItalic.woff2 IBMPlexMono-Regular.woff2 IBMPlexMono-Italic.woff2 IBMPlexMono-Bold.woff2 IBMPlexMono-BoldItalic.woff2; do if [ -f ../appview/pages/static/fonts/$f ]; then cp ../appview/pages/static/fonts/$f static/fonts/; elif [ -f ../web/static/fonts/$f ]; then cp ../web/static/fonts/$f static/fonts/; else echo \"missing font: $f (expected under appview/pages/static/fonts or web/static/fonts)\" >&2; exit 1; fi; done; fi",
    "predev": "npm run copy:fonts && npm run build:css",
    "predeploy": "npm run copy:fonts && npm run build:css"
  },
  "devDependencies": {
    "@cloudflare/workers-types": "^5.20260826.1",
    "@types/node": "^24",
    "@tailwindcss/typography": "^0.5.16",
    "tailwindcss": "3.4.17",
    "tailwindcss-animated": "^1.1.2",
    "typescript": "^5.8.3",
    "wrangler": "^4.115.0"
  }
}