Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
43 lines (43 loc) · 1.65 KB
/
Copy pathpackage.json
File metadata and controls
43 lines (43 loc) · 1.65 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
{
"name": "modlock",
"private": true,
"aptre": {
"tsTypedDecode": true,
"tsTypedEncode": true
},
"scripts": {
"gen": "./scripts/gen-proto.sh --language ts",
"prepare": "sh scripts/install-hooks.sh",
"typecheck": "tsrs --noEmit -p js/tsconfig.json && tsrs --noEmit -p js/test/tsconfig.json && tsrs --noEmit -p js/test/scriptc/tsconfig.json && tsrs --noEmit -p panorama/tsconfig.json && tsrs --noEmit -p panorama/browser/tsconfig.json && tsrs --noEmit -p scripts/tsconfig.json && tsrs --noEmit -p cmd/modlock-npm/tsconfig.json && tsrs --noEmit -p studio/web/tsconfig.json",
"check": "bun run typecheck && bun run lint && bun run check:tla",
"check:tla": "aptre-tla .",
"lint": "oxlint .",
"lint:fix": "oxlint . --fix",
"lint:cc": "bun scripts/lint-cc.ts",
"format": "oxfmt",
"format:go": "gofmt -w",
"format:cc": "git ls-files -z '*.cc' '*.h' ':!:third_party' ':!:*.pb.*' | xargs -0 clang-format -i",
"test": "bun test --timeout 30000 ./panorama/ ./js/test/",
"test:scriptc": "go test -timeout 60m -run TestScriptcSuite -v ./js",
"gen:items": "bun scripts/gen-items.ts",
"format:cc:files": "clang-format -i"
},
"devDependencies": {
"@aptre/common": "0.38.2",
"@aptre/protobuf-es-lite": "1.2.6",
"@babel/parser": "8.0.8",
"@babel/types": "8.0.8",
"@types/bun": "1.4.4",
"@types/react": "19.3.0",
"@types/react-dom": "19.3.0",
"@types/three": "0.186.0",
"oxfmt": "0.74.0",
"oxlint": "1.89.0",
"oxlint-tsgolint": "7.0.2005",
"react": "19.3.1",
"react-dom": "19.3.1",
"three": "0.186.1",
"tsrs": "0.18.0-ts7.1.0-dev.20260929"
},
"type": "module"
}