feat: 脚手架基本ok

This commit is contained in:
volare
2022-11-22 00:24:06 +08:00
parent c1981f2951
commit 22b9b2878d
29 changed files with 4001 additions and 9 deletions

View File

@@ -1,6 +1,10 @@
{
"name": "pake",
"name": "pake-cli",
"version": "0.0.1",
"description": "用 Rust 来打包你的 App底层使用 Tauri当前支持微信读书、Flomo、Vercel",
"bin": {
"pake": "./cli.js"
},
"repository": {
"type": "git",
"url": "https://github.com/tw93/pake.git"
@@ -16,13 +20,42 @@
"build": "npm run tauri build -- --target universal-apple-darwin",
"build:windows": "npm run tauri build -- --target x86_64-pc-windows-msvc",
"build:linux": "npm run tauri build --release",
"tauri": "tauri"
"tauri": "tauri",
"cli": "rollup -c rollup.config.js --watch",
"cli:build": "rollup -c rollup.config.js"
},
"type": "module",
"exports": "./dist/pake.js",
"license": "MIT",
"dependencies": {
"@tauri-apps/api": "^1.2.0"
"@tauri-apps/api": "^1.2.0",
"@tauri-apps/cli": "^1.2.0",
"axios": "^1.1.3",
"commander": "^9.4.1",
"file-type": "^18.0.0",
"is-url": "^1.2.4",
"loglevel": "^1.8.1",
"ora": "^6.1.2",
"prompts": "^2.4.2",
"shelljs": "^0.8.5",
"tmp-promise": "^3.0.3"
},
"devDependencies": {
"@tauri-apps/cli": "^1.2.0"
"@rollup/plugin-alias": "^4.0.2",
"@rollup/plugin-commonjs": "^23.0.2",
"@rollup/plugin-json": "^5.0.1",
"@rollup/plugin-typescript": "^9.0.2",
"@types/is-url": "^1.2.30",
"@types/page-icon": "^0.3.4",
"@types/prompts": "^2.4.1",
"@types/shelljs": "^0.8.11",
"@types/tmp": "^0.2.3",
"app-root-path": "^3.1.0",
"concurrently": "^7.5.0",
"rollup": "^3.3.0",
"rollup-plugin-typescript2": "^0.34.1",
"tsc-alias": "^1.7.1",
"tslib": "^2.4.1",
"typescript": "^4.8.4"
}
}