Support file analysis

This commit is contained in:
Tw93
2023-05-02 22:42:43 +08:00
parent 050aff7cd6
commit b3e1eb620d
3 changed files with 224 additions and 106 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "pake-cli",
"version": "2.0.0",
"version": "2.0.1",
"description": "🤱🏻 Turn any webpage into a desktop app with Rust. 🤱🏻 很简单的用 Rust 打包网页生成很小的桌面 App。",
"engines": {
"node": ">=16.0.0"
@@ -36,6 +36,7 @@
"build:mac": "npm run tauri build -- --target universal-apple-darwin",
"build:all-unix": "chmod +x ./script/build.sh && ./script/build.sh",
"build:all-windows": "pwsh ./script/build.ps1",
"analyze": "cd src-tauri && cargo bloat --release --crates",
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",