forked from awkweb/rust-ethereum-day
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
38 lines (38 loc) · 1.24 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
{
"name": "rust-ethereum-day",
"private": true,
"type": "module",
"imports": {
"#*": "./playground/*"
},
"scripts": {
"dev": "pnpm build:wasm && vite",
"build": "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && source \"$HOME/.cargo/env\" && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -y && pnpm build:wasm && tsc && vite build",
"build:wasm": "wasm-pack build wasm-wallet/ --target bundler && cp wasm-wallet/src/types.d.ts wasm-wallet/pkg/wasm_wallet.d.ts",
"clean": "rimraf wasm-wallet/pkg",
"format": "rome format . --write",
"lint": "rome check .",
"lint:fix": "pnpm lint --apply",
"preinstall": "npx [email protected] pnpm",
"prepare": "pnpm simple-git-hooks",
"preview": "vite preview"
},
"dependencies": {
"viem": "^1.7.0",
"wasm-wallet": "workspace:*"
},
"devDependencies": {
"abitype": "^0.9.8",
"rimraf": "^5.0.1",
"rome": "^12.1.3",
"simple-git-hooks": "^2.9.0",
"typescript": "^5.0.4",
"vite": "^4.4.5",
"vite-plugin-top-level-await": "^1.3.1",
"vite-plugin-wasm": "^3.2.2"
},
"simple-git-hooks": {
"pre-commit": "pnpm format && pnpm lint:fix"
},
"packageManager": "[email protected]"
}