@bufbuild/protovalidate
Version:
Protocol Buffer Validation for ECMAScript
57 lines (56 loc) • 1.71 kB
JSON
{
"name": "@bufbuild/protovalidate",
"version": "0.6.0",
"description": "Protocol Buffer Validation for ECMAScript",
"keywords": [
"javascript",
"typescript",
"protobuf",
"cel",
"common-expression-language"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "git+https://github.com/bufbuild/protovalidate-es.git",
"directory": "packages/protovalidate"
},
"scripts": {
"fetch-proto": "export-proto protovalidate",
"postfetch-proto": "license-header proto",
"generate": "buf generate",
"postgenerate": "license-header src/gen",
"test": "npx tsx --test ./src/*.test.ts",
"prebuild": "rm -rf ./dist/*",
"build": "npm run build:cjs && npm run build:esm",
"build:cjs": "tsc --project tsconfig.json --module commonjs --verbatimModuleSyntax false --moduleResolution node10 --outDir ./dist/cjs && echo >./dist/cjs/package.json '{\"type\":\"commonjs\"}'",
"build:esm": "tsc --project tsconfig.json --outDir ./dist/esm",
"update-readme": "update-readme README.md",
"format": "biome format --write",
"lint": "biome lint --error-on-warnings",
"attw": "attw --pack",
"license-header": "license-header"
},
"type": "module",
"sideEffects": false,
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": "./dist/esm/index.js",
"require": "./dist/cjs/index.js"
}
},
"dependencies": {
"@bufbuild/cel": "0.2.0"
},
"peerDependencies": {
"@bufbuild/protobuf": "^2.6.1"
},
"devDependencies": {
"@bufbuild/protobuf": "^2.6.1",
"@bufbuild/protocompile": "^0.0.1",
"expect-type": "^1.2.1",
"upstream": "*"
}
}