-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
32 lines (32 loc) · 1.69 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
{
"version": "1.0.0",
"scripts": {
"api": "cd api && cargo watch -w ./src/ -- cargo run",
"web": "mv Cargo.toml Cargo.toml.bak && cp Cargo.web.toml Cargo.toml && dx serve --hot-reload=true",
"android": "mv Cargo.toml Cargo.toml.bak && cp Cargo.mobile.toml Cargo.toml && cargo android run",
"desktop": "mv Cargo.toml Cargo.toml.bak && cp Cargo.desktop.toml Cargo.toml && dx serve --platform desktop --hot-reload",
"migrate": "cd api && diesel migration run",
"tailwind": "bunx tailwindcss -i ./assets/main.css -o ./assets/out/tailwind.css --watch",
"build:tailwind": "bunx tailwindcss -i ./assets/main.css -o ./assets/out/tailwind.css",
"build:api": "cd api && cargo build --release",
"build:web": "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && . $HOME/.cargo/env && cargo install dioxus-cli && yarn run build:tailwind && mv Cargo.toml Cargo.toml.bak && cp Cargo.web.toml Cargo.toml && dx build --platform web --release",
"build:android": "mv Cargo.toml Cargo.toml.bak && cp Cargo.mobile.toml Cargo.toml && cargo android apk build --release --split-per-abi",
"build:desktop": "mv Cargo.toml Cargo.toml.bak && cp Cargo.desktop.toml Cargo.toml && WEBKIT_DISABLE_COMPOSITING_MODE=1 dx bundle --platform desktop --release",
"deploy:api": "fly deploy",
"lint": "cargo clippy"
},
"dependencies": {
"@material-tailwind/html": "^2.2.2",
"lightweight-charts": "^4.1.3",
"decimal.js": "^10.4.3"
},
"devDependencies": {
"tailwindcss": "^3.4.1",
"@tailwindcss/forms": "^0.5.7",
"@tailwindcss/typography": "^0.5.10",
"autoprefixer": "^10.4.17",
"postcss": "^8.4.35",
"postcss-cli": "^11.0.0",
"bun": "^1.0.26"
}
}