Skip to content

Commit

Permalink
npm bin
Browse files Browse the repository at this point in the history
  • Loading branch information
炒饭 committed Mar 27, 2017
1 parent 13161d6 commit e2413e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/.tmp
/.build
/dist
npm-debug.log
2 changes: 2 additions & 0 deletions bin/pack.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@ fi
mkdir -p $tmp_dir
if [ ! -d "$nwjs_dir" ]; then
if [ ! -f "$nwjs_file" ]; then
echo "================================="
echo "[注意]需要下载nwjs.请耐心等待下载完成"
echo "================================="
wget "$nwjs_download" -O $nwjs_file
$? -ne 0 && exit "$?"
fi
Expand Down
1 change: 1 addition & 0 deletions bin/wxdt
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "wechat_web_devtools",
"name": "wxdt",
"version": "0.0.1",
"description": "凌晨三点终于搞定了linux下开发者工具的使用,已经完美使用,之后上完整安装教程和npm包.",
"main": "index.js",
Expand All @@ -8,6 +8,9 @@
"pack": "sh ./bin/pack.sh",
"install": "sh ./bin/pack.sh install"
},
"bin": {
"wxdt": "./bin/wxdt"
},
"repository": {
"type": "git",
"url": "git+https://github.com/cytle/wechat_web_devtools.git"
Expand Down

0 comments on commit e2413e9

Please sign in to comment.