Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 2.85 KB
/
Copy pathpackage.json
File metadata and controls
64 lines (64 loc) · 2.85 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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
{
"name": "teal",
"private": true,
"version": "0.0.0",
"packageManager": "pnpm@9.15.0+sha256.09a8fe31a34fda706354680619f4002f4ccef6dadff93240d24ef6c831f0fd28",
"scripts": {
"dev": "turbo dev",
"build": "pnpm turbo run build --filter='./packages/*' --filter='./apps/*'",
"build:rust": "turbo run build:rust",
"typecheck": "pnpm -r --filter='!./vendor/*' exec tsc --noEmit",
"test": "turbo run test test:rust",
"rust:fmt": "pnpm rust:fmt:services && pnpm rust:fmt:apps",
"rust:clippy": "pnpm rust:clippy:services && pnpm rust:clippy:apps",
"rust:fmt:services": "cd services && cargo fmt",
"rust:clippy:services": "cd services && cargo clippy -- -D warnings",
"rust:fmt:apps": "for dir in apps/*/; do if [ -f \"$dir/Cargo.toml\" ]; then echo \"Formatting $dir\" && cd \"$dir\" && cargo fmt && cd ../..; fi; done",
"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",
"fix": "biome lint --write",
"hooks:install": "./scripts/install-git-hooks.sh",
"hooks:install-precommit": "pre-commit install",
"postinstall": "pnpm lex:gen-server",
"nuke": "rimraf node_modules */*/node_modules",
"lex:gen-server": "turbo lex:gen-server",
"format": "prettier --write .",
"lex:gen": "cd tools/lexicon-cli && node dist/index.js gen",
"lex:watch": "cd tools/lexicon-cli && node dist/index.js watch",
"lex:validate": "cd tools/lexicon-cli && node dist/index.js validate",
"lex:diff": "cd tools/lexicon-cli && node dist/index.js diff",
"lex:build-amethyst": "pnpm lex:gen-server && pnpm turbo build --filter=@teal/amethyst",
"lex:dev": "pnpm lex:gen-server && pnpm turbo dev --filter=@teal/amethyst",
"db:migrate": "sqlx migrate run",
"db:migrate:revert": "sqlx migrate revert",
"db:create": "sqlx database create",
"db:drop": "sqlx database drop",
"db:reset": "sqlx database drop && sqlx database create && sqlx migrate run",
"db:prepare": "sqlx prepare",
"eval:auth": "tsx scripts/eval/evaluate.ts --auth-only",
"eval:run": "tsx scripts/eval/evaluate.ts",
"eval:resolve-lb": "tsx scripts/eval/listenbrainz-resolve.ts",
"test:musicbrainz": "pnpm test --filter=@teal/amethyst -- --testPathPattern=\"musicbrainz|fuzzy\" --passWithNoTests"
},
"dependencies": {
"@atproto/oauth-client": "^0.3.8",
"@ianvs/prettier-plugin-sort-imports": "^4.4.1",
"prettier": "^3.5.3",
"prettier-plugin-tailwindcss": "^0.6.11"
},
"devDependencies": {
"@biomejs/biome": "2.6.8",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^20.17.10",
"better-sqlite3": "^12.5.0",
"dotenv": "^16.4.7",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"turbo": "^2.3.3"
},
"workspaces": [
"apps/*",
"packages/*",
"services/*",
"tools/*"
]
}