57 lines
1.6 KiB
JSON
57 lines
1.6 KiB
JSON
{
|
|
"name": "@waku/vote-poll-sdk-core",
|
|
"repository": "https://github.com/status-im/wakuconnect-vote-poll-sdk",
|
|
"main": "dist/cjs/src/index.js",
|
|
"module": "dist/esm/src/index.js",
|
|
"types": "dist/esm/src/index.d.ts",
|
|
"version": "0.4.0",
|
|
"license": "MIT OR Apache-2.0",
|
|
"publishConfig": {
|
|
"access": "public"
|
|
},
|
|
"watch": {
|
|
"build": {
|
|
"patterns": [
|
|
"src"
|
|
],
|
|
"extensions": "ts,tsx",
|
|
"runOnChangeOnly": false
|
|
}
|
|
},
|
|
"scripts": {
|
|
"clean:all": "yarn clean && rimraf node_modules/",
|
|
"clean": "rimraf dist/",
|
|
"watch": "yarn npm-watch",
|
|
"build": "yarn run build:esm && yarn run build:cjs",
|
|
"build:esm": "tsc --module es2020 --target es2017 --outDir dist/esm",
|
|
"build:cjs": "tsc --outDir dist/cjs",
|
|
"test": "mocha -r jsdom-global/register",
|
|
"lint": "yarn lint:prettier --check && yarn lint:eslint",
|
|
"lint:fix": "yarn lint:prettier --write && yarn lint:eslint --fix",
|
|
"lint:eslint": "eslint './{src,test}/**/*.{ts,tsx}'",
|
|
"lint:prettier": "yarn prettier './{src,test}/**/*.{ts,tsx}'"
|
|
},
|
|
"devDependencies": {
|
|
"@types/chai": "^4.2.21",
|
|
"@types/mocha": "^9.0.0",
|
|
"@typescript-eslint/eslint-plugin": "^4.29.0",
|
|
"@typescript-eslint/parser": "^4.29.0",
|
|
"chai": "^4.3.4",
|
|
"eslint": "^7.32.0",
|
|
"ethereum-waffle": "^3.4.0",
|
|
"jsdom": "^16.7.0",
|
|
"jsdom-global": "^3.0.2",
|
|
"mocha": "^9.0.3",
|
|
"npm-watch": "^0.11.0",
|
|
"ts-node": "^10.1.0",
|
|
"typescript": "^4.3.5"
|
|
},
|
|
"dependencies": {
|
|
"@waku/vote-sdk-contracts": "^0.4.0",
|
|
"eth-sig-util": "^3.0.1",
|
|
"ethers": "5.4.6",
|
|
"js-waku": "^0.11.0",
|
|
"protons": "^2.0.1"
|
|
}
|
|
}
|