diff --git a/package.json b/package.json index 90cd2ae8f76..37890fb36b8 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,9 @@ "module", "bundler" ], + "files": [ + "bin" + ], "scripts": { "lint": "eslint \"./bin/*.js\" \"./test/**/*.js\" \"{packages}/**/!(node_modules)/*.js\" ", "format": "prettier-eslint ./bin/*.js ./test/**/*.js ./packages/**/*.js --write", @@ -128,10 +131,5 @@ "schema-utils": "^0.4.5", "webpack": "^4.8.3", "webpack-dev-server": "^3.1.4" - }, - "files": [ - "bin", - "lib", - "schemas" - ] + } } diff --git a/packages/generate-loader/.npmignore b/packages/generate-loader/.npmignore new file mode 100644 index 00000000000..fc906aff603 --- /dev/null +++ b/packages/generate-loader/.npmignore @@ -0,0 +1,3 @@ +examples +test +templates/test diff --git a/packages/generate-plugin/.npmignore b/packages/generate-plugin/.npmignore new file mode 100644 index 00000000000..fc906aff603 --- /dev/null +++ b/packages/generate-plugin/.npmignore @@ -0,0 +1,3 @@ +examples +test +templates/test diff --git a/packages/generators/.npmignore b/packages/generators/.npmignore new file mode 100644 index 00000000000..9db08315811 --- /dev/null +++ b/packages/generators/.npmignore @@ -0,0 +1 @@ +*.test.* diff --git a/packages/migrate/.npmignore b/packages/migrate/.npmignore new file mode 100644 index 00000000000..88e05e2bd29 --- /dev/null +++ b/packages/migrate/.npmignore @@ -0,0 +1,6 @@ +__snapshots__ +__testfixtures__ +*.test.* +**/__snapshots__ +**/__testfixtures__ +**/*.test.* diff --git a/packages/utils/.npmignore b/packages/utils/.npmignore new file mode 100644 index 00000000000..1466463b66c --- /dev/null +++ b/packages/utils/.npmignore @@ -0,0 +1,4 @@ +__snapshots__ +__testfixtures__ +*.test.* +defineTest.* diff --git a/packages/webpack-scaffold/.npmignore b/packages/webpack-scaffold/.npmignore new file mode 100644 index 00000000000..c912533dd7d --- /dev/null +++ b/packages/webpack-scaffold/.npmignore @@ -0,0 +1 @@ +__tests__