-
Notifications
You must be signed in to change notification settings - Fork 55
/
package.json
27 lines (27 loc) · 1.33 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
{
"name": "@bufbuild/protobuf-conformance",
"private": true,
"scripts": {
"clean": "rm -rf ./dist/cjs/* ./dist/types/*",
"build": "npm run build:esm+types",
"build:esm+types": "../../node_modules/typescript/bin/tsc --project tsconfig.json --module ES2015 --verbatimModuleSyntax --outDir ./dist/esm --declaration --declarationDir ./dist/types",
"pregenerate": "rm -rf src/gen/*",
"generate": "protoc --es_out=src/gen --es_opt=ts_nocheck=false,target=ts --proto_path=$(upstream-include conformance) $(upstream-files conformance)",
"postgenerate": "license-header src/gen",
"test": "npm run test:bigint && npm run test:string",
"test:bigint": "BUF_BIGINT_DISABLE=0 conformance_test_runner --enforce_recommended --failure_list failing_tests_with_bigint.txt --text_format_failure_list failing_tests_text_format.txt bin/conformance_esm.js",
"test:string": "BUF_BIGINT_DISABLE=1 conformance_test_runner --enforce_recommended --failure_list failing_tests_without_bigint.txt --text_format_failure_list failing_tests_text_format.txt bin/conformance_esm.js"
},
"type": "module",
"types": "./dist/types/index.d.ts",
"exports": {
"import": "./dist/esm/index.js",
"default": "./dist/esm/index.js"
},
"dependencies": {
"@bufbuild/protobuf": "1.8.0"
},
"devDependencies": {
"upstream-protobuf": "*"
}
}