diff --git a/packages/react-server/.npmignore b/packages/react-server/.npmignore index 68d912a24..1d5031d9a 100644 --- a/packages/react-server/.npmignore +++ b/packages/react-server/.npmignore @@ -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 +.* diff --git a/packages/react-server/package.json b/packages/react-server/package.json index 4918c882f..85ae8933c 100644 --- a/packages/react-server/package.json +++ b/packages/react-server/package.json @@ -11,10 +11,6 @@ "prepublish": "gulp build", "test": "gulp test" }, - "files": [ - "buildutils", - "target" - ], "dependencies": { "body-parser": "1.9.2", "bundle-loader": "0.5.2",