From 7588e4b4a1bbb765f44ead68a83672e2857d72d3 Mon Sep 17 00:00:00 2001 From: Simen Bekkhus Date: Sun, 15 Nov 2015 13:58:57 +0100 Subject: [PATCH] Use files in package.json Fixes #1033 --- .npmignore | 14 -------------- package.json | 5 +++++ 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 .npmignore diff --git a/.npmignore b/.npmignore deleted file mode 100644 index ce6f49a0ce..0000000000 --- a/.npmignore +++ /dev/null @@ -1,14 +0,0 @@ -*.log -/.*/ -/_book/ -/coverage/ -/docs/ -/examples/ -/test/ -/.eslint* -/.flowconfig -/.gitignore -/.npmignore -/.travis.yml -/book.json -/webpack.* diff --git a/package.json b/package.json index b547676ad0..552a876290 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,11 @@ "description": "Predictable state container for JavaScript apps", "main": "lib/index.js", "jsnext:main": "src/index.js", + "files": [ + "dist", + "lib", + "src" + ], "scripts": { "clean": "rimraf lib dist coverage", "lint": "eslint src test examples",