From 17b5d6669b53876c8b9e6875ad73abf809666f56 Mon Sep 17 00:00:00 2001 From: pbca26 Date: Tue, 11 Apr 2017 18:52:38 +0300 Subject: [PATCH] updated gitignore and package.json --- react/.gitignore | 1 + react/package.json | 1 + 2 files changed, 2 insertions(+) diff --git a/react/.gitignore b/react/.gitignore index e1fa3bd..2e3a5b5 100644 --- a/react/.gitignore +++ b/react/.gitignore @@ -3,3 +3,4 @@ npm-debug.log .DS_Store www/bundle.js examples +build \ No newline at end of file diff --git a/react/package.json b/react/package.json index 7eba962..ebf1e26 100644 --- a/react/package.json +++ b/react/package.json @@ -6,6 +6,7 @@ "scripts": { "start": "webpack-dashboard -t 'EDEX-ReactJS' -- webpack-dev-server --colors --no-info", "build": "rm -rf ./build && NODE_ENV=\"production\" webpack", + "build_dist": " webpack -p --config ./webpack.config.js", "lint-break-on-errors": "eslint ./src ./webpack.config.js -f table --ext .js --ext .jsx", "lint": "eslint ./src ./webpack.config.js -f table --ext .js --ext .jsx || true", "preview": "NODE_ENV=\"production\" ./node_modules/webpack-dashboard/bin/webpack-dashboard.js -t 'Preview Mode - EDEX' -- ./node_modules/webpack-dev-server/bin/webpack-dev-server.js",