north-star / files / package.json
package.json
| 1 | { |
| 2 | "name": "friend-compass", |
| 3 | "version": "0.1.0", |
| 4 | "private": true, |
| 5 | "type": "module", |
| 6 | "scripts": { |
| 7 | "dev": "vite", |
| 8 | "typecheck": "tsc --noEmit", |
| 9 | "build": "vite build", |
| 10 | "preview": "vite preview", |
| 11 | "firebase:deploy-rules": "firebase --config config/firebase/firebase.json --project north-star-e5dee deploy --only database", |
| 12 | "clean-old-firebase:preview-30d": "bash scripts/clean-old-firebase.sh --days=30 --verbose", |
| 13 | "clean-old-firebase:preview-1m": "bash scripts/clean-old-firebase.sh --minutes=1 --verbose", |
| 14 | "clean-old-firebase:run-30d": "bash scripts/clean-old-firebase.sh --days=30 --apply --verbose", |
| 15 | "clean-old-firebase:run-1m": "bash scripts/clean-old-firebase.sh --minutes=1 --apply --verbose", |
| 16 | "gen-commit-ts": "echo \"export const GIT_COMMIT='${CI_COMMIT_SHORT_SHA}'; export const IS_LOCAL_BUILD=false;\" > ./src/commit.ts", |
| 17 | "md-lint": "markdownlint \"**/*.md\" --ignore node_modules --ignore .git", |
| 18 | "deploy": "fw deploy" |
| 19 | }, |
| 20 | "dependencies": { |
| 21 | "firebase": "^12.0.0", |
| 22 | "qrcode": "^1.5.4" |
| 23 | }, |
| 24 | "devDependencies": { |
| 25 | "@types/qrcode": "^1.5.6", |
| 26 | "firebase-tools": "^15.10.0", |
| 27 | "fuzzyworld-tools": "git+https://code.fuzzyworld.net/fuzzyworld-tools.git#semver:^1.0.0", |
| 28 | "markdownlint-cli": "^0.48.0", |
| 29 | "typescript": "^5.8.2", |
| 30 | "vite": "^5.4.19", |
| 31 | "vite-plugin-checker": "^0.12.0" |
| 32 | }, |
| 33 | "fuzzyworld": { |
| 34 | "app": "north-star", |
| 35 | "title": "Friend Compass", |
| 36 | "description": "Friend Compass shows live arrows pointing toward your friends. No account needed, end-to-end encrypted, works on any phone.", |
| 37 | "prebuild": [ |
| 38 | "CI_COMMIT_SHORT_SHA=$(git rev-parse --short HEAD) npm run gen-commit-ts" |
| 39 | ] |
| 40 | } |
| 41 | } |