-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.52 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.52 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
{
"name": "blog-platform-monorepo",
"version": "1.0.0",
"private": true,
"workspaces": [
"frontend/*"
],
"scripts": {
"!common": "------------- common scripts -------------",
"format": "yarn format:js && yarn format:py",
"format:js": "prettier --write \"frontend/**/*.{js,jsx,ts,tsx,json,md}\"",
"format:py": "cd backend/api-server && uv run ruff format .",
"lint:fix": "yarn web:lint:fix && yarn api:lint:fix",
"clean": "rm -rf frontend/web-client/node_modules frontend/web-client/dist backend/api-server/__pycache__ backend/api-server/.pytest_cache backend/api-server/.venv",
"!frontend": "------------- frontend scripts -------------",
"web:dev": "cd frontend/web-client && yarn dev",
"web:build": "cd frontend/web-client && yarn build",
"web:preview": "cd frontend/web-client && yarn preview",
"web:lint": "cd frontend/web-client && yarn lint",
"web:lint:fix": "cd frontend/web-client && yarn lint:fix",
"!backend": "------------- backend scripts -------------",
"api:dev": "cd backend/api-server && uv run uvicorn main:app --reload --host 0.0.0.0 --port 8000",
"api:install": "cd backend/api-server && uv sync",
"api:lint": "cd backend/api-server && uv run ruff check .",
"api:lint:fix": "cd backend/api-server && uv run ruff check . --fix",
"api:format": "cd backend/api-server && uv run ruff format ."
},
"devDependencies": {
"prettier": "^3.3.3"
},
"packageManager": "yarn@1.22.22",
"dependencies": {
"styled-components": "^6.1.19"
}
}