Skip to content
This repository has been archived by the owner on Oct 9, 2023. It is now read-only.

Commit

Permalink
Use .npmignore instead of the more dangerous “files”
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jun 1, 2017
1 parent f69e260 commit 779ae07
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 9 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,10 @@ node_modules
.node_repl_history

TODO

# coverage
.nyc_output
coverage

# build output
lib
42 changes: 42 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Logs
logs
*.log
npm-debug.log*

# Runtime data
pids
*.pid
*.seed

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage

# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
node_modules

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

TODO

# coverage
.nyc_output
coverage

examples
docs
9 changes: 0 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,6 @@
"Ian Myers <[email protected]>",
"Jake Teton-Landis <[email protected]>"
],
"files": [
"README.md",
"lib",
"src",
"server.js",
"test",
".eslintrc",
".babelrc"
],
"license": "MIT",
"bugs": {
"url": "https://github.com/airbnb/hypernova/issues"
Expand Down

0 comments on commit 779ae07

Please sign in to comment.