|
1 | 1 | {
|
2 | 2 | "name": "@vanilladefi/trade-contracts",
|
3 |
| - "version": "1.1.12", |
| 3 | + "version": "1.1.14", |
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-wo-test", |
| 7 | + "prepare": "npm run compile:sol", |
| 8 | + "postinstall": "npm run compile:sol && npm run generate:typechain-wo-test", |
8 | 9 | "test": "npm run generate:test-types && npx hardhat test",
|
9 | 10 | "format:js": "eslint --fix test/ utils/ hardhat/ deploy/",
|
10 | 11 | "format:sol": "prettier --write contracts/",
|
|
19 | 20 | "node:test-accounts": "npx hardhat test-accounts",
|
20 | 21 | "coverage:sol": "npx hardhat coverage --testfiles \"test/Trading.test.ts\"",
|
21 | 22 | "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\"", |
| 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\"", |
25 | 26 | "generate:oz-types": "npx typechain --target ethers-v5 --out-dir typechain/openzeppelin \"./artifacts/@openzeppelin/**/+([a-zA-Z0-9_]).json\"",
|
26 | 27 | "generate:test-types": "npx typechain --target ethers-v5 --out-dir typechain/vanilla_test \"./test/v1-artifacts/**/*.json\"",
|
27 | 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",
|
|
33 | 34 | "url": "https://github.com/vanilladefi/contracts"
|
34 | 35 | },
|
35 | 36 | "files": [
|
36 |
| - "artifacts/**/*", |
37 |
| - "hardhat.*.ts" |
| 37 | + "artifacts/**/*" |
38 | 38 | ],
|
39 | 39 | "devDependencies": {
|
40 | 40 | "@ethereum-waffle/chai": "^3.4.0",
|
|
0 commit comments