Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 10e8018

Browse files
[pkg] add pkg config.
Signed-off-by: Eric Wang <skygragon@gmail.com>
1 parent 196cf50 commit 10e8018

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

‎.dockerignore‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
.git
2+
.github
23
.npm
34
.nyc_output
45
.DS_Store
6+
57
coverage
8+
dist
69
node_modules
710
npm-debug.log*
811
tmp
12+
913
*.log
1014
*.swp

‎package.json‎

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,23 @@
1111
},
1212
"scripts": {
1313
"lint": "eslint lib/ test/",
14-
"test": "npm run lint && nyc mocha test/** && nyc report --reporter=lcov"
14+
"test": "npm run lint && nyc mocha test/** && nyc report --reporter=lcov",
15+
"pkg": "pkg . --out-path=dist/"
16+
},
17+
"pkg": {
18+
"scripts": [
19+
"lib"
20+
],
21+
"assets": [
22+
"colors",
23+
"icons",
24+
"templates"
25+
],
26+
"targets": [
27+
"node10-linux-x64",
28+
"node10-macos-x64",
29+
"node10-win-x64"
30+
]
1531
},
1632
"repository": {
1733
"type": "git",

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /