|
1 | 1 | {
|
2 | 2 | "name": "@vanilladefi/trade-contracts",
|
3 |
| - "version": "1.1.16", |
| 3 | + "version": "1.1.21", |
4 | 4 | "description": "Smart contracts for vanilladefi.com",
|
5 | 5 | "main": "./typechain/vanilla_v1.1/index.ts",
|
6 | 6 | "scripts": {
|
7 |
| - "prepare": "npm run compile:sol", |
| 7 | + "prepack": "npm run compile:clean:sol", |
8 | 8 | "postinstall": "npm run generate:typechain-wo-test",
|
9 | 9 | "test": "npm run generate:test-types && npx hardhat test",
|
10 | 10 | "format:js": "eslint --fix test/ utils/ hardhat/ deploy/",
|
|
20 | 20 | "node:test-accounts": "npx hardhat test-accounts",
|
21 | 21 | "coverage:sol": "npx hardhat coverage --testfiles \"test/Trading.test.ts\"",
|
22 | 22 | "generate:typechain-wo-hardhat": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_v1.1 \"./artifacts/contracts/**/+([a-zA-Z0-9_]).json\"",
|
23 |
| - "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"./**/*/@uniswap/v2-periphery/build/I*.json\"", |
24 |
| - "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"./**/*/@uniswap/v3-core/artifacts/**/*.json\"", |
25 |
| - "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"./**/*/@uniswap/v3-periphery/artifacts/**/*.json\"", |
| 23 | + "generate:univ2-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v2 \"./**/node_modules/@uniswap/v2-periphery/build/I*.json\"", |
| 24 | + "generate:univ3-core-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_core \"./**/node_modules/@uniswap/v3-core/artifacts/**/*.json\"", |
| 25 | + "generate:univ3-periphery-types": "npx typechain --target ethers-v5 --out-dir typechain/uniswap_v3_periphery \"./**/node_modules/@uniswap/v3-periphery/artifacts/**/*.json\"", |
26 | 26 | "generate:oz-types": "npx typechain --target ethers-v5 --out-dir typechain/openzeppelin \"./artifacts/@openzeppelin/**/+([a-zA-Z0-9_]).json\"",
|
27 | 27 | "generate:test-types": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_test \"./test/v1-artifacts/**/*.json\"",
|
28 | 28 | "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",
|
|
0 commit comments