mirror of
https://github.com/anonklub/anonklub.git
synced 2026-01-09 09:57:55 -05:00
68 lines
2.9 KiB
JSON
68 lines
2.9 KiB
JSON
{
|
|
"name": "root",
|
|
"private": true,
|
|
"devDependencies": {
|
|
"@anonklub/test": "workspace:^",
|
|
"@biomejs/biome": "latest",
|
|
"@changesets/cli": "^2.26.2",
|
|
"@faker-js/faker": "^7.6.0",
|
|
"@types/jest": "^29.5.3",
|
|
"@types/node": "^20.3.1",
|
|
"barrelsby": "^2.5.1",
|
|
"dprint": "latest",
|
|
"find-up-cli": "^5.0.0",
|
|
"jest": "^29.6.2",
|
|
"jest-chain": "^1.1.6",
|
|
"jest-extended": "^4.0.1",
|
|
"jest-fetch-mock": "^3.0.3",
|
|
"jest-mock-extended": "^3.0.5",
|
|
"jest-silent-reporter": "^0.5.0",
|
|
"jest-watch-select-projects": "^2.0.0",
|
|
"jest-watch-typeahead": "^2.2.2",
|
|
"lefthook": "latest",
|
|
"reflect-metadata": "^0.1.13",
|
|
"rimraf": "^6.0.1",
|
|
"ts-jest": "^29.2.3",
|
|
"ts-node": "^10.9.1",
|
|
"ts-node-dev": "^2.0.0",
|
|
"tsc-files": "^1.1.4",
|
|
"tsconfig-paths": "^4.2.0",
|
|
"ttab": "^0.8.0",
|
|
"turbo": "^1.10.16",
|
|
"typescript": "5.1.6",
|
|
"wasm-pack": "^0.13.0"
|
|
},
|
|
"scripts": {
|
|
"_compile": "turbo run --concurrency=1 compile",
|
|
"barrels": "barrelsby --config .barrelsby.json",
|
|
"build": "turbo build _compile",
|
|
"build.docker.discord": "docker build -f discord-bot/Dockerfile . -t discord-bot",
|
|
"build.docker.query": "docker build -f query-api/Dockerfile . -t query-api",
|
|
"build.docker.ui": "docker build -f ui/Dockerfile --build-arg NEXT_PUBLIC_QUERY_API_URL=$QUERY_API_URL . -t anonklub-ui",
|
|
"build.pkgs": "pnpm _compile && turbo --filter=// --filter='./pkgs/*' build",
|
|
"build.ui": "pnpm --filter @anonklub/ui build",
|
|
"changeset": "changeset && git add .changeset && git commit -m 'chore: add changeset'",
|
|
"clean": "find . \\( -name 'node_modules' -o -name 'dist' -o -name 'next' \\) -type d -prune -exec rm -rf '{}' +",
|
|
"compile": "turbo _compile",
|
|
"fix": "turbo _lint.fix && pnpm fmt",
|
|
"fmt": "dprint fmt",
|
|
"format.biome.fix": "biome format --config-path=.biome.jsonc --write .",
|
|
"lint": "turbo lint.cargo lint.biome",
|
|
"lint.biome": "biome lint --config-path=.biome.jsonc --max-diagnostics 200 . --no-errors-on-unmatched",
|
|
"lint.biome.fix": "biome lint --config-path=.biome.jsonc --write --max-diagnostics 200 .",
|
|
"lint.cargo.fix": "turbo lint.cargo.fix",
|
|
"lint.fix": "turbo lint.cargo.fix lint.biome.fix",
|
|
"publish.pkgs": "pnpm build.pkgs && changeset version && changeset publish",
|
|
"start.query-api": "pnpm --filter query-api start.dev",
|
|
"start.ui": "pnpm --filter @anonklub/ui dev",
|
|
"test.cargo": "cargo nextest run --workspace --target x86_64-unknown-linux-gnu",
|
|
"test": "turbo _test test.jest test.cargo",
|
|
"test.jest": "jest",
|
|
"test.watch": "jest --watch",
|
|
"test.coverage.html": "cargo llvm-cov --all-features --workspace --html --output-dir=target/llvm-cov/html",
|
|
"test.coverage.summary": "cargo llvm-cov --all-features --workspace --summary-only",
|
|
"typecheck": "turbo typecheck",
|
|
"validate": "turbo fmt build _compile --cache-dir=.turbo"
|
|
}
|
|
}
|