From c450dbb2c997e7acb67a4d813627f4654588aa3b Mon Sep 17 00:00:00 2001 From: Cheng Zhao Date: Tue, 25 Dec 2018 22:33:44 +0900 Subject: [PATCH] Pass --unpack via package.json field --- package.json | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 7ed6a19..527b7b8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "build": { "appId": "org.yue.wey", "productName": "Wey", - "copyright": "Copyright © 2018 Cheng Zhao" + "copyright": "Copyright © 2018 Cheng Zhao", + "unpack": "+(*.node|*.html|*.png|*.gif)" }, "bin": { "wey": "./scripts/start.js" @@ -14,8 +15,8 @@ "scripts": { "start": "node scripts/start.js", "install": "fetch-yode", - "build": "yackage build out --cache-dir yode --unpack \"+(*.node|*.html|*.png|*.gif)\"", - "dist": "yackage dist out --cache-dir yode --unpack \"+(*.node|*.html|*.png|*.gif)\"" + "build": "yackage build out --cache-dir yode", + "dist": "yackage dist out --cache-dir yode" }, "engines": { "node": "^10", @@ -45,6 +46,6 @@ "string-replace-async": "1.2.1" }, "devDependencies": { - "yackage": "0.2.7" + "yackage": "0.2.8" } }