mirror of
https://github.com/getwax/bls-wallet.git
synced 2026-01-09 23:58:19 -05:00
Move contract addresses from env vars to a common JSON network config. Add io-ts to client to verify network config JSON. Add setup.ts to bootstrap repo. Add deploy script for use with deploying all contracts. Add docker-compose.yml as alternative for postgres setup. Add main README, update component READMEs. Co-authored-by: Andrew Morris <voltrevo@gmail.com>
40 lines
1.6 KiB
JSON
40 lines
1.6 KiB
JSON
{
|
|
"name": "bls-wallet-clients",
|
|
"version": "0.4.0",
|
|
"description": "Client libraries for interacting with BLS Wallet components",
|
|
"main": "dist/src/index.js",
|
|
"types": "dist/src/index.d.ts",
|
|
"repository": "https://github.com/jzaki/bls-wallet/tree/main/client",
|
|
"author": "Andrew Morris",
|
|
"license": "MIT",
|
|
"private": false,
|
|
"scripts": {
|
|
"build": "rm -rf dist && mkdir dist && cp -rH typechain dist/typechain && tsc",
|
|
"watch": "tsc -w",
|
|
"test": "mocha dist/**/*.test.js",
|
|
"premerge": "yarn build && yarn test",
|
|
"publish-experimental": "node scripts/showVersion.js >.version && npm version $(node scripts/showBaseVersion.js)-$(git rev-parse HEAD | head -c7) --allow-same-version && npm publish --tag experimental && npm version $(cat .version) && rm .version",
|
|
"publish-experimental-dry-run": "node scripts/showVersion.js >.version && npm version $(node scripts/showBaseVersion.js)-$(git rev-parse HEAD | head -c7) --allow-same-version && npm publish --tag experimental --dry-run && npm version $(cat .version) && rm .version"
|
|
},
|
|
"dependencies": {
|
|
"@ethersproject/abi": "^5.4.0",
|
|
"@ethersproject/bignumber": "^5.4.1",
|
|
"@ethersproject/bytes": "^5.4.0",
|
|
"@ethersproject/keccak256": "^5.4.0",
|
|
"@ethersproject/sha2": "^5.4.0",
|
|
"@ethersproject/solidity": "^5.4.0",
|
|
"ethers": "^5.5.0",
|
|
"fp-ts": "^2.11.5",
|
|
"io-ts": "^2.2.16",
|
|
"mcl-wasm": "0.7.6",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.21",
|
|
"@types/mocha": "^9.0.0",
|
|
"chai": "^4.3.4",
|
|
"mocha": "^9.0.3",
|
|
"source-map-support": "^0.5.20"
|
|
}
|
|
}
|