forked from latticexyz/mud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
83 lines (83 loc) · 2.69 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
{
"name": "@latticexyz/world",
"version": "2.0.0-next.0",
"description": "World framework",
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git",
"directory": "packages/world"
},
"license": "MIT",
"type": "module",
"exports": {
".": "./dist/ts/library/index.js",
"./register": "./dist/ts/register/index.js",
"./node": "./dist/ts/node/index.js",
"./mud.config.js": "./dist/mud.config.js",
"./abi/*": "./abi/*",
"./types/*": "./types/*",
"./snapsync": "./dist/ts/plugins/snapsync/index.js"
},
"typesVersions": {
"*": {
"index": [
"./ts/library/index.ts"
],
"register": [
"./ts/register/index.ts"
],
"node": [
"./ts/node/index.ts"
],
"snapsync": [
"./ts/plugins/snapsync/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",
"build:js": "tsup",
"build:mud": "tsx ./ts/scripts/tablegen.ts && tsx ./ts/scripts/worldgen.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",
"lint": "solhint --config ./.solhint.json 'src/**/*.sol'",
"test": "tsc --noEmit && vitest --run && 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:*",
"@latticexyz/store": "workspace:*",
"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/glob": "^7.2.0",
"@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",
"glob": "^8.0.3",
"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"
}