Skip to content

Commit

Permalink
Merge pull request #45 from roblg/fix-npmignore-exclude-tests
Browse files Browse the repository at this point in the history
Exclude tests and test code from published package
  • Loading branch information
roblg committed Mar 3, 2016
2 parents 91b26f5 + 2de4108 commit c50db5f
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
15 changes: 14 additions & 1 deletion packages/react-server/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,16 @@
# Goal: include everything in target/, buildutils/, _except_ for __tests__ dirs

**/__tests__/**
# test-specific dirs
**/__tests__/
/target/test-temp
/target/*/test/

# source/docs dirs
/core
/docs

# individual files
gulpfile.js

# .eslintrc, .npmignore
.*
4 changes: 0 additions & 4 deletions packages/react-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@
"prepublish": "gulp build",
"test": "gulp test"
},
"files": [
"buildutils",
"target"
],
"dependencies": {
"body-parser": "1.9.2",
"bundle-loader": "0.5.2",
Expand Down

0 comments on commit c50db5f

Please sign in to comment.