Browse Source

Signed-off-by: Caner <5658514@qq.com>

Caner 3 years ago
parent
commit
96ee2988cd
2 changed files with 4 additions and 5 deletions
  1. 4 5
      package.json
  2. BIN
      px2rem.exe

+ 4 - 5
package.json

@@ -1,10 +1,11 @@
 {
-  "name": "naiveui2rem",
+  "name": "px2rem",
   "version": "1.0.0",
   "description": "",
   "main": "index.js",
+  "bin": "index.js",
   "scripts": {
-    "build": "pkg ./index.js -t=win --public"
+    "build": "pkg . -t=win --public --compress=GZip"
   },
   "author": "",
   "license": "ISC",
@@ -12,8 +13,6 @@
     "puppeteer": "^19.4.1"
   },
   "pkg": {
-    "targets": "node18-win-x64",
-    "assets": [ "/chrome/*" ],
-    "output": "px2rem"
+    "targets": "node18-win-x64"
   }  
 }

BIN
px2rem.exe