-
Notifications
You must be signed in to change notification settings - Fork 188
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (70 loc) · 3.48 KB
/
Copy pathpackage.json
File metadata and controls
71 lines (70 loc) · 3.48 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
{
"name": "open-knowledge",
"license": "GPL-3.0-or-later",
"private": true,
"type": "module",
"packageManager": "pnpm@10.33.0",
"engines": {
"node": ">=24"
},
"scripts": {
"knip": "turbo run build --filter=@inkeep/open-knowledge-server --filter=@inkeep/open-knowledge-core --output-logs=errors-only && knip",
"notices": "node scripts/generate-third-party-notices.mjs",
"schema:dump": "tsx packages/core/scripts/dump-schema.ts",
"build": "turbo run build",
"build:desktop": "turbo run build:desktop",
"build:desktop:dir": "turbo run build:desktop:dir",
"check:desktop": "turbo run lint typecheck test --filter=@inkeep/open-knowledge-desktop",
"check:fast": "pnpm run typecheck",
"check:doc-links": "pnpm --dir docs run validate-link",
"check:drift": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && vitest run --config vitest.scripts.config.ts",
"typecheck": "turbo run typecheck",
"test": "turbo run test",
"test:vitest-selftest": "vitest run",
"lint": "pnpm run lint:biome && pnpm run lint:oxlint",
"lint:biome": "biome check packages docs *.json *.jsonc *.ts --error-on-warnings",
"lint:oxlint": "oxlint --max-warnings 0 .",
"format": "pnpm run lint:biome --write --unsafe",
"check": "pnpm run lint && pnpm exec turbo run build typecheck test",
"check:full:parallel": "bash scripts/check-husky-prepare-guard.sh && bash scripts/check-knip-clean.sh && bash scripts/check-notices-clean.sh && bash scripts/check-schema-snapshot-clean.sh && bash scripts/check-i18n-drift.sh && bash scripts/check-no-major-changeset.sh && pnpm run lint && pnpm run check:doc-links && vitest run --config vitest.scripts.config.ts && turbo run build typecheck test test:dom test:integration test:conversion test:perf:regression:unit test:health:unit test:health test:e2e test:visual test:perf test:a11y --concurrency=100% --output-logs=errors-only",
"tier1": "pnpm run check",
"tier2": "pnpm run tier1 && turbo run test:perf:regression:unit test:health:unit test:health test:e2e",
"tier3": "STRESS_FIDELITY=1 pnpm run tier2",
"measure:fuzz": "cd packages/app && pnpm run measure:fuzz",
"measure:stress": "cd packages/app && pnpm run measure:stress",
"prepare": "bash scripts/husky-prepare.sh",
"changeset": "changeset",
"version": "changeset version",
"release": "changeset publish"
},
"lint-staged": {
"packages/**/*.{ts,tsx,js,jsx,json,md}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
],
"docs/**/*.{ts,tsx,js,jsx,json,md}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
],
"{package.json,turbo.json,tsconfig.json,biome.jsonc}": [
"biome check --write --no-errors-on-unmatched --files-ignore-unknown=true --error-on-warnings"
]
},
"devDependencies": {
"@biomejs/biome": "2.4.15",
"@changesets/cli": "^2.29.7",
"bun-types": "^1.3.13",
"husky": "^9.1.7",
"knip": "^6.26.0",
"lint-staged": "^16.4.0",
"oxlint": "1.66.0",
"oxlint-plugin-eslint": "^1.66.0",
"oxlint-tsgolint": "^0.23.0",
"smol-toml": "^1.6.1",
"ts-morph": "^28.0.0",
"tsx": "^4.20.0",
"turbo": "^2.7.0",
"vitest": "^4.1.0"
},
"puppeteer": {
"skipDownload": true
}
}