forked from latticexyz/mud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
81 lines (81 loc) · 2.65 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
{
"name": "@latticexyz/store",
"version": "2.0.0-next.0",
"description": "Store",
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git",
"directory": "packages/store"
},
"license": "MIT",
"type": "module",
"exports": {
".": "./dist/ts/index.js",
"./codegen": "./dist/ts/codegen/index.js",
"./config": "./dist/ts/config/index.js",
"./register": "./dist/ts/register/index.js",
"./abi/*": "./abi/*",
"./*": "./dist/*"
},
"typesVersions": {
"*": {
"index": [
"./ts/index.ts"
],
"codegen": [
"./ts/codegen/index.ts"
],
"config": [
"./ts/config/index.ts"
],
"register": [
"./ts/register/index.ts"
]
}
},
"scripts": {
"build": "pnpm run build:mud && pnpm run build:abi && pnpm run build:typechain && pnpm run build:js",
"build:abi": "forge build --extra-output-files abi --out abi --skip test script MudTest.sol",
"build:js": "tsup",
"build:mud": "tsx ./ts/scripts/tablegen.ts",
"build:typechain": "typechain --target ethers-v5 'abi/**/*.sol/!(*.abi).json'",
"clean": "pnpm run clean:abi && pnpm run clean:js && pnpm run clean:mud && pnpm run clean:typechain",
"clean:abi": "rimraf abi",
"clean:js": "rimraf dist",
"clean:mud": "rimraf src/codegen",
"clean:typechain": "rimraf types",
"dev": "tsup --watch",
"gas-report": "mud-gas-report --save gas-report.json",
"generate-tightcoder": "tsx ./scripts/generate-tightcoder.ts && prettier --write '**/tightcoder/*.sol'",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
"test": "vitest typecheck --run && vitest --run --passWithNoTests && forge test"
},
"dependencies": {
"@ethersproject/abi": "^5.7.0",
"@ethersproject/providers": "^5.7.2",
"@latticexyz/common": "workspace:*",
"@latticexyz/config": "workspace:*",
"@latticexyz/gas-report": "workspace:*",
"@latticexyz/schema-type": "workspace:*",
"abitype": "0.9.3",
"ethers": "^5.7.2",
"zod": "^3.21.4"
},
"devDependencies": {
"@latticexyz/std-contracts": "workspace:*",
"@typechain/ethers-v5": "^10.2.0",
"@types/ejs": "^3.1.1",
"@types/mocha": "^9.1.1",
"@types/node": "^18.15.11",
"ds-test": "https://github.com/dapphub/ds-test.git#e282159d5170298eb2455a6c05280ab5a73a4ef0",
"ejs": "^3.1.8",
"forge-std": "https://github.com/foundry-rs/forge-std.git#74cfb77e308dd188d2f58864aaf44963ae6b88b1",
"hardhat": "^2.10.2",
"solhint": "^3.3.7",
"tsup": "^6.7.0",
"tsx": "^3.12.6",
"typechain": "^8.1.1",
"vitest": "0.31.4"
},
"gitHead": "914a1e0ae4a573d685841ca2ea921435057deb8f"
}