generated from dev-protocol/template-repos-ts-sol
-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
77 lines (77 loc) · 2.29 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
{
"name": "@devprotocol/vote-count-resolver",
"version": "0.2.0",
"description": "Template repository for using TypeScript and Solidity",
"main": "dist/index.js",
"exports": {
"import": "./dist/index.mjs",
"require": "./dist/index.js"
},
"types": "./dist/vote-count-resolver.d.ts",
"files": [
"dist/*.mjs",
"dist/*.js",
"dist/*.ts",
"!**/*.test.*"
],
"scripts": {
"test": "yarn test:contracts && yarn test:libs",
"test:contracts": "mocha --require ts-node/register 'test/contracts/**/*.ts' --timeout 300000 --parallel",
"test:libs": "mocha --require ts-node/register 'test/src/**/*.ts' --timeout 300000 --parallel",
"pretest": "yarn generate",
"generate": "waffle waffle-config.json",
"pregenerate": "yarn clean",
"lint": "yarn lint:eslint && yarn lint:solhint && yarn lint:format",
"lint:eslint": "eslint . --ext .ts --fix",
"lint:solhint": "solhint --fix --max-warnings 0 \"contracts/**/*.sol\"",
"lint:format": "prettier --write '**/*.{sol,ts,json,md,yml}'",
"build": "tsc -p tsconfig.build.json && rollup -c",
"prebuild": "yarn generate",
"clean": "rimraf scripts/**/*.js build && rimraf dist",
"prepack": "yarn build && yarn test:libs",
"prepare": "husky install"
},
"author": "",
"license": "MPL-2.0",
"devDependencies": {
"@rollup/plugin-multi-entry": "6.0.1",
"@rollup/plugin-typescript": "11.1.5",
"@types/chai": "4.3.10",
"@types/dotenv": "8.2.0",
"@types/mocha": "10.0.4",
"@types/ramda": "0.29.8",
"@typescript-eslint/eslint-plugin": "6.10.0",
"@typescript-eslint/parser": "6.10.0",
"chai": "4.3.10",
"dotenv": "16.3.1",
"eslint": "8.53.0",
"eslint-config-prettier": "9.0.0",
"eslint-config-xo": "0.43.1",
"eslint-config-xo-typescript": "1.0.1",
"eslint-plugin-functional": "4.4.1",
"ethereum-waffle": "4.0.10",
"ethers": "5.7.2",
"husky": "8.0.3",
"mocha": "10.2.0",
"prettier": "2.8.8",
"prettier-plugin-solidity": "1.2.0",
"rimraf": "5.0.5",
"rollup": "2.79.1",
"rollup-plugin-dts": "6.1.0",
"solhint": "4.0.0",
"ts-node": "10.9.1",
"type-fest": "4.7.1",
"typescript": "5.2.2"
},
"dependencies": {
"@devprotocol/util-ts": "2.2.1",
"@openzeppelin/contracts": "3.4.2",
"@types/sinon": "17.0.1",
"p-retry": "^6.0.0",
"ramda": "0.29.1",
"sinon": "17.0.1"
},
"peerDependencies": {
"ethers": "^5.1.0"
}
}