Files
hub-monorepo/packages/core/package.json
Shane da Silva 4f9bc9cb71 chore: Cut patch release for core and hub-nodejs (#1231)
This removes Rust for now, until we have prebuilt packages for multiple
architectures.
2023-08-07 17:01:10 -07:00

53 lines
1.9 KiB
JSON

{
"name": "@farcaster/core",
"version": "0.12.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",
"ffi-napi": "^4.0.3",
"neverthrow": "^6.0.0",
"ref-napi": "^3.0.3",
"viem": "^1.1.4"
},
"scripts": {
"build:rust": "cargo-cp-artifact -ac addon src/addon/index.node -- cargo build --manifest-path ./src/addon/Cargo.toml --message-format=json-render-diagnostics --release",
"build": "yarn build:rust && 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": "rome format src/ --write && rome check src/ --apply",
"lint:ci": "rome ci src/",
"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",
"@types/ffi-napi": "^4.0.7",
"@types/ref-napi": "^3.0.7",
"eslint-config-custom": "*",
"ethers": "^6.6.1",
"ethers5": "npm:ethers@^5.7.0",
"node-gyp": "^9.4.0",
"prettier-config-custom": "*",
"rome-config-custom": "*",
"ts-proto": "^1.146.0",
"cargo-cp-artifact": "^0.1"
}
}