-
Notifications
You must be signed in to change notification settings - Fork 21
/
Copy pathpackage.json
68 lines (68 loc) · 2.9 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
{
"name": "bodhi.js-monorepo",
"repository": "[email protected]:AcalaNetwork/bodhi.js.git",
"author": "Acala Developers <[email protected]>",
"license": "Apache-2.0",
"packageManager": "[email protected]",
"private": true,
"engines": {
"node": ">=v16"
},
"workspaces": [
"packages/*",
"examples/waffle/*",
"examples/viem"
],
"scripts": {
"clean": "yarn workspaces foreach -pvit --include \"@acala-network/*\" run clean",
"build": "yarn workspaces foreach -pvit --include \"@acala-network/*\" run build",
"lint": "tsc --noEmit --project tsconfig.json && eslint . --ext .js,.ts",
"fix": "eslint . --ext .js,.ts --fix",
"test:all": "yarn workspaces foreach -vit run test",
"test": "vitest run",
"test:watch": "vitest",
"build:waffle": "yarn workspaces foreach -pvit --include \"evm-waffle-example*\" run build",
"test:waffle": "./examples/waffle/run.sh",
"start:chain": "docker compose up --build -- chain-ready",
"start:eth-rpc-adapter": "docker compose up --build -- eth-rpc-adapter-ready",
"start:eth-rpc-adapter-subql": "docker compose up --build -- eth-rpc-adapter-with-subql-ready",
"feed-tx": "yarn e2e:feed-tx && yarn e2e:feed-tx-2",
"e2e:feed-tx": "yarn workspace evm-waffle-example-dex run test",
"e2e:feed-tx-2": "yarn workspace evm-waffle-example-e2e run test",
"e2e:eth-providers": "yarn start:chain; yarn e2e:feed-tx; yarn start:eth-rpc-adapter; yarn workspace @acala-network/eth-providers run test:e2e",
"e2e:eth-rpc-adapter": "yarn start:eth-rpc-adapter-subql; yarn e2e:feed-tx; yarn e2e:feed-tx-2; yarn workspace @acala-network/eth-rpc-adapter run test:CI",
"e2e:waffle": "yarn start:chain; yarn run test:waffle",
"e2e:truffle": "yarn start:eth-rpc-adapter-subql; cd examples/truffle-tutorials; yarn install --immutable; yarn test:mandala",
"e2e:hardhat": "yarn start:eth-rpc-adapter; cd examples/hardhat-tutorials; yarn install --immutable; yarn test:mandala",
"bump": "yarn workspaces foreach -vit --include '@acala-network/*' --exclude '@acala-network/evm-subql' version",
"postinstall": "husky install"
},
"devDependencies": {
"@swc/core": "^1.3.56",
"@swc/helpers": "^0.5.1",
"@types/eslint": "^8",
"@types/node": "^20.1.0",
"@typescript-eslint/eslint-plugin": "^5.58.0",
"@typescript-eslint/parser": "^5.58.0",
"eslint": "^8.40.0",
"eslint-import-resolver-typescript": "^3.5.5",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.2",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.0.4",
"unplugin-swc": "^1.4.2",
"vite-tsconfig-paths": "^4.2.0",
"vitest": "0.34.2"
},
"lint-staged": {
"*.{js,ts}": "eslint . --cache --ext .js,.ts --fix"
},
"exports": {
".": "./lib/index.js",
"./*": "./lib/*.js",
"./package.json": "./package.json"
}
}