From 1ab70e2668837872e8db2a0ebfd996bcd5edcc11 Mon Sep 17 00:00:00 2001 From: mac Date: Mon, 30 Apr 2018 19:53:51 -0700 Subject: [PATCH] updated npm config to include index.d.ts --- .npmignore | 1 + package.json | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.npmignore b/.npmignore index cda2308..1cab9b4 100644 --- a/.npmignore +++ b/.npmignore @@ -10,6 +10,7 @@ npm-debug.log /doc /docker /entrypoints +/node_modules /src /test /webpack diff --git a/package.json b/package.json index 708590b..f620b83 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,8 @@ "name": "react-json-view", "description": "Interactive react component for displaying javascript arrays and JSON objects.", - "version": "1.16.3", + "version": "1.16.5", "main": "dist/main.js", - "files": ["dist/"], "dependencies": { "flux": "^3.1.3", "react-base16-styling": "^0.5.3", @@ -55,7 +54,6 @@ "build": "webpack --config webpack/webpack.config.js -p --display-error-details --progress --optimize-minimize", "prebuild": "npm run test:unit", - "postbuild": "cp -a README.md LICENSE index.d.ts ./dist/", "build:demo": "webpack --config webpack/webpack.config-demo.js -p --display-error-details --progress --optimize-minimize", "dev": "webpack-dev-server --config webpack/webpack.config-dev.js --open",