Skip to content

Commit

Permalink
Change .npmignore to use opt-in instead of out-out, to avoid duplicat…
Browse files Browse the repository at this point in the history
…ing contents of .gitignore
  • Loading branch information
SteveSanderson committed Feb 27, 2013
1 parent 27aa4bb commit c1cf230
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 27 deletions.
29 changes: 4 additions & 25 deletions .npmignore
@@ -1,25 +1,4 @@
# From .gitignore

*.suo
*.swp
*.csproj.user
bin
obj
*.pdb
_ReSharper*
*.ReSharper.user
*.ReSharper
desktop.ini
.eprj
perf/*
*.orig

.DS_Store
npm-debug.log

# NPM specifics

.travis.yml
src
spec
build
# Only package the build output for npm. Developers who want sources/tests can get them from the KO repo.
*
!build/output/knockout-latest.js
!build/output/knockout-latest.debug.js
3 changes: 1 addition & 2 deletions build/output/.npmignore
@@ -1,2 +1 @@
!knockout-latest.js
!knockout-latest.debug.js
# This file is needed, because otherwise the .gitignore causes npm not to package the build output

0 comments on commit c1cf230

Please sign in to comment.