-
Notifications
You must be signed in to change notification settings - Fork 193
/
package.json
69 lines (69 loc) · 3.27 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
{
"name": "mud-monorepo",
"private": true,
"repository": {
"type": "git",
"url": "https://github.com/latticexyz/mud.git"
},
"type": "module",
"scripts": {
"all-build": "for dir in packages/store packages/world packages/world-modules packages/cli test/mock-game-contracts test/puppet-modules e2e/packages/contracts examples/*/packages/contracts examples/multiple-namespaces templates/*/packages/contracts; do (cd \"$dir\" && pwd && pnpm build); done",
"all-install": "for dir in . docs e2e examples/* templates/*; do (cd \"$dir\" && pwd && pnpm install); done",
"bench": "pnpm run --recursive bench",
"build": "turbo run build --concurrency=100%",
"changelog:generate": "tsx scripts/changelog.ts",
"clean": "turbo run clean --concurrency=100%",
"dev": "turbo run dev --concurrency=999",
"dist-tag-rm": "pnpm recursive exec -- sh -c 'npm dist-tag rm $(cat package.json | jq -r \".name\") $TAG || true'",
"docs:generate:api": "tsx scripts/render-api-docs.ts",
"fix:package-json": "sort-package-json package.json 'packages/*/package.json' 'templates/*/package.json' 'templates/*/packages/*/package.json' 'examples/*/package.json' 'examples/*/packages/*/package.json' 'e2e/*/package.json' 'e2e/*/packages/*/package.json' 'docs/package.json' 'test/*/package.json'",
"foundryup": "curl -L https://foundry.paradigm.xyz | bash && bash ~/.foundry/bin/foundryup",
"gas-report": "pnpm run --recursive --parallel gas-report",
"lint": "pnpm prettier:check && eslint . --ext .ts --ext .tsx",
"prepare": "husky install && (forge --version || pnpm foundryup)",
"prettier": "prettier --write '**/*.{ts,tsx,css,md,mdx,sol}'",
"prettier:check": "prettier --check '**/*.{ts,tsx,css,md,mdx,sol}'",
"release:check": "changeset status --verbose --since=origin/main",
"release:publish": "pnpm install && pnpm build && changeset publish",
"release:version": "changeset version && pnpm install --lockfile-only && pnpm run changelog:generate",
"test": "pnpm run test:setup && pnpm run --recursive test",
"test:ci": "pnpm run test:setup && pnpm run --recursive test:ci",
"test:setup": "tsx test-setup/startAnvil.ts & pnpm run --filter mock-game-contracts build",
"type-bench": "pnpm --filter ./test/ts-benchmarks bench",
"type-stats-repo": "attest stats packages/*",
"vercel:prepare": "ln -sf /vercel/.foundry/bin/* node_modules/.bin/ && forge --version"
},
"lint-staged": {
"*.{ts,tsx}": "eslint --cache --fix",
"*.{ts,tsx,css,md,mdx,sol}": "prettier --write",
"package.json": "pnpm fix:package-json"
},
"devDependencies": {
"@ark/attest": "catalog:",
"@changesets/cli": "^2.27.7",
"@types/node": "^18.15.11",
"@typescript-eslint/eslint-plugin": "7.1.1",
"@typescript-eslint/parser": "7.1.1",
"@viem/anvil": "^0.0.7",
"chalk": "^5.2.0",
"eslint": "8.57.0",
"execa": "^9.4.0",
"glob": "^10.4.2",
"husky": ">=6",
"lint-staged": "^15.2.10",
"prettier": "3.2.5",
"prettier-plugin-solidity": "1.3.1",
"shx": "^0.3.4",
"sort-package-json": "^2.10.1",
"tsx": "4.19.0",
"turbo": "^1.9.3",
"typescript": "5.4.2",
"viem": "catalog:",
"vitest": "2.1.2"
},
"packageManager": "[email protected]",
"engines": {
"node": "18.x || 20.x",
"pnpm": "^9.6.0"
}
}