|
4 | 4 | "type": "commonjs", |
5 | 5 | "main": "./build/typechain-types/index.js", |
6 | 6 | "types": "./build/typechain-types/index.d.ts", |
7 | | - "files": [ |
8 | | - "artifacts/", |
9 | | - "contracts/", |
10 | | - "typechain-types/", |
11 | | - "scripts/", |
12 | | - "build/", |
13 | | - "!artifacts/build-info/", |
14 | | - "!build/**/*.map" |
15 | | - ], |
| 7 | + "typesVersions": { |
| 8 | + "*": { |
| 9 | + "scripts": ["./build/scripts/index.d.ts"], |
| 10 | + "typechain-types": ["./build/typechain-types/index.d.ts"], |
| 11 | + "test": ["./build/test/index.d.ts"] |
| 12 | + } |
| 13 | + }, |
| 14 | + "files": ["artifacts/", "contracts/", "typechain-types/", "build/", "!artifacts/build-info/", "!build/**/*.map"], |
16 | 15 | "exports": { |
17 | 16 | ".": { |
18 | 17 | "types": "./build/typechain-types/index.d.ts", |
|
22 | 21 | }, |
23 | 22 | "./artifacts/*": "./artifacts/*", |
24 | 23 | "./contracts/*": "./contracts/*", |
25 | | - "./scripts/": "./scripts/index.ts", |
26 | 24 | "./scripts": { |
27 | 25 | "types": "./build/scripts/index.d.ts", |
28 | 26 | "import": "./build/scripts/index.js", |
|
104 | 102 | "slither:summary": "docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock -v \"$(pwd)\":\"/home/ethsec/contracts\" -w \"/home/ethsec/contracts\" -u 0:0 trailofbits/eth-security-toolbox /bin/sh -c \"solc-select install 0.8.18 && solc-select use 0.8.18 && slither . --print human-summary --solc-remaps @=node_modules/@\"", |
105 | 103 | "slither:storageLayout": "docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock -v \"$(pwd)\":\"/home/ethsec/contracts\" -w \"/home/ethsec/contracts\" -u 0:0 trailofbits/eth-security-toolbox /bin/sh -c \"solc-select install 0.8.18 && solc-select use 0.8.18 && slither . --print variable-order --solc-remaps @=node_modules/@\"", |
106 | 104 | "slither:inheritance": "docker run -t --rm -v /var/run/docker.sock:/var/run/docker.sock -v \"$(pwd)\":\"/home/ethsec/contracts\" -w \"/home/ethsec/contracts\" -u 0:0 trailofbits/eth-security-toolbox /bin/sh -c \"solc-select install 0.8.18 && solc-select use 0.8.18 && slither . --print inheritance --solc-remaps @=node_modules/@\"", |
| 105 | + "validate:package": "npm run build && npx publint && npx @arethetypeswrong/cli --pack", |
107 | 106 | "prepack": "npm run build", |
108 | 107 | "doc": "npx hardhat dodoc" |
109 | 108 | }, |
110 | 109 | "dependencies": { |
111 | 110 | "zod": "^3.22.4", |
112 | | - "ethers": "^5.8.0" |
| 111 | + "ethers": "^5.8.0", |
| 112 | + "tslib": "^2.8.1", |
| 113 | + "dotenv": "^16.0.3" |
113 | 114 | }, |
114 | 115 | "devDependencies": { |
115 | 116 | "@hashgraph/sdk": "2.64.5", |
|
0 commit comments