From 79d00d0f2a834159d49e2cb2c444798460e302be Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 27 Sep 2016 14:46:51 -0400 Subject: [PATCH 1/2] Change dist filenames to `html-react-parser` (npm build tasks) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 2853bdc7..7e7179b4 100644 --- a/package.json +++ b/package.json @@ -5,8 +5,8 @@ "author": "Mark ", "main": "index.js", "scripts": { - "build": "NODE_ENV=development webpack index.js dist/html-to-react.js", - "build-min": "NODE_ENV=production webpack -p index.js dist/html-to-react.min.js", + "build": "NODE_ENV=development webpack index.js dist/html-react-parser.js", + "build-min": "NODE_ENV=production webpack -p index.js dist/html-react-parser.min.js", "prepublish": "npm run build && npm run build-min", "test": "mocha", "lint": "eslint index.js \"lib/**\" \"test/**\"", From 6747cd4e980b4eb145a8071b58af7cf5c08f55be Mon Sep 17 00:00:00 2001 From: Mark Date: Tue, 27 Sep 2016 14:52:10 -0400 Subject: [PATCH 2/2] Add `webpack.config.js` to `.npmignore` --- .npmignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.npmignore b/.npmignore index 22a84ced..686ae86b 100644 --- a/.npmignore +++ b/.npmignore @@ -1,5 +1,6 @@ test coverage +webpack.config.js .eslint* .travis* .npmignore