-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy pathpackage.json
More file actions
71 lines (71 loc) · 4.07 KB
/
package.json
File metadata and controls
71 lines (71 loc) · 4.07 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": "@cerbos/sdk-javascript",
"private": true,
"packageManager": "pnpm@10.33.0+sha512.10568bb4a6afb58c9eb3630da90cc9516417abebd3fabbe6739f0ae795728da1491e9db5a544c76ad8eb7570f5c4bb3d6c637b2cb41bfdcdb47fa823c8649319",
"engines": {
"node": "25.9.0",
"pnpm": "10.33.0"
},
"scripts": {
"all:parallel": "concurrently --group --prefix=none",
"build": "tsc --build",
"build:watch": "tsc --build --watch",
"clean": "rm -rf docs packages/*/lib private/*/lib",
"docs": "tsc --build && typedoc",
"eslint:build": "tsc --build private/eslint",
"eslint:run": "eslint --max-warnings=0",
"generate": "pnpm run all:parallel 'pnpm:generate:*'",
"generate:buf:api": "scripts/generate-protobuf-code packages/api",
"generate:buf:hub": "scripts/generate-protobuf-code packages/hub",
"generate:buf:test": "scripts/generate-protobuf-code private/test",
"generate:changelogs": "tsx private/scripts/src/generate/changelogs.ts",
"generate:types-indexes": "scripts/generate-types-indexes",
"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": "pnpm run eslint:build && pnpm run eslint:run .",
"lint:check:links": "scripts/check-links",
"lint:check:prettier": "prettier --check .",
"lint:check:types": "pnpm --recursive --filter='./packages/*' exec attw --pack . --profile esm-only",
"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:gnostic": "mkdir -p proto/gnostic/openapiv3 && curl --fail --silent --show-error https://raw.githubusercontent.com/google/gnostic/main/openapiv3/annotations.proto --output proto/gnostic/openapiv3/annotations.proto",
"proto:export:gogoproto": "buf export --output=proto buf.build/gogo/protobuf",
"proto:export:google": "buf export --output=proto --path=google/rpc/status.proto buf.build/googleapis/googleapis",
"proto:export:grpc": "buf export --output=proto buf.build/grpc/grpc",
"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:openapiv3": "mkdir -p proto/openapiv3 && curl --fail --silent --show-error https://raw.githubusercontent.com/google/gnostic/main/openapiv3/OpenAPIv3.proto --output proto/openapiv3/OpenAPIv3.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.18.2",
"@bufbuild/buf": "1.68.1",
"@bufbuild/protoc-gen-es": "2.11.0",
"@cerbos/sdk-javascript-eslint": "workspace:*",
"@tsconfig/node20": "20.1.9",
"@tsconfig/strictest": "2.0.8",
"@types/node": "20.19.39",
"@types/web": "0.0.345",
"concurrently": "9.2.1",
"depcheck": "1.4.7",
"eslint": "9.39.4",
"prettier": "3.8.3",
"prettier-plugin-pkg": "0.22.1",
"ts-proto": "2.11.6",
"tsx": "4.21.0",
"typedoc": "0.28.19",
"typedoc-plugin-mdn-links": "5.1.1",
"typescript": "6.0.2"
}
}