watcher-ts/packages/test/package.json
prathamesh0 a5b3c7942d
Add test package (#164)
* Add test package

* Add a separate command to perform an eth-call

* Add snapshot test suite

* Add eth-calls for UniswapV2 Pair, USDC, Compound, Dai contracts

* Add args for Uniswap and USDC contracts

* Add args for Compound and Dai contracts

* Add getStorageAt calls to the test suite

* Refactor code and add documentation

* Loop over test slots for getStorageAt calls

* Add support for individual calls

* Use debug for logging
2022-08-19 11:06:11 +05:30

33 lines
848 B
JSON

{
"name": "@vulcanize/test",
"version": "0.1.0",
"main": "dist/index.js",
"license": "AGPL-3.0",
"scripts": {
"lint": "eslint .",
"build": "tsc",
"eth-call": "DEBUG=vulcanize:* ts-node src/eth-call.ts",
"get-storage-at": "DEBUG=vulcanize:* ts-node src/get-storage-at.ts",
"test:snapshot": "DEBUG=vulcanize:* mocha src/snapshot.test.ts"
},
"dependencies": {
"chai": "^4.3.4",
"ethers": "^5.4.4",
"fs-extra": "^10.0.0",
"lodash": "^4.17.21",
"mocha": "^8.4.0",
"toml": "^3.0.0",
"debug": "^4.3.1",
"yargs": "^17.0.1"
},
"devDependencies": {
"@types/chai": "^4.2.19",
"@types/mocha": "^8.2.2",
"@typescript-eslint/eslint-plugin": "^4.25.0",
"@typescript-eslint/parser": "^4.25.0",
"eslint": "^7.27.0",
"ts-node": "^10.0.0",
"typescript": "^4.3.2"
}
}