-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpackage.json
More file actions
120 lines (120 loc) · 4.43 KB
/
package.json
File metadata and controls
120 lines (120 loc) · 4.43 KB
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"name": "ethshot-web",
"version": "1.0.0",
"description": "A viral, pay-to-play, Ethereum-powered game where users take a chance to win an ETH jackpot",
"type": "module",
"engines": {
"node": ">=20.0.0"
},
"scripts": {
"dev": "vite dev",
"build": "vite build",
"preview": "vite preview",
"test": "mocha test/**/*.test.js --recursive",
"test:coverage": "c8 mocha test/**/*.test.js --recursive",
"test:contracts": "hardhat test",
"test:all": "pnpm test:contracts && pnpm test",
"lint": "eslint src server contracts --ext .js,.svelte",
"lint:fix": "eslint src server contracts --ext .js,.svelte --fix",
"format": "prettier --write .",
"format:check": "prettier --check .",
"compile": "hardhat compile",
"deploy:testnet": "hardhat run scripts/deploy-testnet.js --network sepolia",
"deploy:testnet-advanced": "hardhat run scripts/deploy-testnet.js --network sepolia",
"deploy:phantom": "hardhat run scripts/deploy-phantom.js --network sepolia",
"setup:deployment": "node scripts/setup-deployment.js",
"deploy:mainnet": "hardhat run scripts/deploy-mainnet.js --network mainnet",
"verify:testnet": "node scripts/verify-contract.js",
"verify:mainnet": "node scripts/verify-contract.js",
"verify:contract": "node scripts/verify-contract.js",
"server:dev": "nodemon server/index.js",
"server:start": "node server/index.js",
"chat:dev": "nodemon servers/chat/chat-server.js",
"chat:start": "node servers/chat/chat-server.js",
"deploy:chat": "echo '🚀 Deploying chat server to Railway...' && cd servers/chat && npm install && echo '✅ Dependencies installed' && cd ../.. && echo '📦 Committing and pushing to trigger Railway deployment...' && git add . && git commit -m 'Deploy chat server updates' && git push origin master && echo '✅ Pushed to GitHub - Railway will auto-deploy!'",
"deploy:chat:setup": "node scripts/deploy-chat-env.js",
"db:migrate": "supabase db push --linked",
"db:reset": "supabase db reset --linked",
"db:migration:new": "supabase migration new",
"db:status": "supabase migration list --linked",
"db:diff": "supabase db diff --linked",
"db:link": "node scripts/db-link.js",
"db:setup": "pnpm run db:link && pnpm run db:migrate",
"vercel:update-contract": "node scripts/update-vercel-contract.js",
"railway:update-contract": "node scripts/update-railway-contract.js",
"check-address": "node scripts/check-address.js",
"setup:mainnet-env": "node scripts/update-mainnet-env.js"
},
"devDependencies": {
"@nomicfoundation/hardhat-toolbox": "^4.0.0",
"@sveltejs/adapter-auto": "^3.3.1",
"@sveltejs/adapter-vercel": "^5.8.0",
"@sveltejs/kit": "^2.25.1",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"@tailwindcss/typography": "^0.5.0",
"autoprefixer": "^10.4.21",
"c8": "^8.0.1",
"chai": "^4.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"glob": "^11.0.3",
"hardhat": "^2.19.4",
"jsdom": "^26.1.0",
"mocha": "^10.8.2",
"nodemon": "^3.0.3",
"postcss": "^8.5.6",
"prettier": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2",
"sinon": "^21.0.0",
"supabase": "^1.200.3",
"svelte": "^4.2.7",
"tailwindcss": "^3.4.0",
"vite": "^5.0.3"
},
"dependencies": {
"@openzeppelin/contracts": "^5.4.0",
"@stablelib/random": "^2.0.1",
"@supabase/supabase-js": "^2.52.0",
"@walletconnect/environment": "^1.0.1",
"@walletconnect/ethereum-provider": "^2.21.5",
"@walletconnect/jsonrpc-utils": "^1.0.8",
"@walletconnect/time": "^1.0.2",
"@walletconnect/utils": "^2.21.5",
"buffer": "^6.0.3",
"compression": "^1.7.4",
"cors": "^2.8.5",
"crypto-browserify": "^3.12.1",
"dotenv": "^16.3.1",
"ethers": "^6.10.0",
"events": "^3.3.0",
"express": "^4.18.2",
"helmet": "^7.1.0",
"jose": "^6.0.12",
"jsonwebtoken": "^9.0.2",
"process": "^0.11.10",
"rate-limiter-flexible": "^4.0.1",
"redis": "^4.6.12",
"stream": "^0.0.3",
"util": "^0.12.5",
"ws": "^8.18.3"
},
"keywords": [
"ethereum",
"web3",
"game",
"svelte",
"blockchain",
"jackpot"
],
"author": "ETH Shot Team",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/ethshot/ethshot-web.git"
},
"bugs": {
"url": "https://github.com/ethshot/ethshot-web/issues"
},
"homepage": "https://ethshot.io"
}