-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
76 lines (76 loc) · 4.16 KB
/
package.json
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
74
75
76
{
"name": "cerbos-sdk-javascript",
"private": true,
"packageManager": "pnpm@9.15.2",
"engines": {
"node": "23.5.0",
"pnpm": "9.15.2"
},
"scripts": {
"all:parallel": "concurrently --group --prefix=none",
"api:extract": "pnpm --filter='./packages/*' --parallel exec api-extractor run",
"api:fixup": "scripts/sed-all api 's/_2//'",
"build": "tsc --build",
"build:watch": "tsc --build --watch",
"clean": "rm -rf api packages/*/lib private/*/tsconfig.tsbuildinfo",
"docs": "pnpm run build && pnpm run api:extract && pnpm run api:fixup && pnpm run docs:generate && pnpm run docs:fixup",
"docs:fixup": "scripts/sed-all docs -e 's/\\r$//' -e 's/^\\*\\*Returns:\\*\\*/\\n&/'",
"docs:generate": "api-documenter markdown --input-folder api --output-folder docs",
"generate": "pnpm run generate:clean && pnpm run all:parallel 'pnpm:generate:*(!clean|format)' && pnpm run generate:format",
"generate:buf:core": "buf generate --template=packages/core/buf.gen.yaml",
"generate:buf:embedded": "buf generate --template=packages/embedded/buf.gen.yaml",
"generate:buf:files": "buf generate --template=packages/files/buf.gen.yaml",
"generate:buf:grpc": "buf generate --template=packages/grpc/buf.gen.yaml",
"generate:buf:http": "buf generate --template=packages/http/buf.gen.yaml",
"generate:buf:test": "buf generate --template=private/test/buf.gen.yaml",
"generate:changelogs": "tsx private/scripts/src/generate/changelogs.ts",
"generate:clean": "rm -rf packages/*/src/protobuf private/*/src/protobuf",
"generate:external-types-index": "scripts/generate-external-types-index",
"generate:format": "prettier --write packages/*/src/protobuf private/*/src/protobuf",
"lint": "pnpm run all:parallel 'pnpm:lint:check:*'",
"lint:check:depcheck": "pnpm --recursive --include-workspace-root exec depcheck --ignore-patterns=/lib/ --quiet --skip-missing",
"lint:check:eslint": "eslint --max-warnings=0 .",
"lint:check:prettier": "prettier --check .",
"lint:check:types": "pnpm --recursive --filter='./packages/*' exec attw --pack .",
"lint:fix": "pnpm run lint:fix:eslint && pnpm run lint:fix:prettier",
"lint:fix:eslint": "eslint --fix --max-warnings=0 .",
"lint:fix:prettier": "prettier --write .",
"proto": "pnpm run proto:clean && pnpm run proto:export",
"proto:clean": "rm -rf proto",
"proto:export": "pnpm run all:parallel 'pnpm:proto:export:*'",
"proto:export:cerbos:hub": "buf export --exclude-imports --output=proto buf.build/cerbos/cloud-api",
"proto:export:cerbos:pdp": "buf export --output=proto buf.build/cerbos/cerbos-api",
"proto:export:gogoproto": "buf export --output=proto buf.build/gogo/protobuf",
"proto:export:jaeger": "mkdir -p proto/jaeger/proto/api_v3 && curl --fail --silent --show-error https://raw.githubusercontent.com/jaegertracing/jaeger-idl/main/proto/api_v3/query_service.proto --output proto/jaeger/proto/api_v3/query_service.proto",
"proto:export:opentelemetry": "buf export --output=proto 'https://github.com/open-telemetry/opentelemetry-proto.git#tag=v1.1.0'",
"releases:prepare": "tsx private/scripts/src/releases/prepare.ts",
"releases:tag": "tsx private/scripts/src/releases/tag.ts",
"test": "pnpm run --filter=./private/test test",
"test:matrix": "tsx private/scripts/src/test/matrix.ts",
"test:servers:start": "pnpm run --filter=./private/test test:servers:start",
"test:servers:stop": "pnpm run --filter=./private/test test:servers:stop"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.17.2",
"@eslint/js": "9.17.0",
"@microsoft/api-documenter": "7.26.3",
"@microsoft/api-extractor": "7.48.1",
"@tsconfig/node18": "18.2.4",
"@tsconfig/strictest": "2.0.5",
"@types/eslint__js": "8.42.3",
"@types/node": "18.19.69",
"@vitest/eslint-plugin": "1.1.24",
"concurrently": "9.1.2",
"depcheck": "1.4.7",
"eslint": "9.17.0",
"eslint-plugin-import": "2.31.0",
"eslint-plugin-react-hooks": "5.1.0",
"eslint-plugin-tsdoc": "0.4.0",
"prettier": "3.4.2",
"prettier-plugin-pkg": "0.18.1",
"ts-proto": "2.6.1",
"tsx": "4.19.2",
"typescript": "5.7.2",
"typescript-eslint": "8.19.0"
}
}