forked from towns-protocol/towns
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
137 lines (137 loc) · 5.71 KB
/
Copy pathpackage.json
File metadata and controls
137 lines (137 loc) · 5.71 KB
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
130
131
132
133
134
135
136
137
{
"name": "river-build",
"version": "0.0.0",
"license": "MIT",
"packageManager": "yarn@3.8.0",
"scripts": {
"anvil": "yarn workspace @river-build/contracts exec anvil",
"build": "turbo build",
"build:react": "turbo build --filter @river-build/react-sdk",
"build:metrics-discovery": "turbo build --filter @river-build/metrics-discovery",
"cast": "yarn workspace @river-build/contracts exec cast",
"csb:build": "yarn workspace @river-build/proto run build && yarn workspace @river-build/dlog run build && yarn workspace @river-build/web3 run build && yarn workspace @river-build/encryption run build && yarn workspace @river-build/sdk run build && yarn workspace @river-build/react-sdk run build && echo BUILD DONE || (echo BUILD ERROR; exit 1)",
"clean": "./scripts/yarn-clean.sh",
"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:dev": "yarn csb:dev:entitlements",
"csb:dev:entitlements": "./core/scripts/launch.sh",
"csb:dev:no-entitlements": "./core/scripts/launch.sh --disable_entitlements",
"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:multi": "./core/scripts/launch_multi.sh",
"csb:multi:no-entitlements": "./core/scripts/launch_multi.sh --disable_entitlements",
"csb:prettier:check": "prettier --check ./packages",
"csb:prettier:fix": "prettier --write ./packages",
"csb:start": "yarn csb:start:entitlements",
"csb:start:entitlements": "./core/scripts/start_node.sh",
"csb:start:no-entitlements": "./core/scripts/start_node.sh --disable_entitlements",
"csb:stop": "./core/scripts/stop.sh",
"csb:storage": "./core/scripts/launch_storage.sh",
"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) --no-cache --force'",
"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",
"drt:wait": "wait-on tcp:8008 --timeout=900000 --i=5000 --verbose",
"install:foundry": "./scripts/foundry-up.sh && yarn forge install",
"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:unit": "turbo test:unit -- --silent",
"test:react": "vitest --project @river-build/react-sdk",
"test:build": "turbo test:build"
},
"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": "^1.13.3",
"typechain": "^8.1.1",
"typescript": "^5.1.6",
"vitest": "^1.6.0",
"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/*",
"contracts"
]
}