-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
73 lines (73 loc) · 2.59 KB
/
package.json
File metadata and controls
73 lines (73 loc) · 2.59 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
{
"name": "ormi",
"version": "0.0.1",
"private": true,
"workspaces": [
"apps/*",
"packages/*",
"plugins/*"
],
"scripts": {
"build": "turbo build",
"start": "cd apps/web && bun run start",
"dev": "bunx turbo dev",
"lint": "turbo lint",
"lint:fix": "turbo lint -- --fix",
"test": "turbo test",
"typecheck": "turbo typecheck",
"format": "prettier --write \"apps/**/*.{ts,tsx,md}\" \"packages/**/*.{ts,tsx,md}\" \"plugins/**/*.{ts,tsx,md}\" \"*.md\"",
"format:check": "prettier --check \"apps/**/*.{ts,tsx,md}\" \"packages/**/*.{ts,tsx,md}\" \"plugins/**/*.{ts,tsx,md}\" \"*.md\"",
"create": "bun scripts/create-package.js",
"clean": "bunx turbo clean && rm -rf node_modules apps/*/node_modules packages/*/node_modules plugins/*/node_modules",
"update:deps": "for dir in apps/* packages/* plugins/*; do [ -d \"$dir\" ] && (cd \"$dir\" && echo \"Updating $dir...\" && bun update --latest); done",
"docs:generate": "bunx typedoc",
"precommit": "lint-staged",
"prepare": "simple-git-hooks"
},
"devDependencies": {
"@workspace/eslint-config": "workspace:*",
"@workspace/typescript-config": "workspace:*",
"babel-plugin-react-compiler": "^1.0.0",
"lint-staged": "^15.2.11",
"prettier": "^3.8.1",
"simple-git-hooks": "^2.12.1",
"turbo": "^2.8.3",
"typescript": "5.9.3"
},
"packageManager": "bun@1.2.17",
"engines": {
"node": ">=20"
},
"overrides": {
"@jsonforms/core": "3.7.0",
"@jsonforms/react": "3.7.0"
},
"dependencies": {
"@types/three": "^0.182.0",
"three": "^0.182.0",
"typedoc": "^0.28.16"
},
"simple-git-hooks": {
"pre-commit": "bun run precommit",
"pre-push": "bun run typecheck"
},
"comments": {
"pre-commit": "Fast checks on staged files only (format, patterns)",
"pre-push": "Quick type check before pushing (turbo caches unchanged)",
"ci": "Full validation: lint, typecheck, build, test (source of truth)"
},
"lint-staged": {
"*.{ts,tsx}": [
"prettier --write",
"bash -c 'if grep -nE \"(console\\.(log|debug|info|warn)|debugger)\" \"$0\"; then echo \"❌ Error: Found console statements or debugger in $0\" >&2 && exit 1; fi'",
"bash -c 'if grep -nE \"\\.only\\(|fdescribe|fit\" \"$0\"; then echo \"❌ Error: Found .only() or focused tests in $0\" >&2 && exit 1; fi'",
"bash -c 'if grep -nE \"^(<{7}|>{7}|={7})\" \"$0\"; then echo \"❌ Error: Found merge conflict markers in $0\" >&2 && exit 1; fi'"
],
"*.{json,md}": [
"prettier --write"
],
"package.json": [
"bash -c 'node -e \"JSON.parse(require(\\\"fs\\\").readFileSync(\\\"$0\\\", \\\"utf8\\\"))\" || (echo \"❌ Error: Invalid JSON in $0\" >&2 && exit 1)'"
]
}
}