-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
35 lines (35 loc) · 1.19 KB
/
package.json
File metadata and controls
35 lines (35 loc) · 1.19 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
{
"name": "ipredict-xyz",
"version": "1.0.0",
"description": "iPredict XYZ - Decentralized Prediction Market Platform",
"private": true,
"workspaces": [
"programs/*",
"sdk",
"frontend"
],
"scripts": {
"build": "npm run build:program && npm run build:sdk && npm run build:frontend",
"build:program": "cd programs/ipredict-xyz && anchor build",
"build:sdk": "cd sdk && npm run build",
"build:frontend": "cd frontend && npm run build",
"test": "cd programs/ipredict-xyz && anchor test",
"deploy": "chmod +x scripts/deploy.sh && ./scripts/deploy.sh",
"deploy:localnet": "npm run deploy localnet",
"deploy:devnet": "npm run deploy devnet",
"deploy:mainnet": "npm run deploy mainnet",
"init:platform": "ts-node scripts/init-platform.ts",
"test:wager": "ts-node scripts/test-wager.ts",
"dev": "cd frontend && npm run dev",
"install:all": "npm install && cd programs/ipredict-xyz && npm install && cd ../../sdk && npm install && cd ../frontend && npm install"
},
"devDependencies": {
"prettier": "^3.0.0",
"typescript": "^5.0.0",
"ts-node": "^10.9.0",
"@types/node": "^20.10.0"
},
"engines": {
"node": ">=18.0.0"
}
}