forked from ethereum-optimism/contracts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 3.46 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 3.46 KB
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
{
"name": "@eth-optimism/contracts",
"version": "0.2.0",
"main": "build/src/index.js",
"files": [
"build/**/*.js",
"build/contracts/*",
"build/dumps/*json",
"build/artifacts/**/*.json",
"build/artifacts-ovm/**/*.json",
"build/types/**/*.ts"
],
"author": "Optimism PBC",
"license": "MIT",
"scripts": {
"all": "yarn clean && yarn build && yarn test && yarn lint:fix && yarn lint",
"build": "yarn build:contracts && yarn build:contracts:ovm && yarn build:typescript && yarn build:copy && yarn build:dump && yarn build:typechain",
"build:kovan": "yarn build:contracts && yarn build:typescript && yarn build:copy && CHAIN_ID=69 yarn build:dump && yarn build:typechain",
"build:mainnet": "yarn build:contracts && yarn build:typescript && yarn build:copy && CHAIN_ID=10 yarn build:dump && yarn build:typechain",
"build:typescript": "tsc -p .",
"build:contracts": "hardhat compile --show-stack-traces",
"build:contracts:ovm": "TARGET=ovm hardhat compile --show-stack-traces",
"build:dump": "ts-node \"bin/take-dump.ts\"",
"build:copy": "yarn build:copy:artifacts && yarn build:copy:artifacts:ovm && yarn build:copy:contracts",
"build:copy:artifacts": "copyfiles -u 1 \"artifacts/**/*.json\" \"build/artifacts\"",
"build:copy:artifacts:ovm": "copyfiles -u 1 \"artifacts-ovm/**/*.json\" \"build/artifacts-ovm\"",
"build:copy:contracts": "copyfiles -u 2 \"contracts/optimistic-ethereum/**/*.sol\" \"build/contracts\"",
"build:typechain": "hardhat typechain",
"test": "yarn test:contracts",
"test:contracts": "hardhat test --show-stack-traces",
"test:gas": "hardhat test \"test/contracts/OVM/execution/OVM_StateManager.gas-spec.ts\" --no-compile --show-stack-traces",
"test:coverage": "NODE_OPTIONS=--max_old_space_size=8192 hardhat coverage",
"lint": "yarn lint:fix && yarn lint:check",
"lint:check": "tslint --format stylish --project .",
"lint:fix": "prettier --config prettier-config.json --write \"hardhat.config.ts\" \"{src,test,hh,deploy,bin}/**/*.ts\"",
"clean": "rm -rf ./build ./artifacts ./artifacts-ovm ./cache ./cache-ovm",
"deploy": "./bin/deploy.js",
"serve": "./bin/serve_dump.sh"
},
"peerDependencies": {
"ethers": "^5.0.0"
},
"dependencies": {
"@eth-optimism/core-utils": "^0.1.10",
"@ethersproject/abstract-provider": "^5.0.8",
"@ethersproject/contracts": "^5.0.5",
"@ethersproject/hardware-wallets": "^5.0.8",
"@openzeppelin/contracts": "^3.3.0",
"ganache-core": "^2.13.2",
"glob": "^7.1.6"
},
"devDependencies": {
"@eth-optimism/dev": "^1.1.1",
"@eth-optimism/plugins": "1.0.0-alpha.2",
"@eth-optimism/smock": "1.0.0-alpha.6",
"@ethersproject/abstract-signer": "^5.0.14",
"@nomiclabs/hardhat-ethers": "^2.0.1",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@typechain/ethers-v5": "1.0.0",
"@typechain/hardhat": "^1.0.1",
"@types/glob": "^7.1.3",
"@types/lodash": "^4.14.161",
"buffer-xor": "^2.0.2",
"chai": "^4.3.1",
"copyfiles": "^2.3.0",
"directory-tree": "^2.2.7",
"dotenv": "^8.2.0",
"ethereum-waffle": "^3.3.0",
"ethers": "^5.0.31",
"hardhat": "^2.0.8",
"hardhat-deploy": "^0.7.0-beta.50",
"lodash": "^4.17.20",
"merkle-patricia-tree": "^4.0.0",
"merkletreejs": "^0.2.12",
"mkdirp": "^1.0.4",
"mocha": "^8.3.0",
"random-bytes-seed": "^1.0.3",
"rlp": "^2.2.6",
"solidity-coverage": "^0.7.16",
"ts-generator": "0.0.8",
"typechain": "2.0.0"
}
}