-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
executable file
·48 lines (48 loc) · 2.02 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
47
48
{
"name": "minting-page",
"version": "0.0.0",
"type": "module",
"scripts": {
"start": "npm run replica && npm run create-canisters && npm run deploy && npm run vite",
"replica": "dfx stop && rm -rf .dfx power-equalizer/.dfx && dfx start --clean --background",
"create-canisters": "cd power-equalizer && dfx canister create --all --no-wallet",
"generate": "cd power-equalizer && dfx generate staging && cp -rf declarations/main/* ../src/declarations/ext/ && cd ..",
"deploy": "npm run deploy:power-equalizer",
"deploy:power-equalizer": ". ./set-deploy-env.zsh && cd power-equalizer && npm run deploy:ledger && npm run deploy:seed && npm run deploy local -- --mode reinstall",
"deploy:ledger": ". ./set-deploy-env.zsh && dfx deploy ledger --no-wallet --mode reinstall -y --argument '(record {minting_account = \"'$(dfx ledger account-id)'\"; initial_values = vec { record { \"'$WALLET_ADDRESS'\"; record { e8s=100_000_000_000 } }; }; send_whitelist = vec {}})'",
"vite": "vite --port 3000",
"build": "vite build",
"serve": "vite preview",
"postinstall": "cd power-equalizer && npm install && mops install",
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"dependencies": {
"@dfinity/agent": "^1.4.0",
"@dfinity/candid": "^1.4.0",
"@dfinity/ledger-icp": "^2.3.1",
"@dfinity/ledger-icrc": "^2.3.3",
"@dfinity/nns": "^5.1.2",
"@dfinity/principal": "^1.4.0",
"@dfinity/utils": "^2.3.1",
"@neoconfetti/svelte": "^1.0.0",
"date-fns": "^3.6.0",
"ic-stoic-identity": "^2.0.0"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.2",
"@tailwindcss/typography": "^0.5.8",
"@tsconfig/svelte": "^3.0.0",
"@types/node": "^20.14.5",
"autoprefixer": "^10.4.19",
"cssnano": "^5.1.14",
"postcss": "^8.4.38",
"postcss-load-config": "^4.0.1",
"svelte": "^3.55.0",
"svelte-check": "^3.0.1",
"svelte-preprocess": "^5.0.0",
"tailwindcss": "^3.2.4",
"tslib": "^2.4.1",
"typescript": "^4.9.4",
"vite": "^4.3.9"
}
}