Skip to content

Commit

Permalink
added post-build script to copy relevant files to dist
Browse files Browse the repository at this point in the history
  • Loading branch information
mac-s-g committed Apr 30, 2018
1 parent effc7b8 commit a22907c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "react-json-view",
"description":
"Interactive react component for displaying javascript arrays and JSON objects.",
"version": "1.16.2",
"version": "1.16.3",
"main": "dist/main.js",
"files": ["dist/"],
"dependencies": {
Expand Down Expand Up @@ -55,6 +55,7 @@
"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",
Expand Down

0 comments on commit a22907c

Please sign in to comment.