From ba295d8d45a4c495628d72069826f0485f9ed52d Mon Sep 17 00:00:00 2001 From: Jesse Renee Beach Date: Wed, 11 Jan 2017 19:05:15 -0800 Subject: [PATCH] Only include built files in the NPM published package. --- .npmignore | 2 -- package.json | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.npmignore b/.npmignore index 34a5070..2649516 100644 --- a/.npmignore +++ b/.npmignore @@ -1,6 +1,4 @@ node_modules reports -npm-debug.log coverage .gitignore -.DS_Store diff --git a/package.json b/package.json index 178c050..b63676f 100644 --- a/package.json +++ b/package.json @@ -3,6 +3,9 @@ "version": "1.3.5", "description": "AST utility module for statically analyzing JSX", "main": "lib/index.js", + "files": [ + "lib" + ], "scripts": { "build": "rimraf lib && babel src --out-dir lib", "prepublish": "npm run lint && npm run test && npm run build",