Skip to content

armgit / Pake

Public Imported from GitHub
0

Turn any website into a lightweight desktop app with one command, on macOS, Windows and Linux.

3.0 KB
Raw Blame
{
  "name": "pake-cli",
  "version": "3.21.0",
  "description": "Turn any website into a lightweight desktop app with one command. 一键把网站打包成轻量桌面应用。",
  "homepage": "https://pake.run",
  "engines": {
    "node": ">=22.12.0"
  },
  "packageManager": "[email protected]",
  "bin": {
    "pake": "dist/cli.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/tw93/Pake.git"
  },
  "author": {
    "name": "Tw93",
    "email": "[email protected]"
  },
  "keywords": [
    "pake",
    "pake-cli",
    "rust",
    "tauri",
    "no-electron",
    "electron-alternative",
    "desktop-app",
    "webview",
    "website-to-app",
    "productivity"
  ],
  "files": [
    "LICENSE-EXCEPTION",
    "llms.txt",
    "dist/cli.js",
    "src-tauri"
  ],
  "scripts": {
    "start": "pnpm run dev",
    "dev": "pnpm run tauri dev",
    "build": "tauri build",
    "build:debug": "tauri build --debug",
    "build:mac": "tauri build --target universal-apple-darwin",
    "analyze": "cd src-tauri && cargo bloat --release --crates",
    "tauri": "tauri",
    "cli": "cross-env NODE_ENV=development rollup -c -w",
    "cli:dev": "cross-env NODE_ENV=development rollup -c -w",
    "cli:build": "cross-env NODE_ENV=production rollup -c",
    "test": "pnpm run cli:build && cross-env PAKE_CREATE_APP=1 node tests/index.js",
    "format": "prettier --write . --ignore-unknown && find tests -name '*.js' -exec sed -i '' 's/[[:space:]]*$//' {} \\; && cd src-tauri && cargo fmt --verbose",
    "format:check": "prettier --check . --ignore-unknown",
    "release:check": "node scripts/check-release-version.mjs && pnpm run format:check && npx vitest run && pnpm run cli:build && npm pack --dry-run --ignore-scripts",
    "update": "pnpm update --verbose && cd src-tauri && cargo update",
    "prepublishOnly": "pnpm run cli:build"
  },
  "type": "module",
  "exports": "./dist/cli.js",
  "license": "GPL-3.0-or-later",
  "dependencies": {
    "@tauri-apps/cli": "^2.12.6",
    "chalk": "^6.0.1",
    "commander": "^15.1.0",
    "execa": "^10.2.1",
    "file-type": "^22.3.0",
    "fs-extra": "^11.4.1",
    "loglevel": "^1.9.2",
    "ora": "^10.0.0",
    "prompts": "^2.4.2",
    "psl": "^1.15.0",
    "sharp": "^0.35.5",
    "tmp-promise": "^3.0.3",
    "update-notifier": "^7.3.1"
  },
  "devDependencies": {
    "@rollup/plugin-alias": "^6.0.1",
    "@rollup/plugin-commonjs": "^29.0.3",
    "@rollup/plugin-json": "^6.1.0",
    "@rollup/plugin-replace": "^6.0.3",
    "@types/fs-extra": "^11.0.4",
    "@types/node": "^26.6.6",
    "@types/prompts": "^2.4.9",
    "@types/tmp": "^0.2.6",
    "@types/update-notifier": "^6.0.9",
    "cross-env": "^10.1.0",
    "prettier": "^3.10.1",
    "rollup": "^4.68.8",
    "rollup-plugin-typescript2": "^0.37.0",
    "tslib": "^2.9.1",
    "typescript": "^6.0.3",
    "vite": "^8.3.8",
    "vitest": "^5.1.1"
  },
  "pnpm": {
    "overrides": {
      "sharp": "^0.35.5",
      "@img/sharp-libvips-darwin-arm64": "1.3.4",
      "tmp": "0.2.7"
    },
    "onlyBuiltDependencies": [
      "esbuild",
      "sharp"
    ]
  }
}