diff --git a/.npmignore b/.npmignore deleted file mode 100644 index 258b53f654..0000000000 --- a/.npmignore +++ /dev/null @@ -1,15 +0,0 @@ -# files -reports/ -resolvers/ - -# config -.eslintrc.yml -.travis.yml -appveyor.yml -.coveralls.yml -.editorconfig -.gitignore - -# project stuff -*.sublime-* -tests/ diff --git a/CHANGELOG.md b/CHANGELOG.md index a44ff9b8cd..99fe748b45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/). This change log adheres to standards from [Keep a CHANGELOG](http://keepachangelog.com). ## [Unreleased] +### Changed +- using `package.json/files` instead of `.npmignore` for package file inclusion ([#228], thanks [@mathieudutour]) ## [1.3.0] - 2016-03-20 Major perf improvements. Between parsing only once and ignoring gigantic, non-module `node_modules`, @@ -120,6 +122,7 @@ for info on changes for earlier releases. [`no-amd`]: ./docs/rules/no-amd.md [`namespace`]: ./docs/rules/namespace.md +[#228]: https://github.com/benmosher/eslint-plugin-import/pull/228 [#211]: https://github.com/benmosher/eslint-plugin-import/pull/211 [#157]: https://github.com/benmosher/eslint-plugin-import/pull/157 @@ -149,3 +152,5 @@ for info on changes for earlier releases. [0.12.1]: https://github.com/benmosher/eslint-plugin-import/compare/v0.12.0...v0.12.1 [0.12.0]: https://github.com/benmosher/eslint-plugin-import/compare/v0.11.0...v0.12.0 [0.11.0]: https://github.com/benmosher/eslint-plugin-import/compare/v0.10.1...v0.11.0 + +[@mathieudutour]: https://github.com/mathieudutour diff --git a/package.json b/package.json index 86448e2dd2..4fafc60551 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,11 @@ "directories": { "test": "tests" }, + "files": [ + "lib", + "config", + "memo-parser" + ], "scripts": { "watch": "cross-env NODE_PATH=./lib gulp watch-test", "cover": "gulp pretest && cross-env NODE_PATH=./lib istanbul cover --dir reports/coverage _mocha tests/lib/ -- --recursive -R progress",