Permalink
Browse files

Change .npmignore to use opt-in instead of out-out, to avoid duplicat…

…ing contents of .gitignore
  • Loading branch information...
1 parent 27aa4bb commit c1cf2309605935d5db90e119a9d73dbef9d6cb59 @SteveSanderson SteveSanderson committed Feb 27, 2013
Showing with 5 additions and 27 deletions.
  1. +4 −25 .npmignore
  2. +1 −2 build/output/.npmignore
View
@@ -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
@@ -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.