|
1 | 1 | { |
2 | 2 | "name": "@setprotocol/set-protocol-v2", |
3 | | - "version": "0.1.15", |
| 3 | + "version": "0.0.0-development", |
4 | 4 | "description": "", |
5 | 5 | "main": "dist", |
6 | 6 | "types": "dist/types", |
|
15 | 15 | "tsconfig.json" |
16 | 16 | ], |
17 | 17 | "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", |
| 18 | + "build": "yarn clean && yarn compile && yarn build:ts:latest", |
| 19 | + "build:npm:latest": "yarn clean && yarn compile:latest && yarn build:ts:latest", |
| 20 | + "build:npm:hardhat": "yarn clean && yarn compile && yarn build:ts:hardhat", |
| 21 | + "build:ts:latest": "yarn typechain && yarn transpile:dist:latest", |
| 22 | + "build:ts:hardhat": "yarn typechain && yarn transpile:dist:hardhat && cp -rf typechain dist", |
21 | 23 | "chain": "npx hardhat node", |
22 | 24 | "clean": "rm -rf coverage.json .coverage_cache .coverage_contracts cache coverage typechain artifacts dist", |
23 | 25 | "compile": "npx hardhat compile", |
24 | | - "compile:npm": "SKIP_ABI_GAS_MODS=true npx hardhat compile", |
| 26 | + "compile:latest": "SKIP_ABI_GAS_MODS=true npx hardhat compile", |
25 | 27 | "coverage": "yarn clean && yarn build && yarn cov:command", |
26 | 28 | "cov:command": "COVERAGE=true node --max-old-space-size=4096 ./node_modules/.bin/hardhat coverage", |
27 | 29 | "etherscan:verify": "hardhat --network kovan etherscan-verify --solc-input --license 'None'", |
|
31 | 33 | "lint-ts": "eslint -c .eslintrc.js --ext .ts test utils tasks --fix", |
32 | 34 | "precommit": "lint-staged", |
33 | 35 | "prepare": "yarn build", |
34 | | - "prepublishOnly": "yarn clean && yarn build:npm", |
| 36 | + "prepublishOnly": "./scripts/prepublish_only.sh", |
| 37 | + "publish:latest": "./scripts/release_latest.sh", |
| 38 | + "publish:hardhat": "./scripts/release_hardhat.sh", |
35 | 39 | "test": "npx hardhat test --network localhost", |
36 | 40 | "test:fork": "FORK=true npx hardhat test", |
37 | 41 | "test:fork:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 FORK=true npx hardhat test --no-compile", |
38 | 42 | "test:clean": "yarn clean && yarn build && yarn test", |
39 | 43 | "test:fast": "NO_COMPILE=true TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost --no-compile", |
40 | 44 | "test:fast:compile": "TS_NODE_TRANSPILE_ONLY=1 npx hardhat test --network localhost", |
41 | 45 | "transpile": "tsc", |
42 | | - "transpile-dist": "tsc -p tsconfig.dist.json", |
43 | | - "typechain": "npx hardhat typechain" |
| 46 | + "transpile:dist:latest": "tsc -p tsconfig.dist.json", |
| 47 | + "transpile:dist:hardhat": "tsc -p tsconfig.hardhat.json", |
| 48 | + "typechain": "npx hardhat typechain", |
| 49 | + "semantic-release": "semantic-release" |
44 | 50 | }, |
45 | 51 | "repository": { |
46 | 52 | "type": "git", |
47 | | - "url": "git+https://github.com/SetProtocol/set-protocol-v2-contracts.git" |
| 53 | + "url": "https://github.com/SetProtocol/set-protocol-v2.git" |
48 | 54 | }, |
49 | 55 | "author": "felix2feng", |
50 | 56 | "license": "MIT", |
51 | 57 | "homepage": "https://github.com/SetProtocol", |
| 58 | + "resolutions": { |
| 59 | + "babel-code-frame/chalk": "4.1.0" |
| 60 | + }, |
| 61 | + "engines": { |
| 62 | + "yarn": ">=1.10.1" |
| 63 | + }, |
52 | 64 | "devDependencies": { |
53 | 65 | "@0x/utils": "^6.4.3", |
54 | 66 | "@nomiclabs/hardhat-ethers": "^2.0.2", |
|
77 | 89 | "istanbul-combine-updated": "^0.3.0", |
78 | 90 | "lint-staged": "^10.2.11", |
79 | 91 | "lodash": "^4.17.4", |
| 92 | + "semantic-release": "^19.0.2", |
80 | 93 | "solc": "^0.6.10", |
81 | 94 | "solhint": "^3.1.0", |
82 | 95 | "solidity-coverage": "^0.7.17", |
|
0 commit comments