Skip to content

Commit

Permalink
chore: switch to bunjs
Browse files Browse the repository at this point in the history
  • Loading branch information
ourongxing committed May 6, 2024
1 parent 05a7a17 commit bafa293
Show file tree
Hide file tree
Showing 11 changed files with 38 additions and 919 deletions.
14 changes: 0 additions & 14 deletions .prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
> 必须使用 Android 手机,并且必须 Root,小白勿试。release 中有已经导出好的词库,可以直接下载使用。
#### Install
> 需要 node v18+
> 需要安装 [bun](https://bun.sh/)
```shell
git clone https://github.com/ourongxing/maimemo-export.git
cd maimemo-export
Expand Down
Binary file added bun.lockb
Binary file not shown.
22 changes: 5 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,27 +1,15 @@
{
"scripts": {
"dev": "tsx src/index.ts",
"adb": "tsx src/adb.ts",
"build": "tsup src/index.ts --minify"
"dev": "bun run src/index.ts",
"adb": "bun run src/adb.ts"
},
"devDependencies": {
"@types/fs-extra": "^11.0.4",
"@types/node": "^18.19.31",
"@types/single-line-log": "^1.1.2",
"@types/yargs": "^17.0.32",
"tslib": "^2.6.2",
"tsx": "^3.14.0",
"typescript": "^5.4.5"
"@types/bun": "^1.1.1",
"@types/single-line-log": "^1.1.2"
},
"dependencies": {
"@cspotcode/zx": "^6.1.2",
"csv-stringify": "^6.4.6",
"fs-extra": "^11.2.0",
"libsql": "^0.3.11",
"single-line-log": "^1.1.2",
"yargs": "^17.7.2"
},
"engines": {
"node": ">20"
"single-line-log": "^1.1.2"
}
}
Loading

0 comments on commit bafa293

Please sign in to comment.