-
Notifications
You must be signed in to change notification settings - Fork 19
/
package.json
49 lines (49 loc) · 2.2 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
{
"name": "farcaster-solidity",
"version": "1.4.0",
"main": "index.js",
"author": "Sergey Potekhin <[email protected]>",
"license": "MIT",
"description": "A collection of Solidity libraries for interacting with the Farcaster messages on-chain",
"scripts": {
"lint": "yarn lint:sol",
"lint:sol": "solhint \"contracts/**/*.sol\"",
"protoc": "yarn protoc:ts && yarn protoc:sol",
"protoc:ts": "docker run --rm --user $(id -u):$(id -g) -v $(pwd)/node_modules:/node_modules -v $(pwd)/protobufs:/defs -v $(pwd)/src/protobufs:/out namely/protoc:1.50_1 --plugin=/node_modules/ts-proto/protoc-gen-ts_proto --ts_proto_out=/out --ts_proto_opt=esModuleInterop=true,exportCommonSymbols=false,outputServices=false,useOptionals=none,unrecognizedEnum=false,removeEnumPrefix=true --proto_path=/defs $(ls protobufs/*.proto | xargs -n 1 basename | xargs -I{} echo '/defs/{}' | tr '\n' ' ')",
"protoc:sol": "protoc --proto_path ./protobufs/ --plugin $PROTO_GEN_SOL --sol_out generate=decoder:. ./protobufs/message.proto && mv *.proto.sol contracts/protobufs/",
"protoc:modify-protobufs-sol": "ts-node scripts/modify-protobufs-sol.ts",
"hh:compile": "hardhat compile",
"hh:test": "hardhat test",
"hh:size": "hardhat size-contracts"
},
"devDependencies": {
"@nomicfoundation/hardhat-chai-matchers": "^2.0.0",
"@nomicfoundation/hardhat-ethers": "^3.0.0",
"@nomicfoundation/hardhat-network-helpers": "^1.0.0",
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@nomicfoundation/hardhat-verify": "^2.0.0",
"@typechain/ethers-v6": "^0.5.0",
"@typechain/hardhat": "^9.0.0",
"@types/chai": "^4.2.0",
"@types/mocha": ">=9.1.0",
"@types/node": ">=16.0.0",
"chai": "^4.2.0",
"ethers": "^6.4.0",
"hardhat": "^2.19.2",
"hardhat-abi-exporter": "^2.10.1",
"hardhat-contract-sizer": "^2.10.0",
"hardhat-gas-reporter": "^1.0.9",
"solhint": "^4.1.1",
"solidity-coverage": "^0.8.0",
"solregex": "^0.3.1",
"ts-node": ">=8.0.0",
"typechain": "^8.3.0",
"typescript": ">=4.5.0"
},
"dependencies": {
"@farcaster/core": "^0.13.3",
"@lazyledger/protobuf3-solidity-lib": "^0.6.0",
"@noble/hashes": "^1.3.3",
"ts-proto": "1.146.0"
}
}