40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"name": "@status-waku-voting/contracts",
|
|
"version": "0.0.1",
|
|
"main": "index.js",
|
|
"repository": "git@github.com:EthWorks/status-waku-voting.git",
|
|
"license": "MIT",
|
|
"scripts": {
|
|
"clean": "rm -r ./{build,dist,flatten}",
|
|
"build:sol": "waffle waffle.config.json",
|
|
"build:ts": "tsc",
|
|
"build": "yarn build:sol && yarn build:ts",
|
|
"lint": "yarn lint:prettier --check && yarn lint:solhint && yarn lint:eslint",
|
|
"lint:fix": "yarn lint:prettier --write && yarn lint:eslint --fix",
|
|
"lint:eslint": "eslint './test/**/*.ts'",
|
|
"lint:prettier": "yarn prettier './{contracts,test}/**/*.{ts,sol}'",
|
|
"lint:solhint": "yarn solhint -f table contracts/**/*.sol",
|
|
"flatten": "waffle flatten",
|
|
"test": "mocha -r ts-node/register/transpile-only 'test/**/*.test.ts'"
|
|
},
|
|
"devDependencies": {
|
|
"@openzeppelin/contracts": "^4.1.0",
|
|
"@types/chai": "^4.2.18",
|
|
"@types/mocha": "^8.2.2",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.28.0",
|
|
"ethereum-waffle": "^3.3.0",
|
|
"mocha": "^9.0.0",
|
|
"prettier": "^2.3.1",
|
|
"prettier-plugin-solidity": "^1.0.0-beta.13",
|
|
"solhint": "^3.3.6",
|
|
"solhint-plugin-prettier": "^0.0.5",
|
|
"ts-node": "^10.0.0",
|
|
"typescript": "^4.3.3"
|
|
},
|
|
"dependencies": {
|
|
"eth-sig-util": "^3.0.1",
|
|
"ethers": "5.4.1"
|
|
}
|
|
}
|