Skip to content

Commit

Permalink
Whitelist files being published to npm instead of blacklisting
Browse files Browse the repository at this point in the history
  • Loading branch information
pablosichert committed Jun 17, 2016
1 parent 7197928 commit 8bfe216
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +0,0 @@
node_modules
src
.babelrc
.eslintrc
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@
"version": "1.0.3",
"description": "React component for truncating multi-line spans and adding an ellipsis",
"main": "lib/Truncate.js",
"files": [
"lib"
],
"scripts": {
"compile": "babel ./src --out-dir ./lib",
"prepublish": "npm run compile"
Expand Down

0 comments on commit 8bfe216

Please sign in to comment.