46 lines
1.4 KiB
JSON
46 lines
1.4 KiB
JSON
{
|
|
"name": "@ag-ui/proto",
|
|
"author": "Markus Ecker <markus.ecker@gmail.com>",
|
|
"version": "0.0.47",
|
|
"private": false,
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"main": "./dist/index.js",
|
|
"module": "./dist/index.mjs",
|
|
"types": "./dist/index.d.ts",
|
|
"dependencies": {
|
|
"@bufbuild/protobuf": "^2.2.5",
|
|
"@protobuf-ts/protoc": "^2.11.1",
|
|
"@ag-ui/core": "0.0.47"
|
|
},
|
|
"devDependencies": {
|
|
"@vitest/coverage-istanbul": "^4.0.18",
|
|
"publint": "^0.3.12",
|
|
"@arethetypeswrong/cli": "^0.17.4",
|
|
"vitest": "^4.0.18",
|
|
"ts-proto": "^2.7.0",
|
|
"tsdown": "^0.20.1",
|
|
"typescript": "^5.8.2"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"require": "./dist/index.js",
|
|
"import": "./dist/index.mjs"
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"scripts": {
|
|
"build": "tsdown",
|
|
"dev": "tsdown --watch",
|
|
"lint": "eslint \"src/**/*.ts*\"",
|
|
"clean": "git clean -fdX --exclude=\"!.env\"",
|
|
"test": "vitest run",
|
|
"test:coverage": "vitest run --coverage",
|
|
"test:watch": "vitest",
|
|
"test:exports": "publint --strict && attw --pack",
|
|
"generate": "mkdir -p ./src/generated && npx protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto.CMD --ts_proto_out=./src/generated --ts_proto_opt=esModuleInterop=true,outputJsonMethods=false,outputClientImpl=false -I ./src/proto ./src/proto/*.proto",
|
|
"link:global": "pnpm link --global",
|
|
"unlink:global": "pnpm unlink --global"
|
|
}
|
|
} |