44 lines
1.4 KiB
JSON
44 lines
1.4 KiB
JSON
{
|
|
"name": "@waku/vote-sdk-contracts",
|
|
"version": "0.2.0",
|
|
"main": "index.js",
|
|
"repository": "https://github.com/status-im/wakuconnect-vote-poll-sdk",
|
|
"license": "MIT OR Apache-2.0",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"scripts": {
|
|
"clean:all": "yarn clean && rimraf node_modules/",
|
|
"clean": "rimraf build/ && rimraf dist/ && rimraf flatten/ rimraf cache/",
|
|
"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.4.0",
|
|
"mocha": "^9.0.0",
|
|
"prettier": "^2.3.1",
|
|
"prettier-plugin-solidity": "^1.0.0-beta.13",
|
|
"rimraf": "^3.0.2",
|
|
"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"
|
|
}
|
|
}
|