Merge pull request #108 from wanghanzhen/feature/pake-cli

fix: 处理压缩 & 调整package.json files发布文件
This commit is contained in:
Tw93
2022-11-26 17:56:44 +08:00
committed by GitHub
4 changed files with 15 additions and 1922 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "pake-cli",
"version": "0.0.2",
"version": "0.0.4",
"description": "用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书、Flomo、Vercel",
"bin": {
"pake": "./cli.js"
@@ -13,6 +13,12 @@
"name": "Tw93",
"email": "tw93@qq.com"
},
"files": [
"dist",
"src-tauri",
"cli.js",
"pake-default.icns"
],
"scripts": {
"start": "npm run dev",
"dev": "npm run tauri dev",
@@ -22,7 +28,7 @@
"build:linux": "npm run tauri build --release",
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "rollup -c rollup.config.js",
"cli:build": "cross-env NODE_ENV=production rollup -c rollup.config.js",
"cli:publish": "npm run cli:build && npm publish"
},
"type": "module",
@@ -45,6 +51,7 @@
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-terser": "^0.1.0",
"@rollup/plugin-typescript": "^9.0.2",
"@types/is-url": "^1.2.30",
"@types/page-icon": "^0.3.4",
@@ -53,9 +60,8 @@
"@types/tmp": "^0.2.3",
"app-root-path": "^3.1.0",
"concurrently": "^7.5.0",
"cross-env": "^7.0.3",
"rollup": "^3.3.0",
"rollup-plugin-typescript2": "^0.34.1",
"tsc-alias": "^1.7.1",
"tslib": "^2.4.1",
"typescript": "^4.8.4"
}