|
3 | 3 | "version": "0.1.16", |
4 | 4 | "description": "", |
5 | 5 | "main": "dist", |
6 | | - "types": "dist/types", |
7 | 6 | "files": [ |
8 | 7 | "artifacts", |
9 | 8 | "dist", |
|
15 | 14 | "tsconfig.json" |
16 | 15 | ], |
17 | 16 | "scripts": { |
18 | | - "build": "yarn clean && yarn compile && yarn build:typechain", |
19 | | - "build:npm": "yarn clean && yarn compile:npm && yarn build:typechain", |
20 | | - "build:typechain": "yarn typechain && yarn transpile-dist", |
| 17 | + "build": "yarn clean && yarn compile && yarn build:ts:latest", |
| 18 | + "build:npm:latest": "yarn clean && yarn compile:latest && yarn build:ts:latest", |
| 19 | + "build:npm:hardhat": "yarn clean && yarn compile && yarn build:ts:hardhat", |
| 20 | + "build:ts:latest": "yarn typechain && yarn transpile:dist:latest", |
| 21 | + "build:ts:hardhat": "yarn typechain && yarn transpile:dist:hardhat", |
21 | 22 | "chain": "npx hardhat node", |
22 | | - "clean": "rm -rf coverage.json .coverage_cache .coverage_contracts cache coverage typechain artifacts dist", |
| 23 | + "clean": "./scripts/clean.sh", |
23 | 24 | "compile": "npx hardhat compile", |
24 | | - "compile:npm": "SKIP_ABI_GAS_MODS=true npx hardhat compile", |
| 25 | + "compile:latest": "SKIP_ABI_GAS_MODS=true npx hardhat compile", |
25 | 26 | "coverage": "yarn clean && yarn build && yarn cov:command", |
26 | 27 | "cov:command": "COVERAGE=true node --max-old-space-size=4096 ./node_modules/.bin/hardhat coverage", |
27 | 28 | "etherscan:verify": "hardhat --network kovan etherscan-verify --solc-input --license 'None'", |
|
31 | 32 | "lint-ts": "eslint -c .eslintrc.js --ext .ts test utils tasks --fix", |
32 | 33 | "precommit": "lint-staged", |
33 | 34 | "prepare": "yarn build", |
34 | | - "prepublishOnly": "yarn clean && yarn build:npm", |
| 35 | + "prepublishOnly": "./scripts/prepublish_only.sh", |
| 36 | + "publish:local:latest": "npm run publish", |
| 37 | + "publish:local:hardhat": "PUBLISH_HARDHAT=true npm run publish", |
| 38 | + "publish:ci:latest": "./scripts/release_latest.sh", |
| 39 | + "publish:ci:hardhat": "./scripts/release_hardhat.sh", |
35 | 40 | "test": "npx hardhat test --network localhost", |
36 | 41 | "test:fork": "FORK=true npx hardhat test", |
37 | 42 | "test:fork:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 FORK=true npx hardhat test --no-compile", |
38 | 43 | "test:clean": "yarn clean && yarn build && yarn test", |
39 | 44 | "test:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost --no-compile", |
40 | 45 | "test:fast:compile": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost", |
41 | 46 | "transpile": "tsc", |
42 | | - "transpile-dist": "tsc -p tsconfig.dist.json", |
43 | | - "typechain": "npx hardhat typechain" |
| 47 | + "transpile:dist:latest": "tsc --project tsconfig.dist.json", |
| 48 | + "transpile:dist:hardhat": "tsc --project tsconfig.hardhat.json", |
| 49 | + "typechain": "npx hardhat typechain", |
| 50 | + "semantic-release": "semantic-release" |
44 | 51 | }, |
45 | 52 | "repository": { |
46 | 53 | "type": "git", |
47 | | - "url": "git+https://github.com/SetProtocol/set-protocol-v2-contracts.git" |
| 54 | + "url": "https://github.com/SetProtocol/set-protocol-v2.git" |
48 | 55 | }, |
49 | 56 | "author": "felix2feng", |
50 | 57 | "license": "MIT", |
51 | 58 | "homepage": "https://github.com/SetProtocol", |
| 59 | + "resolutions": { |
| 60 | + "babel-code-frame/chalk": "4.1.0" |
| 61 | + }, |
| 62 | + "engines": { |
| 63 | + "yarn": ">=1.10.1" |
| 64 | + }, |
52 | 65 | "devDependencies": { |
53 | 66 | "@0x/utils": "^6.4.3", |
54 | 67 | "@nomiclabs/hardhat-ethers": "^2.0.2", |
55 | 68 | "@nomiclabs/hardhat-waffle": "^2.0.1", |
56 | 69 | "@openzeppelin/contracts": "^3.1.0", |
57 | | - "@typechain/ethers-v5": "^7.0.1", |
58 | | - "@typechain/hardhat": "^2.3.0", |
| 70 | + "@semantic-release/git": "^10.0.1", |
| 71 | + "@typechain/ethers-v5": "8.0.5", |
| 72 | + "@typechain/hardhat": "3.1.0", |
59 | 73 | "@types/chai": "^4.2.11", |
60 | 74 | "@types/fs-extra": "^5.0.0", |
61 | 75 | "@types/lodash": "^4.14.86", |
|
78 | 92 | "istanbul-combine-updated": "^0.3.0", |
79 | 93 | "lint-staged": "^10.2.11", |
80 | 94 | "lodash": "^4.17.4", |
| 95 | + "semantic-release": "^19.0.2", |
81 | 96 | "solc": "^0.6.10", |
82 | 97 | "solhint": "^3.1.0", |
83 | 98 | "solidity-coverage": "^0.7.17", |
84 | 99 | "ts-generator": "^0.1.1", |
85 | 100 | "ts-node": "^8.10.2", |
86 | 101 | "tslint": "^6.1.3", |
87 | 102 | "tslint-eslint-rules": "^5.3.1", |
88 | | - "typechain": "5.1.2", |
| 103 | + "typechain": "6.1.0", |
89 | 104 | "typescript": "^4.4.3", |
90 | 105 | "web3": "^1.2.9" |
91 | 106 | }, |
|
0 commit comments