|
1 | 1 | { |
2 | 2 | "name": "@arbitrum/nitro-contracts", |
3 | | - "version": "1.0.2", |
| 3 | + "version": "1.1.0-beta.0", |
4 | 4 | "description": "Layer 2 precompiles and rollup for Arbitrum Nitro", |
5 | 5 | "author": "Offchain Labs, Inc.", |
6 | 6 | "license": "BUSL-1.1", |
|
9 | 9 | "url": "git+https://github.com/offchainlabs/nitro-contracts.git" |
10 | 10 | }, |
11 | 11 | "files": [ |
12 | | - "src/" |
| 12 | + "src/", |
| 13 | + "build/contracts/src", |
| 14 | + "build/contracts/@openzeppelin" |
13 | 15 | ], |
14 | 16 | "bugs": { |
15 | 17 | "url": "https://github.com/offchainlabs/nitro-contracts/issues" |
16 | 18 | }, |
17 | 19 | "scripts": { |
| 20 | + "prepublishOnly": "hardhat clean && hardhat compile", |
18 | 21 | "build": "hardhat compile", |
19 | 22 | "test": "hardhat --network hardhat test test/contract/*.spec.ts", |
20 | 23 | "lint:test": "eslint ./test", |
|
25 | 28 | "build:0.7": "INTERFACE_TESTER_SOLC_VERSION=0.7.0 yarn run build", |
26 | 29 | "test:compatibility": "yarn run build:0.6 && yarn run build:0.7", |
27 | 30 | "test:storage": "./test/storage/test.bash", |
| 31 | + "test:e2e": "hardhat test test/e2e/*.ts", |
28 | 32 | "postinstall": "patch-package", |
29 | 33 | "deploy-factory": "hardhat run scripts/deployment.ts", |
30 | | - "deploy-rollup": "hardhat run scripts/rollupCreation.ts" |
| 34 | + "deploy-rollup": "hardhat run scripts/rollupCreation.ts", |
| 35 | + "deploy-eth-rollup": "hardhat run scripts/createEthRollup.ts", |
| 36 | + "deploy-erc20-rollup": "hardhat run scripts/createERC20Rollup.ts", |
| 37 | + "test": "hardhat --network hardhat test test/contract/*.spec.ts" |
31 | 38 | }, |
32 | 39 | "dependencies": { |
| 40 | + "@offchainlabs/upgrade-executor": "1.1.0-beta.0", |
33 | 41 | "@openzeppelin/contracts": "4.5.0", |
34 | 42 | "@openzeppelin/contracts-upgradeable": "4.5.2", |
35 | 43 | "patch-package": "^6.4.7" |
36 | 44 | }, |
37 | 45 | "private": false, |
38 | 46 | "devDependencies": { |
| 47 | + "@arbitrum/sdk": "^3.1.3", |
| 48 | + "@ethersproject/providers": "^5.7.2", |
39 | 49 | "@nomiclabs/hardhat-ethers": "npm:hardhat-deploy-ethers@^0.3.0-beta.13", |
40 | 50 | "@nomiclabs/hardhat-etherscan": "^3.1.0", |
41 | 51 | "@nomiclabs/hardhat-waffle": "^2.0.1", |
|
48 | 58 | "@typescript-eslint/eslint-plugin-tslint": "^5.27.1", |
49 | 59 | "@typescript-eslint/parser": "^5.14.0", |
50 | 60 | "chai": "^4.3.4", |
| 61 | + "dotenv": "^16.3.1", |
51 | 62 | "eslint": "^8.23.1", |
52 | 63 | "eslint-config-prettier": "^8.3.0", |
53 | 64 | "eslint-plugin-mocha": "^9.0.0", |
|
0 commit comments