-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
49 lines (49 loc) · 2.05 KB
/
package.json
File metadata and controls
49 lines (49 loc) · 2.05 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
{
"name": "ailss",
"private": true,
"packageManager": "pnpm@10.20.0",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "pnpm -r build",
"check": "pnpm format:check && pnpm lint && pnpm typecheck && pnpm typecheck:repo && pnpm test && pnpm py:check",
"check:ci": "pnpm build && pnpm check",
"commitlint": "commitlint",
"typecheck": "pnpm -r typecheck",
"typecheck:repo": "tsc -p tsconfig.json --noEmit",
"lint": "eslint . --max-warnings=0",
"lint:fix": "eslint . --fix",
"format": "prettier . --write",
"format:check": "prettier . --check",
"py:sync": "UV_CACHE_DIR=.uv-cache uv sync --directory apps/api --locked",
"py:format": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api ruff format .",
"py:format:check": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api ruff format --check .",
"py:lint": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api ruff check .",
"py:typecheck": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api mypy src tests",
"py:test": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api pytest",
"py:test:coverage": "UV_CACHE_DIR=.uv-cache uv run --directory apps/api pytest --cov=src/ailss_api --cov-report=term-missing",
"py:check": "pnpm py:format:check && pnpm py:lint && pnpm py:typecheck && pnpm py:test",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage --coverage.provider v8 && pnpm py:test:coverage",
"prepare": "node -e \"process.exit(process.env.LEFTHOOK === '0' ? 0 : 1)\" || lefthook install",
"clean": "pnpm -r clean"
},
"devDependencies": {
"@commitlint/cli": "^20.2.0",
"@commitlint/config-conventional": "^20.0.0",
"@eslint/js": "^9.39.2",
"@types/better-sqlite3": "^7.6.13",
"@types/node": "^24.3.0",
"@vitest/coverage-v8": "4.0.15",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"globals": "^16.4.0",
"lefthook": "^2.0.11",
"prettier": "^3.7.4",
"typescript": "^5.9.2",
"typescript-eslint": "^8.49.0",
"vitest": "^4.0.15"
}
}