-
Notifications
You must be signed in to change notification settings - Fork 3
/
package.json
65 lines (65 loc) · 2.21 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"name": "vite-react-motoko",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"deploy:sandbox": "./scripts/deploy_sandbox.sh",
"deploy:prod": "./scripts/delpoy_prod.sh",
"setup": "npm i && npm run setup:evm_rpc && npm run setup:backend",
"setup:evm_rpc": "dfx deps pull && dfx deps init evm_rpc --argument '(record { nodesInSubnet = 28 })' && dfx deps deploy",
"setup:backend": "dfx canister create backend && dfx generate backend && dfx deploy",
"start": "run-p frontend backend",
"frontend": "vite --port 3000",
"backend": "mo-dev --generate --deploy -y",
"build": "tsc && vite build --mode sandbox",
"test": "run-s test:backend test:frontend",
"test:frontend": "vitest run",
"test:backend": "mo-test",
"format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss}\" \"backend/**/*.mo\""
},
"dependencies": {
"@dfinity/agent": "^2.1.0",
"@dfinity/auth-client": "^2.1.0",
"@dfinity/ledger-icrc": "^2.5.0",
"@dfinity/principal": "^2.1.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-brands-svg-icons": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/react-fontawesome": "^0.2.2",
"@rainbow-me/rainbowkit": "^2.1.2",
"@tanstack/react-query": "^5.40.0",
"@types/uuid": "^10.0.0",
"ethers": "^6.12.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view-lite": "^1.2.1",
"react-router-dom": "^6.24.1",
"viem": "^2.13.2",
"wagmi": "^2.9.8"
},
"devDependencies": {
"@dfinity/candid": "^2.1.0",
"@dfinity/utils": "^2.5.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.14",
"@types/react-dom": "^18.2.6",
"@vitejs/plugin-react": "^4.0.1",
"autoprefixer": "^10.4.19",
"cross-fetch": "^3.1.6",
"dotenv": "^16.3.1",
"jsdom": "^22.1.0",
"mo-dev": "^0.11.2",
"npm-run-all": "^4.1.5",
"postcss": "^8.4.38",
"prettier": "^2.8.8",
"prettier-plugin-motoko": "^0.5.3",
"sass": "^1.63.6",
"tailwindcss": "^3.4.3",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-environment": "^1.1.3",
"vitest": "^0.32.2"
}
}