Files
hub-monorepo/packages/hub-nodejs/package.json
2023-05-15 15:01:33 -07:00

44 lines
1.4 KiB
JSON

{
"name": "@farcaster/hub-nodejs",
"version": "0.7.3",
"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.8.0",
"@grpc/grpc-js": "^1.8.13",
"@noble/hashes": "^1.3.0",
"ethers": "~6.2.1",
"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": "eslint src/ --color --ext .ts",
"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": "*",
"prettier-config-custom": "*",
"ts-proto": "^1.146.0"
},
"publishConfig": {
"access": "public"
}
}