-
Notifications
You must be signed in to change notification settings - Fork 893
/
package.json
46 lines (46 loc) · 1.98 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
{
"name": "soroban-example-dapp",
"version": "0.1.0",
"private": true,
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"setup": "./initialize.sh ${NETWORK:-futurenet} && npm install",
"clean": "rm -rf .next .soroban .soroban-example-dapp",
"reset": "npm run clean && npm run setup",
"build:contracts": "./target/bin/soroban contract build",
"bindings:crowdfund": "./target/bin/soroban contract bindings typescript --wasm ./target/wasm32-unknown-unknown/release/soroban_crowdfund_contract.wasm --id $(cat ./.soroban-example-dapp/crowdfund_id) --output-dir ./.soroban-example-dapp/crowdfund-contract --network $(cat ./.soroban-example-dapp/network) --overwrite",
"bindings:abundance": "./target/bin/soroban contract bindings typescript --wasm ./target/wasm32-unknown-unknown/release/abundance_token.wasm --id $(cat ./.soroban-example-dapp/abundance_token_id) --output-dir ./.soroban-example-dapp/abundance-token --network $(cat ./.soroban-example-dapp/network) --overwrite",
"bindings": "npm run bindings:crowdfund && npm run bindings:abundance",
"preinstall": "npm run build:contracts && npm run bindings"
},
"dependencies": {
"@radix-ui/react-dialog": "1.0.2",
"@stellar/freighter-api": "^1.5.1",
"abundance-token": "file:./.soroban-example-dapp/abundance-token",
"axios": "^0.27.2",
"bigint-conversion": "^2.4.1",
"crowdfund-contract": "file:./.soroban-example-dapp/crowdfund-contract",
"humanize-duration": "^3.27.3",
"moment": "^2.29.4",
"next": "^13.4.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"soroban-client": "1.0.0-beta.2"
},
"devDependencies": {
"@types/humanize-duration": "^3.27.1",
"@types/node": "17.0.30",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"eslint": "^8.14.0",
"eslint-config-next": "^13.3.1",
"typescript": "5.1.3"
},
"engines": {
"node": ">=18.14.2",
"npm": ">=9.5.0"
}
}