Kaynağa Gözat

Merge pull request #469 from pirate/patch-1

Add main script to allow cli to be directly installed from npm
Gildas 5 yıl önce
ebeveyn
işleme
d7b45d30e2
2 değiştirilmiş dosya ile 4 ekleme ve 0 silme
  1. 4 0
      cli/package.json
  2. 0 0
      cli/single-file

+ 4 - 0
cli/package.json

@@ -4,6 +4,10 @@
 	"description": "SingleFile",
 	"author": "Gildas Lormeau",
 	"license": "AGPL-3.0-or-later",
+	"main": "single-file",
+	"bin": {
+        "single-file": "./single-file"
+    },
 	"dependencies": {
 		"file-url": "^3.0.0",
 		"iconv-lite": "^0.5.2",

+ 0 - 0
cli/single-file