1{
2 "name": "teal",
3 "private": true,
4 "version": "0.0.0",
5 "packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28",
6 "scripts": {
7 "dev": "turbo dev",
8 "build": "pnpm turbo run build --filter='./packages/*' --filter='./apps/*'",
9 "build:rust": "turbo run build:rust",
10 "typecheck": "pnpm -r --filter='!./vendor/*' exec tsc --noEmit",
11 "test": "turbo run test test:rust",
12 "rust:fmt": "pnpm rust:fmt:services && pnpm rust:fmt:apps",
13 "rust:clippy": "pnpm rust:clippy:services && pnpm rust:clippy:apps",
14 "rust:fmt:services": "cd services && cargo fmt",
15 "rust:clippy:services": "cd services && cargo clippy -- -D warnings",
16 "rust:fmt:apps": "for dir in apps/*/; do if [ -f \"$dir/Cargo.toml\" ]; then echo \"Formatting $dir\" && cd \"$dir\" && cargo fmt && cd ../..; fi; done",
17 "rust:clippy:apps": "for dir in apps/*/; do if [ -f \"$dir/Cargo.toml\" ]; then echo \"Linting $dir\" && cd \"$dir\" && cargo clippy -- -D warnings && cd ../..; fi; done",
18 "fix": "biome lint --apply . && biome format --write . && biome check . --apply",
19 "hooks:install": "./scripts/install-git-hooks.sh",
20 "hooks:install-precommit": "pre-commit install",
21 "postinstall": "pnpm lex:gen-server",
22 "nuke": "rimraf node_modules */*/node_modules",
23 "lex:gen-server": "turbo lex:gen-server",
24 "format": "prettier --write .",
25 "lex:gen": "cd tools/lexicon-cli && node dist/index.js gen",
26 "lex:watch": "cd tools/lexicon-cli && node dist/index.js watch",
27 "lex:validate": "cd tools/lexicon-cli && node dist/index.js validate",
28 "lex:diff": "cd tools/lexicon-cli && node dist/index.js diff",
29 "lex:build-amethyst": "pnpm lex:gen-server && pnpm turbo build --filter=@teal/amethyst",
30 "lex:dev": "pnpm lex:gen-server && pnpm turbo dev --filter=@teal/amethyst",
31 "db:migrate": "sqlx migrate run",
32 "db:migrate:revert": "sqlx migrate revert",
33 "db:create": "sqlx database create",
34 "db:drop": "sqlx database drop",
35 "db:reset": "sqlx database drop && sqlx database create && sqlx migrate run",
36 "db:prepare": "sqlx prepare"
37 },
38 "dependencies": {
39 "@atproto/oauth-client": "^0.3.8",
40 "@ianvs/prettier-plugin-sort-imports": "^4.4.1",
41 "prettier": "^3.5.3",
42 "prettier-plugin-tailwindcss": "^0.6.11"
43 },
44 "devDependencies": {
45 "@types/node": "^20.17.10",
46 "biome": "^0.3.3",
47 "rimraf": "^6.0.1",
48 "turbo": "^2.3.3"
49 },
50 "workspaces": [
51 "apps/*",
52 "packages/*",
53 "services/*",
54 "tools/*"
55 ]
56}