-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpackage.json
72 lines (72 loc) · 2.79 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
{
"name": "@bobanetwork/lightbridge",
"version": "1.2.0",
"description": "The light bridge between L2s and L1s",
"main": "build/src/exec/run.js",
"files": [
"test/**/*.ts"
],
"scripts": {
"start": "ts-node ./src/exec/run.ts",
"start:prod": "node ./build/src/exec/run.js",
"build": "yarn build:contracts && yarn build:typescript",
"build:contracts": "hardhat compile",
"build:typescript": "tsc -p ./tsconfig.json",
"clean": "rimraf dist/ ./tsconfig.tsbuildinfo",
"lint": "yarn lint:fix && yarn lint:check",
"lint:fix": "prettier --config .prettierrc.json --write \"{src,exec,test}/**/*.ts\"",
"lint:check": "tslint --format stylish --project .",
"db:start": "docker run -e POSTGRES_DB=lightbridge -e POSTGRES_PASSWORD=abcdef -p 5432:5432 postgres",
"test": "hardhat test test/lightbridge.integration.spec.ts test/lightbridge.unit.spec.ts --show-stack-traces",
"test:paralell": "hardhat test test/lightbridge.parallel.spec.ts --show-stack-traces",
"test:docker": "docker-compose -f docker-compose.test.base.yml -f docker-compose.test.reg.yml up --abort-on-container-exit",
"test:docker:paralell": "docker-compose -f docker-compose.test.base.yml -f docker-compose.test.par.yml up --abort-on-container-exit",
"test:coverage": "nyc hardhat test && nyc merge .nyc_output coverage.json",
"typeorm": "typeorm-ts-node-commonjs",
"depcheck": "npx depcheck",
"prepare": "husky install"
},
"license": "MIT",
"devDependencies": {
"@bobanetwork/contracts": "0.0.2",
"@eth-optimism/core-utils": "0.8.1",
"@nomiclabs/hardhat-ethers": "^2.0.2",
"@nomiclabs/hardhat-etherscan": "^3.1.8",
"@nomiclabs/hardhat-waffle": "^2.0.1",
"@types/chai": "^4.3.10",
"@types/mocha": "^8.2.3",
"@types/node": "^16.18.62",
"chai": "^4.3.10",
"chai-as-promised": "^7.1.1",
"ethereum-waffle": "^3.4.0",
"ethers": "^5.5.4",
"hardhat": "^2.19.1",
"husky": "^8.0.3",
"mocha": "^8.3.1",
"prompt-sync": "^4.2.0",
"ts-node": "^10.9.1",
"tslint": "^6.1.3",
"typescript": "^4.5.2"
},
"dependencies": {
"@bobanetwork/aws-kms": "^1.0.1",
"@bobanetwork/core_contracts": "0.5.12",
"@bobanetwork/graphql-utils": "^1.1.6",
"@bobanetwork/light-bridge-chains": "^1.1.2",
"@eth-optimism/common-ts": "0.2.2",
"@openzeppelin/contracts": "4.3.2",
"@openzeppelin/contracts-upgradeable": "4.3.2",
"bcfg": "^0.2.1",
"dotenv": "^8.6.0",
"ethers": "^5.5.4",
"lodash": "^4.17.21",
"pg": "^8.4.0",
"reflect-metadata": "^0.1.13",
"typeorm": "0.3.16"
},
"husky": {
"hooks": {
"pre-commit": "yarn build && yarn lint && yarn depcheck"
}
}
}