-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
87 lines (87 loc) · 3.06 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"name": "@workhard/protocol",
"description": "Smart contracts for the Workhard protocol",
"license": "GPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/workhard-finance/protocol"
},
"keywords": [
"workhard",
"defi",
"metaverse",
"cryptojob"
],
"files": [
"contracts",
"dist",
"deployed.json",
"deployed.dev.json"
],
"version": "1.0.4",
"main": "dist/src/index.js",
"types": "dist/src/index.d.ts",
"scripts": {
"test": "hardhat test",
"build": "yarn clean; yarn compile; yarn gen-ts",
"localhost": "hardhat --network localhost",
"mainnet": "hardhat --network mainnet",
"rinkeby": "hardhat --network rinkeby",
"localhost:deploy": "yarn localhost run scripts/deploy.ts",
"mainnet:deploy": "yarn mainnet run scripts/deploy.ts",
"rinkeby:deploy": "yarn rinkeby run scripts/deploy.ts",
"clean": "rimraf build; rimraf dist",
"compile": "hardhat compile",
"pregen-ts": "rimraf artifacts/**/*.dbg.json",
"gen-ts": "yarn gen-ts1 & yarn gen-ts2 & yarn gen-ts3 & yarn gen-ts4 & wait && yarn tsc",
"gen-ts1": "typechain --target ethers-v5 --outDir build/contracts \"artifacts/contracts/**/*.json\"",
"gen-ts2": "typechain --target ethers-v5 --outDir build/@uniswap \"artifacts/@uniswap/**/*.json\"",
"gen-ts3": "typechain --target ethers-v5 --outDir build/@gnosis.pm \"artifacts/@gnosis.pm/**/*.json\"",
"gen-ts4": "typechain --target ethers-v5 --outDir build/@openzeppelin \"artifacts/@openzeppelin/**/*.json\"",
"gen-ts5": "typechain --target ethers-v5 --outDir build/@sablier \"artifacts/@sablier/**/*.json\"",
"tsc": "tsc --build tsconfig.json",
"postgen-ts": "copyfiles \"build/**/*.d.ts\" dist",
"prepare": "husky install"
},
"devDependencies": {
"@gnosis.pm/safe-contracts": "^1.3.0-rc.0",
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@openzeppelin/upgrades": "^2.8.0",
"@sablier/protocol": "https://gitpkg.now.sh/sablierhq/sablier/packages/protocol?audit-v2",
"@sablier/shared-contracts": "https://gitpkg.now.sh/sablierhq/sablier/packages/shared-contracts?audit-v2",
"@typechain/ethers-v5": "^6.0.5",
"@types/chai": "^4.2.14",
"@types/lowdb": "^1.0.9",
"@types/mocha": "^8.2.0",
"@types/node": "^14.14.22",
"chai": "^4.2.0",
"copyfiles": "^2.4.1",
"deepmerge": "^4.2.2",
"ethereum-waffle": "^3.2.1",
"ethers": "^5.0.26",
"hardhat": "^2.0.7",
"hardhat-dependency-compiler": "^1.1.1",
"hardhat-gas-reporter": "^1.0.4",
"husky": "^6.0.0",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"prettier-plugin-solidity": "^1.0.0-beta.3",
"rimraf": "^3.0.2",
"solidity-coverage": "^0.7.16",
"ts-node": "^9.1.1",
"typechain": "^4.0.3",
"typescript": "^4.1.3"
},
"dependencies": {
"@openzeppelin/contracts": "3.4.0-solc-0.7 ",
"@uniswap/v2-core": "^1.0.1",
"dotenv": "^8.2.0",
"lowdb": "^1.0.0"
},
"lint-staged": {
"{scripts,test,contracts}/**/*.{js,ts,sol}": [
"prettier --write"
]
}
}