2021-08-06 12:50:36 +00:00
|
|
|
{
|
2021-12-07 01:18:34 +00:00
|
|
|
"name": "@dappconnect/vote-poll-sdk-core",
|
2021-08-06 12:50:36 +00:00
|
|
|
"main": "dist/cjs/src/index.js",
|
|
|
|
"module": "dist/esm/src/index.js",
|
|
|
|
"types": "dist/esm/src/index.d.ts",
|
2021-09-01 13:18:02 +00:00
|
|
|
"version": "0.1.0",
|
2021-08-06 12:50:36 +00:00
|
|
|
"license": "MIT",
|
2021-09-01 23:10:14 +00:00
|
|
|
"watch": {
|
|
|
|
"build": {
|
|
|
|
"patterns": ["src"],
|
|
|
|
"extensions": "ts,tsx",
|
|
|
|
"runOnChangeOnly": false
|
|
|
|
}
|
|
|
|
},
|
2021-08-06 12:50:36 +00:00
|
|
|
"scripts": {
|
2021-09-01 23:10:14 +00:00
|
|
|
"clean:all": "yarn clean && rimraf node_modules/",
|
|
|
|
"clean": "rimraf dist/",
|
|
|
|
"watch": "yarn npm-watch",
|
2021-08-06 12:50:36 +00:00
|
|
|
"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",
|
2021-08-09 14:00:42 +00:00
|
|
|
"ethereum-waffle": "^3.4.0",
|
2021-08-06 12:50:36 +00:00
|
|
|
"jsdom": "^16.7.0",
|
|
|
|
"jsdom-global": "^3.0.2",
|
|
|
|
"mocha": "^9.0.3",
|
2021-09-01 23:10:14 +00:00
|
|
|
"npm-watch": "^0.11.0",
|
2021-08-06 12:50:36 +00:00
|
|
|
"ts-node": "^10.1.0",
|
|
|
|
"typescript": "^4.3.5"
|
|
|
|
},
|
2021-08-09 08:50:10 +00:00
|
|
|
"dependencies": {
|
2021-12-07 01:15:57 +00:00
|
|
|
"@dappconnect/vote-sdk-contracts": "^0.0.1",
|
2021-08-12 14:37:21 +00:00
|
|
|
"eth-sig-util": "^3.0.1",
|
2021-08-09 12:53:39 +00:00
|
|
|
"ethers": "^5.4.4",
|
2021-08-30 12:01:08 +00:00
|
|
|
"js-waku": "^0.11.0",
|
2021-08-09 12:53:39 +00:00
|
|
|
"protons": "^2.0.1"
|
2021-08-09 08:50:10 +00:00
|
|
|
}
|
2021-08-06 12:50:36 +00:00
|
|
|
}
|