Files
hub-monorepo/packages/hub-web/package.json
2023-07-11 17:34:17 -07:00

37 lines
1.2 KiB
JSON

{
"name": "@farcaster/hub-web",
"version": "0.4.2",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"files": [
"dist"
],
"license": "MIT",
"scripts": {
"build": "tsup --config tsup.config.ts",
"clean": "rimraf ./dist",
"protoc": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/generated/ --ts_proto_opt=esModuleInterop=true,exportCommonSymbols=false,outputClientImpl=grpc-web,useOptionals=none,unrecognizedEnum=false,removeEnumPrefix=true,lowerCaseServiceMethods=true --proto_path=../../protobufs//schemas ../../protobufs/schemas/rpc.proto",
"lint": "rome format src/ examples/ --write && rome check src/ examples/ --apply",
"lint:ci": "rome ci src/ examples/",
"prepublishOnly": "yarn run build"
},
"devDependencies": {
"eslint-config-custom": "*",
"rome-config-custom": "*",
"ts-proto": "^1.146.0"
},
"dependencies": {
"@farcaster/core": "^0.10.2",
"@improbable-eng/grpc-web": "^0.15.0",
"rxjs": "^7.8.0"
}
}