-
Notifications
You must be signed in to change notification settings - Fork 45
/
package.json
96 lines (96 loc) · 3.94 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
88
89
90
91
92
93
94
95
96
{
"name": "protocol",
"version": "1.0.0",
"description": "Initial LivepeerProtocol implementation. See the [Dev Roadmap](https://github.com/livepeer/protocol/blob/master/DEVROADMAP.md) for the plan to get from here to live protocol.",
"directories": {
"test": "test"
},
"scripts": {
"prepare": "husky install",
"deploy": "npx hardhat deploy --tags Contracts,Poll",
"deploy:poll": "npx hardhat deploy --tags Poll",
"deploy:contracts": "npx hardhat deploy --tags Contracts",
"etherscan-verify": "npx hardhat etherscan-verify-deployments",
"lint": "yarn eslint && yarn solhint",
"eslint:fix": "eslint . --ext .js,.ts --fix",
"eslint": "eslint . --ext .js,.ts",
"solhint": "npx solhint 'contracts/**/*.sol'",
"prettier:ts": "prettier-eslint --write 'test/**/*.{js,ts}' 'scripts/**/*.{js,ts}' 'deploy/**/*.{js,ts}' 'tasks/**/*.{js,ts}'",
"prettier:sol": "prettier --write 'contracts/**/*.sol' 'src/**/*.sol'",
"prettier": "yarn prettier:sol && yarn prettier:ts",
"clean": "rm -rf cache artifacts typechain",
"compile": "npx hardhat compile",
"test:coverage": "npx hardhat coverage",
"test": "npx hardhat test",
"test:unit": "npx hardhat test test/unit/*.*",
"test:integration": "npx hardhat test test/integration/**",
"test:gas": "REPORT_GAS=true npx hardhat test test/gas-report/*",
"docker:build": "docker build --cache-from livepeer/protocol:latest --tag livepeer/protocol:latest -f Dockerfile .",
"docker:push": "docker push livepeer/protocol:latest",
"docker:run:lint": "docker run --rm --entrypoint=yarn livepeer/protocol:latest lint",
"docker:run:test:coverage": "docker run -e COVERALLS_REPO_TOKEN=$COVERALLS_REPO_TOKEN --rm --entrypoint=yarn livepeer/protocol:latest test:coverage:coveralls",
"docker:run:test:unit": "docker run --rm --entrypoint=yarn livepeer/protocol:latest test:unit",
"docker:run:test:integration": "docker run --rm --entrypoint=yarn livepeer/protocol:latest test:integration",
"tsc": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/livepeer/protocol.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/livepeer/protocol/issues"
},
"homepage": "https://github.com/livepeer/protocol#readme",
"devDependencies": {
"@defi-wonderland/smock": "^2.0.7",
"@nomicfoundation/hardhat-verify": "^1.1.1",
"@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@nomiclabs/hardhat-web3": "^2.0.0",
"@openzeppelin/contracts": "^4.9.2",
"@openzeppelin/contracts-upgradeable": "^4.9.2",
"@typechain/ethers-v5": "^7.0.1",
"@typechain/hardhat": "^2.1.2",
"@types/chai": "^4.2.21",
"@types/ethereumjs-abi": "^0.6.3",
"@types/mocha": "^8.2.3",
"@types/node": "^16.3.3",
"@typescript-eslint/eslint-plugin": "^4.28.5",
"@typescript-eslint/parser": "^4.28.5",
"bignumber.js": "^4.0.1",
"chai": "^4.3.4",
"child_process": "^1.0.2",
"coveralls": "^3.0.2",
"dotenv": "^16.3.1",
"eslint": "^7.32.0",
"eslint-config-google": "^0.14.0",
"ethereum-waffle": "^3.4.0",
"ethereumjs-abi": "github:ethereumjs/ethereumjs-abi#09c3c48fd3bed143df7fa8f36f6f164205e23796",
"ethereumjs-util": "^6.0.0",
"ethers": "^5.4.1",
"ethlint": "^1.2.5",
"hardhat": "2.8.3",
"hardhat-abi-exporter": "^2.2.1",
"hardhat-deploy": "^0.9.26",
"hardhat-deploy-ethers": "^0.3.0-beta.10",
"hardhat-gas-reporter": "^1.0.4",
"husky": "^7.0.1",
"mocha": "^9.0.2",
"mocha-lcov-reporter": "^1.3.0",
"prettier": "^2.3.2",
"prettier-eslint-cli": "^5.0.1",
"prettier-plugin-solidity": "^1.0.0-beta.17",
"solhint": "^3.3.6",
"solhint-plugin-prettier": "0.0.5",
"solidity-coverage": "0.7.17",
"ts-generator": "^0.1.1",
"ts-node": "^10.1.0",
"typechain": "^5.1.1",
"typescript": "^4.3.5",
"util": "^0.12.4",
"web3": "^1.4.0"
}
}