Skip to content
This repository has been archived by the owner on Apr 12, 2023. It is now read-only.

Commit

Permalink
Pass --unpack via package.json field
Browse files Browse the repository at this point in the history
  • Loading branch information
zcbenz committed Dec 25, 2018
1 parent 4f36fe1 commit c450dbb
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,17 @@
"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"
},
"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",
Expand Down Expand Up @@ -45,6 +46,6 @@
"string-replace-async": "1.2.1"
},
"devDependencies": {
"yackage": "0.2.7"
"yackage": "0.2.8"
}
}

0 comments on commit c450dbb

Please sign in to comment.