-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
124 lines (124 loc) · 4.45 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
{
"name": "river-build",
"version": "0.0.0",
"license": "MIT",
"packageManager": "[email protected]",
"scripts": {
"anvil": "yarn workspace @river-build/contracts exec anvil",
"build": "turbo build",
"cast": "yarn workspace @river-build/contracts exec cast",
"clean": "./scripts/yarn-clean.sh",
"csb:build": "turbo build --filter @river-build/sdk",
"csb:cb": "yarn csb:clean && yarn csb:build",
"csb:clean": "yarn csb:command run clean",
"csb:command": "bash -c 'yarn workspaces foreach --verbose $(yarn csb:list:include) $0 $@'",
"csb:list": "yarn workspaces list --json | grep packages | grep -o '\"name\":\"[^\"]*' | grep -o '[^\"]*$'",
"csb:list:exclude:filter": "yarn csb:list | xargs -I arg echo -n \"--filter=!arg \"",
"csb:list:filter": "yarn csb:list | xargs -I arg echo -n \"--filter arg \"",
"csb:list:filter-without-sdk": "yarn csb:list | grep -v sdk | xargs -I arg echo -n \"--filter arg \"",
"csb:list:include": "yarn csb:list | xargs -I arg echo -n \"--include arg \"",
"csb:prettier:check": "prettier --check ./packages",
"csb:prettier:fix": "prettier --write ./packages",
"csb:test": "yarn csb:command run test && echo ALL GOOD || (echo NOT PASSED; exit 1)",
"csb:test-remote": "yarn workspace @river-build/sdk run test",
"csb:turbo": "bash -c 'yarn run turbo run build test:ci $(yarn csb:list:filter)'",
"csb:turbo-no-sdk": "bash -c 'yarn run turbo run build test:ci $(yarn csb:list:filter-without-sdk)'",
"csb:wait": "yarn csb:wait:entitlements",
"csb:wait:entitlements": "wait-on https://localhost:5157/info --timeout=900000 --i=5000 --verbose",
"csb:wait:no-entitlements": "wait-on https://localhost:5158/info --timeout=900000 --i=5000 --verbose",
"lint": "turbo lint",
"postinstall": "husky install",
"prepare": "husky install",
"prettier:check": "prettier --check .",
"prettier:fix": "prettier --write .",
"syncpack:check": "syncpack list-mismatches",
"syncpack:fix": "syncpack fix-mismatches && syncpack format",
"test": "turbo test",
"test:build": "turbo test:build",
"test:unit": "turbo test:unit -- --silent"
},
"devDependencies": {
"@arethetypeswrong/cli": "^0.15.3",
"@typechain/ethers-v5": "^10.1.1",
"@types/node": "^20.5.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-mocha": "^10.1.0",
"eslint-plugin-n": "^16.0.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^9.1.4",
"lerna": "^8.1.3",
"lint-staged": "^13.1.2",
"prettier": "^2.8.8",
"publint": "^0.2.8",
"solidity-docgen": "^0.6.0-beta.29",
"syncpack": "^10.7.3",
"ts-node": "^10.9.1",
"turbo": "^2.0.12",
"typechain": "^8.1.1",
"typescript": "^5.1.6",
"vitest": "^2.1.5",
"wait-on": "^7.0.1"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,mdx,ts,tsx}": [
"eslint --fix"
],
"*.{json,yml}": [
"prettier --write"
]
},
"resolutions": {
"jest-worker@^29.5.0": "patch:jest-worker@npm%3A29.5.0#./.yarn/patches/jest-worker-npm-29.5.0-70da3388f1.patch"
},
"syncpack": {
"dependencyTypes": [
"dev",
"prod",
"peer"
],
"indent": " ",
"sortFirst": [
"name",
"description",
"version",
"author",
"license",
"private",
"packageManager",
"type",
"main",
"types",
"scripts"
],
"versionGroups": [
{
"label": "Different versions in worker & client - need v2.x in workers, which breaks client",
"dependencies": [
"siwe"
],
"packages": [
"siwe-worker",
"worker-common"
],
"dependencyTypes": [
"prod",
"dev",
"peer"
]
}
]
},
"workspaces": [
"protocol",
"packages/*",
"packages/workers/*",
"contracts",
"services/*"
]
}