mirror of
https://github.com/farcasterxyz/hub-monorepo.git
synced 2026-02-11 05:25:11 -05:00
44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "@farcaster/hub-nodejs",
|
|
"version": "0.9.0",
|
|
"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",
|
|
"dependencies": {
|
|
"@farcaster/core": "0.11.0",
|
|
"@grpc/grpc-js": "^1.8.8",
|
|
"@noble/hashes": "^1.3.0",
|
|
"neverthrow": "^6.0.0"
|
|
},
|
|
"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,outputServices=grpc-js,useOptionals=none,unrecognizedEnum=false,removeEnumPrefix=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/",
|
|
"test": "NODE_OPTIONS=--experimental-vm-modules jest",
|
|
"test:ci": "ENVIRONMENT=test NODE_OPTIONS=--experimental-vm-modules jest --ci --forceExit --coverage",
|
|
"prepublishOnly": "yarn run build"
|
|
},
|
|
"devDependencies": {
|
|
"@faker-js/faker": "^7.6.0",
|
|
"eslint-config-custom": "*",
|
|
"rome-config-custom": "*",
|
|
"ts-proto": "^1.146.0"
|
|
},
|
|
"publishConfig": {
|
|
"access": "public"
|
|
}
|
|
}
|