-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
48 lines (48 loc) · 1.49 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": "vite-react-motoko",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"setup": "npm i && npm run setup:evm_rpc && npm run setup:backend",
"setup:evm_rpc": "dfx deploy evm_rpc",
"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",
"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": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-json-view-lite": "^1.2.1",
"react-spinners": "^0.13.8",
"react-toastify": "^10.0.5"
},
"devDependencies": {
"@dfinity/agent": "^0.18.1",
"@dfinity/candid": "^0.18.1",
"@dfinity/principal": "^0.18.1",
"@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",
"cross-fetch": "^3.1.6",
"dotenv": "^16.3.1",
"jsdom": "^22.1.0",
"mo-dev": "^0.11.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.8",
"prettier-plugin-motoko": "^0.5.3",
"sass": "^1.63.6",
"typescript": "^5.1.3",
"vite": "^4.3.9",
"vite-plugin-environment": "^1.1.3",
"vitest": "^0.32.2"
}
}