Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit 26d6200

Browse files
committed
fix sub commands not added to compiled binary. fix #75
1 parent cec2a90 commit 26d6200

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,22 @@
1414
"test": "NODE_ENV=test mocha 'spec/**/*.spec.js'",
1515
"cover": "istanbul cover _mocha $(find ./spec -name \"*.spec.js\")",
1616
"coveralls": "yarn run cover -- --report lcovonly && cat ./coverage/lcov.info | coveralls",
17-
"build": "pkg -o out/gtt -t node10-linux-x64,node10-macos-x64,node10-win-x64 src/gtt.js"
17+
"build": "pkg src/gtt.js -o out/gtt -c package.json"
1818
},
1919
"bin": {
2020
"gtt": "src/gtt.js"
2121
},
2222
"engines": {
2323
"node": ">=6.11"
2424
},
25+
"pkg": {
26+
"scripts": "src/**/*.js",
27+
"targets": [
28+
"node10-linux-x64",
29+
"node10-macos-x64",
30+
"node10-win-x64"
31+
]
32+
},
2533
"author": "kriskbx",
2634
"license": "GPL-2.0",
2735
"dependencies": {

0 commit comments

Comments
 (0)