|
1 | 1 | { |
2 | 2 | "name": "@vanilladefi/trade-contracts", |
3 | | - "version": "1.1.11", |
| 3 | + "version": "1.1.12", |
4 | 4 | "description": "Smart contracts for vanilladefi.com", |
5 | 5 | "main": "./typechain/vanilla_v1.1/index.ts", |
6 | 6 | "scripts": { |
7 | | - "postinstall": "npm run compile:sol & npm run generate:typechain", |
8 | | - "test": "npx hardhat test", |
| 7 | + "postinstall": "npm run compile:sol & npm run generate:typechain-wo-test", |
| 8 | + "test": "npm run generate:test-types && npx hardhat test", |
9 | 9 | "format:js": "eslint --fix test/ utils/ hardhat/ deploy/", |
10 | 10 | "format:sol": "prettier --write contracts/", |
11 | 11 | "lint:js": "eslint test/ utils/ hardhat/ deploy/", |
|
19 | 19 | "node:test-accounts": "npx hardhat test-accounts", |
20 | 20 | "coverage:sol": "npx hardhat coverage --testfiles \"test/Trading.test.ts\"", |
21 | 21 | "generate:typechain-wo-hardhat": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_v1.1 \"./artifacts/contracts/**/+([a-zA-Z0-9_]).json\"", |
22 | | - "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"./node_modules/@uniswap/v2-periphery/build/I*.json\"", |
23 | | - "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"./node_modules/@uniswap/v3-core/artifacts/**/*.json\"", |
24 | | - "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"./node_modules/@uniswap/v3-periphery/artifacts/**/*.json\"", |
| 22 | + "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"../../../**/node_modules/@uniswap/v2-periphery/build/I*.json\"", |
| 23 | + "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"../../../**/node_modules/@uniswap/v3-core/artifacts/**/*.json\"", |
| 24 | + "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"../../../**/node_modules/@uniswap/v3-periphery/artifacts/**/*.json\"", |
25 | 25 | "generate:oz-types": "npx typechain --target ethers-v5 --out-dir typechain/openzeppelin \"./artifacts/@openzeppelin/**/+([a-zA-Z0-9_]).json\"", |
26 | 26 | "generate:test-types": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_test \"./test/v1-artifacts/**/*.json\"", |
27 | | - "generate:typechain": "npm run generate:typechain-wo-hardhat && npm run generate:univ3-core-types && npm run generate:univ2-types && npm run generate:univ3-periphery-types && npm run generate:test-types && npm run generate:oz-types" |
| 27 | + "generate:typechain": "npm run generate:typechain-wo-hardhat && npm run generate:univ3-core-types && npm run generate:univ2-types && npm run generate:univ3-periphery-types && npm run generate:test-types && npm run generate:oz-types", |
| 28 | + "generate:typechain-wo-test": "npm run generate:typechain-wo-hardhat && npm run generate:univ3-core-types && npm run generate:univ2-types && npm run generate:univ3-periphery-types && npm run generate:oz-types" |
28 | 29 | }, |
29 | 30 | "author": "Vanilla Team", |
30 | 31 | "license": "GPL-3.0-or-later", |
|
33 | 34 | }, |
34 | 35 | "files": [ |
35 | 36 | "artifacts/**/*", |
36 | | - "typechain/**/*", |
37 | 37 | "hardhat.*.ts" |
38 | 38 | ], |
39 | 39 | "devDependencies": { |
|
0 commit comments