-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
29 lines (29 loc) · 1.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
{
"name": "dappy-frame-example",
"private": true,
"type": "module",
"scripts": {
"dev": "frog dev",
"wrangler:dev": "wrangler dev src/frame.tsx",
"wrangler:deploy-frame": "npm run replace-wordlists && wrangler deploy --minify src/frame.tsx --config wrangler-frame.toml --env production",
"wrangler:deploy-webhook": "wrangler deploy --minify src/webhook.ts --config wrangler-webhook.toml --env production",
"wrangler:deploy-all": "npm run wrangler:deploy-frame && npm run wrangler:deploy-webhook",
"wrangler:static": "cp -r ./node_modules/frog/_lib/ui/.frog ./public/frog",
"cf-typegen": "wrangler types --config wrangler-frame.toml",
"replace-wordlists": "cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/czech.js && cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/korean.js && cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/french.js && cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/italian.js && cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/japanese.js && cp node_modules/@dappykit/sdk/dist/emptyModule.js node_modules/@scure/bip39/esm/wordlists/spanish.js",
"wrangler:create-namespaces": "wrangler kv:namespace create dappy_main_to_delegated && wrangler kv:namespace create dappy_delegated_to_pk"
},
"dependencies": {
"@dappykit/sdk": "^2.6.0",
"frog": "^0.9.3",
"hono": "^4"
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240502.0",
"typescript": "^5.4.5",
"wrangler": "^3.55.0"
},
"engines": {
"node": ">=18"
}
}