mirror of
https://github.com/baairon/torlink.git
synced 2026-07-08 18:28:22 +02:00
fix: show clear error when Node.js is too old instead of a parse crash
This commit is contained in:
+2
-1
@@ -4,7 +4,7 @@
|
||||
"description": "A sleek, zero-setup torrent finder and downloader that lives right in your terminal.",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"torlnk": "./dist/index.js"
|
||||
"torlnk": "./dist/cli.cjs"
|
||||
},
|
||||
"files": [
|
||||
"dist",
|
||||
@@ -16,6 +16,7 @@
|
||||
"scripts": {
|
||||
"dev": "tsx src/index.tsx",
|
||||
"build": "tsup",
|
||||
"postbuild": "cp scripts/cli-entry.cjs dist/cli.cjs && chmod +x dist/cli.cjs",
|
||||
"start": "node dist/index.js",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"test": "vitest run",
|
||||
|
||||
Reference in New Issue
Block a user