Skip to content

Commit

Permalink
remove useless file from npm module (#46)
Browse files Browse the repository at this point in the history
* remove useless file from npm module

* use files to specify package content
  • Loading branch information
tomap authored and JLHwung committed Dec 9, 2018
1 parent 30d05ed commit 1b45acb
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,11 @@ coverage/
.travis.yml
.idea/
appveyor.yml
!assets/.gitignore
!assets/.gitignore
.editorconfig
.eslintignore
.eslintrc
.gitmodules
.jscsrc
.npmignore
.eslintrc.json
5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
"bin": {
"hexo": "./bin/hexo"
},
"files": [
"lib",
"completion",
"bin"
],
"scripts": {
"eslint": "eslint .",
"test": "mocha test/index.js",
Expand Down

0 comments on commit 1b45acb

Please sign in to comment.