-
Notifications
You must be signed in to change notification settings - Fork 2
/
package.json
33 lines (33 loc) · 1021 Bytes
/
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
{
"name": "vite-react-ic-rust",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"setup": "npm i && dfx canister create backend && dfx generate backend && dfx deploy",
"start": "run-p frontend backend",
"frontend": "vite --port 3000",
"backend": "cargo-watch -w 'src' -q -C ./backend -s 'cd .. && dfx generate && dfx deploy backend -q -y'",
"build": "tsc && vite build",
"format": "prettier --write \"src/**/*.{json,js,jsx,ts,tsx,css,scss}\" && cargo fmt"
},
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@dfinity/agent": "^0.15.1",
"@dfinity/candid": "^0.15.1",
"@dfinity/principal": "^0.15.1",
"@types/react": "^18.0.22",
"@types/react-dom": "^18.0.7",
"@vitejs/plugin-react": "^2.2.0",
"dotenv": "^16.4.5",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.2",
"sass": "^1.57.1",
"typescript": "^4.6.4",
"vite": "^3.2.0",
"vite-plugin-environment": "^1.1.3"
}
}