-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
129 lines (129 loc) · 4.13 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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
{
"name": "@initia/rollup",
"version": "0.1.18",
"description": "Optimistic rollup for initia",
"main": "index.js",
"engines": {
"node": ">=16"
},
"scripts": {
"executor": "WORKER_NAME=executor node dist/worker/bridgeExecutor/index.js",
"batch": "WORKER_NAME=batch node dist/worker/batchSubmitter/index.js",
"challenger": "WORKER_NAME=challenger node dist/worker/challenger/index.js",
"output": "WORKER_NAME=output node dist/worker/outputSubmitter/index.js",
"test": "jest",
"test:integration": "export NODE_ENV=test && node --stack_size=4096 --max-old-space-size=4096 -r ts-node/register/transpile-only -r tsconfig-paths/register integration-tests/integration.ts",
"prettier": "prettier --write './src/**/*.ts'",
"lint": "eslint --fix src",
"do": "npm run build && node -r tsconfig-paths/register ./dist/loader/generateApiDoc.js",
"apidoc": "npm run do",
"prepublishOnly": "npm run build",
"build": "tsc --build",
"clean": "tsc --build --clean",
"l2setup": "export NODE_ENV=test && npm run build && node ./dist/scripts/setupL2.js",
"prod:build": "rollup -c",
"prod:executor": "WORKER_NAME=executor node ./dist/entrypoint.js",
"prod:batch": "WORKER_NAME=batch node ./dist/entrypoint.js",
"prod:challenger": "WORKER_NAME=challenger node ./dist/entrypoint.js",
"prod:output": "WORKER_NAME=output node ./dist/entrypoint.js"
},
"repository": {
"type": "git",
"url": "git+https://github.com/initia-labs/initia-rollup.git"
},
"lint-staged": {
"./src/**/*.ts": [
"prettier --write",
"eslint --fix"
]
},
"prettier": {
"semi": true,
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "always"
},
"author": "initia-labs",
"license": "MIT",
"bugs": {
"url": "https://github.com/initia-labs/batch-submitter/issues"
},
"homepage": "https://github.com/initia-labs/batch-submitter#readme",
"devDependencies": {
"@rollup/plugin-commonjs": "^25.0.8",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@rollup/plugin-typescript": "^11.1.6",
"@testcontainers/postgresql": "^10.8.1",
"@types/bluebird": "^3.5.42",
"@types/debug": "^4.1.12",
"@types/jest": "^29.5.12",
"@types/koa": "^2.15.0",
"@types/koa__cors": "^5.0.0",
"@types/koa-mount": "^4.0.5",
"@types/koa-router": "^7.4.8",
"@types/lodash": "^4.17.0",
"@types/node": "^20.12.3",
"@types/pg": "^8.11.4",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.5.0",
"@typescript-eslint/parser": "^7.5.0",
"eslint": "^8.57.0",
"husky": "^9.0.11",
"jest": "^29.7.0",
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"testcontainers": "^10.8.1",
"ts-jest": "^29.1.2",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
"tsconfig-paths": "^4.2.0",
"tsconfig-paths-jest": "^0.0.1",
"tsconfig-paths-webpack-plugin": "^4.1.0",
"typescript": "^5.4.3",
"rollup": "^4.18.0",
"webpack": "^5.91.0",
"webpack-bundle-analyzer": "^4.10.1"
},
"dependencies": {
"initia-l1": "npm:@initia/[email protected]",
"initia-l2": "npm:@initia/[email protected]",
"@koa/cors": "^5.0.0",
"@koa/router": "^12.0.1",
"@sentry/node": "^7.109.0",
"@sideway/address": "^5.0.0",
"apidoc": "^1.2.0",
"apidoc-core": "^0.15.0",
"axios": "^1.6.8",
"bignumber.js": "^9.1.2",
"bluebird": "^3.7.2",
"concurrently": "^8.2.2",
"dotenv": "^16.4.5",
"joi": "^17.12.3",
"koa": "^2.15.2",
"koa-body": "^6.0.1",
"koa-helmet": "^7.0.2",
"koa-joi-controllers": "^1.2.3",
"koa-joi-router": "^8.0.0",
"koa-morgan": "^1.0.1",
"koa-mount": "^4.0.0",
"koa-router": "^12.0.1",
"koa-static": "^5.0.0",
"koa-swagger-decorator": "^2.2.1",
"merkletreejs": "^0.3.11",
"pako": "^2.1.0",
"pg": "^8.11.5",
"prom-client": "^15.1.2",
"reflect-metadata": "^0.2.2",
"sha3": "^2.1.4",
"typeorm": "^0.3.20",
"undici": "^6.11.1",
"winston": "^3.13.0",
"winston-daily-rotate-file": "^5.0.0"
},
"overrides": {
"koa-joi-controllers": {
"is-gen-fn": "0.0.2"
}
}
}