feat: 脚手架基本ok
This commit is contained in:
41
package.json
41
package.json
@@ -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"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user