Files
hub-monorepo/packages/core/package.json
Tony D'Addeo bfdbfea6b0 chore: use viem in @farcaster/core (#1037)
* chore: use viem instead of ethers

* add changeset

* remove more ethers usages

* move ethers to dev dependecy

* add signUserNameProof to Eip712Signer

* expand test coverage

* update changeset

* add makeUserNameProofClaim

* prefer @noble/hashes/utils in examples
2023-06-26 11:27:13 -05:00

44 lines
1.4 KiB
JSON

{
"name": "@farcaster/core",
"version": "0.9.1",
"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": {
"@noble/curves": "^1.0.0",
"@noble/hashes": "^1.3.0",
"neverthrow": "^6.0.0",
"viem": "^1.1.4"
},
"scripts": {
"build": "tsup --config tsup.config.ts",
"clean": "rimraf ./dist",
"protoc": "protoc --plugin=./node_modules/.bin/protoc-gen-ts_proto --ts_proto_out=./src/protobufs/generated/ --ts_proto_opt=esModuleInterop=true,exportCommonSymbols=false,outputServices=false,useOptionals=none,unrecognizedEnum=false,removeEnumPrefix=true --proto_path=../../protobufs/schemas ../../protobufs/schemas/*",
"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": {
"@ethersproject/abstract-signer": "^5.7.0",
"@faker-js/faker": "^7.6.0",
"@farcaster/fishery": "2.2.3",
"eslint-config-custom": "*",
"ethers": "^6.6.1",
"ethers5": "npm:ethers@^5.7.0",
"prettier-config-custom": "*",
"ts-proto": "^1.146.0"
}
}