-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
75 lines (75 loc) · 3.16 KB
/
package.json
File metadata and controls
75 lines (75 loc) · 3.16 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
65
66
67
68
69
70
71
72
73
74
75
{
"name": "traycer-starterkit",
"version": "1.0.0",
"description": "SaaS Starter Kit with FastAPI, React, and Polar integration",
"private": true,
"workspaces": [
"frontend",
"shared",
"docs"
],
"scripts": {
"dev": "concurrently \"npm:dev:*\"",
"dev:backend": "cd backend && poetry run uvicorn app.main:app --reload --host 0.0.0.0 --port 8000",
"dev:frontend": "cd frontend && npm run dev",
"dev:worker": "cd backend && poetry run python -m app.workers.run_worker",
"dev:docs": "cd docs && npm run dev",
"build": "npm run build:frontend && npm run build:docs",
"build:frontend": "cd frontend && npm run build",
"build:docs": "cd docs && npm run build",
"lint": "concurrently \"npm:lint:frontend\" \"npm:lint:backend\"",
"lint:frontend": "cd frontend && npm run lint",
"lint:backend": "cd backend && poetry run ruff check .",
"lint:fix": "concurrently \"npm:lint:fix:frontend\" \"npm:lint:fix:backend\"",
"lint:fix:frontend": "cd frontend && npm run lint:fix",
"lint:fix:backend": "cd backend && poetry run ruff check --fix .",
"format": "concurrently \"npm:format:frontend\" \"npm:format:backend\"",
"format:frontend": "cd frontend && npm run format",
"format:backend": "cd backend && poetry run ruff format .",
"format:check": "concurrently \"npm:format:check:frontend\" \"npm:format:check:backend\"",
"format:check:frontend": "cd frontend && npm run format:check",
"format:check:backend": "cd backend && poetry run ruff format --check .",
"test": "concurrently \"npm:test:backend\" \"npm:test:frontend\"",
"test:backend": "cd backend && poetry run pytest",
"test:frontend": "cd frontend && npm run test",
"test:coverage": "concurrently \"npm:test:coverage:backend\" \"npm:test:coverage:frontend\"",
"test:coverage:backend": "cd backend && poetry run pytest --cov=app --cov-report=html --cov-report=json --cov-report=lcov",
"test:coverage:frontend": "cd frontend && npm run test:coverage",
"typecheck": "concurrently \"npm:typecheck:backend\" \"npm:typecheck:frontend\"",
"typecheck:backend": "cd backend && poetry run mypy app",
"typecheck:frontend": "cd frontend && npm run typecheck",
"docker:up": "docker compose up --watch",
"docker:down": "docker compose down",
"docker:build": "docker compose build",
"docker:logs": "docker compose logs -f",
"db:migrate": "cd backend && poetry run alembic upgrade head",
"db:migrate:create": "cd backend && poetry run alembic revision --autogenerate -m",
"db:rollback": "cd backend && poetry run alembic downgrade -1",
"changeset": "changeset",
"changeset:version": "changeset version",
"changeset:publish": "changeset publish",
"prepare": "husky"
},
"keywords": [
"saas",
"fastapi",
"react",
"polar",
"starter-kit"
],
"author": "",
"license": "MIT",
"devDependencies": {
"@biomejs/biome": "^2.3.8",
"husky": "^9.1.7",
"lint-staged": "^16.2.7",
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.2.0",
"concurrently": "^9.1.2",
"@changesets/cli": "^2.27.1"
},
"engines": {
"node": ">=20.0.0",
"npm": ">=10.0.0"
}
}