-
Notifications
You must be signed in to change notification settings - Fork 41
/
package.json
113 lines (113 loc) · 3.63 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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
{
"name": "@defi-wonderland/smock",
"version": "2.4.1",
"description": "The Solidity mocking library",
"keywords": [
"ethereum",
"smart-contracts",
"test",
"solidity",
"hardhat",
"mocking",
"fakes",
"mocks",
"chai"
],
"homepage": "https://github.com/defi-wonderland/smock#readme",
"bugs": {
"url": "https://github.com/defi-wonderland/smock/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/defi-wonderland/smock.git"
},
"license": "MIT",
"author": "DeFi Wonderland x Optimism PBC",
"contributors": [
"0xGorilla (https://github.com/0xGorilla)",
"smartcontracts (https://github.com/smartcontracts)"
],
"main": "dist/src/index",
"types": "dist/src/index",
"files": [
"dist"
],
"scripts": {
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"compile": "hardhat compile",
"test:nocompile": "cross-env mocha 'test/unit/**/*.spec.ts'",
"test": "yarn compile && yarn test:nocompile",
"lint:check": "cross-env solhint 'contracts/**/*.sol' 'interfaces/**/*.sol' && cross-env prettier --check './**'",
"lint:fix": "sort-package-json && cross-env prettier --write './**' && cross-env solhint --fix 'contracts/**/*.sol' 'interfaces/**/*.sol'",
"docs:md": "pandoc README.rst -f rst -t gfm -o README.md",
"prepare": "husky install",
"release": "yarn build && yarn docs:md && standard-version",
"pre-release": "yarn build && standard-version --prerelease rc",
"docs:install": "pip install -r docs/requirements.txt",
"docs:watch": "sphinx-autobuild -a docs/source docs/_build/html --watch docs/source --watch README.rst",
"clean": "rm -rf ./dist ./artifacts ./cache ./node_modules ./typechained"
},
"lint-staged": {
"*.{js,css,md,ts}": "prettier --write",
"*.sol": "cross-env solhint --fix 'contracts/**/*.sol' 'interfaces/**/*.sol'",
"package.json": "sort-package-json"
},
"dependencies": {
"@nomicfoundation/ethereumjs-util": "^9.0.4",
"diff": "^5.0.0",
"lodash.isequal": "^4.5.0",
"lodash.isequalwith": "^4.4.0",
"rxjs": "^7.2.0",
"semver": "^7.3.5"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@nomiclabs/hardhat-ethers": "2.0.2",
"@nomiclabs/hardhat-waffle": "2.0.1",
"@typechain/ethers-v5": "7.0.1",
"@typechain/hardhat": "2.0.2",
"@types/chai": "4.2.18",
"@types/chai-as-promised": "7.1.5",
"@types/debug": "^4.1.4",
"@types/diff": "^5.0.1",
"@types/lodash": "4.14.170",
"@types/lodash.isequal": "^4.5.5",
"@types/lodash.isequalwith": "^4.4.6",
"@types/mocha": "8.2.2",
"@types/node": "18.19.21",
"@types/readable-stream": "^2.3.13",
"@types/semver": "^7.3.8",
"chai": "4.3.4",
"chai-as-promised": "7.1.1",
"cross-env": "7.0.3",
"ethereum-waffle": "3.4.0",
"ethers": "5.4.1",
"hardhat": "^2.21.0",
"hardhat-preprocessor": "0.1.4",
"husky": "6.0.0",
"inquirer": "8.1.0",
"lint-staged": "12.5.0",
"mocha": "9.0.0",
"pinst": "2.1.6",
"prettier": "2.3.1",
"prettier-plugin-organize-imports": "2.3.3",
"prettier-plugin-solidity": "1.0.0-beta.13",
"solhint": "3.3.6",
"solhint-plugin-prettier": "0.0.5",
"sort-package-json": "1.50.0",
"standard-version": "9.3.0",
"ts-node": "10.0.0",
"tsconfig-paths": "^3.9.0",
"typechain": "5.1.1",
"typescript": "4.9.5"
},
"peerDependencies": {
"@ethersproject/abi": "^5",
"@ethersproject/abstract-provider": "^5",
"@ethersproject/abstract-signer": "^5",
"@nomiclabs/hardhat-ethers": "^2",
"ethers": "^5",
"hardhat": "^2.21.0"
}
}