From 89d36b0bf42bab3d0ba5d1258df5d294f7b4738a Mon Sep 17 00:00:00 2001 From: Alberto Date: Thu, 8 Jun 2017 10:56:03 +0100 Subject: [PATCH] version 10.1.0 --- package.json | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 1f40354..cb34733 100644 --- a/package.json +++ b/package.json @@ -4,13 +4,20 @@ "description": "Example Reach applicaiton using ag-Grid.", "main": "dist/ag-grid-react-example.js", "scripts": { - "full-width": "webpack-dev-server --config webpack.config.full-width.js --progress --colors --hot --inline", - "standard": "webpack-dev-server --config webpack.config.standard.js --progress --colors --hot --inline", - "grouped": "webpack-dev-server --config webpack.config.grouped.js --progress --colors --hot --inline", "trader": "webpack-dev-server --content-base src-trader-dashboard/ --config webpack.config.trader.js --progress --colors --hot --inline", + "examples": "webpack-dev-server --content-base src/ --config webpack.config.examples.js --progress --colors --hot --inline", "large": "webpack-dev-server --config webpack.config.large.js --progress --colors --hot --inline", "clean": "rimraf dist", - "build-standard": "npm run clean && webpack --config webpack.config.standard.js --progress --profile --bail" + "mkdirs": "mkdirp dist/trader/dist dist/examples/dist", + "copy-examples": "ncp images dist/examples/images && ncp src/index.html dist/examples/index.html && ncp dist/react-examples.js dist/examples/dist/react-examples.js && ncp src dist/examples/src", + "copy-trader": "ncp src-trader-dashboard/index.html dist/trader/index.html && ncp dist/react-trader.js dist/trader/dist/react-trader.js", + "copy": "npm run copy-examples && npm run copy-trader", + "build-examples": "webpack --config webpack.config.examples.js --progress --profile --bail", + "build-dashboard": "webpack --config webpack.config.trader.js --progress --profile --bail", + "build-all": "npm run build-examples && npm run build-dashboard", + "build": "npm run clean && npm run mkdirs && npm run build-all && npm run copy", + "copy-to-docs": "ncp dist/examples ../ag-grid-docs/src/react-examples/examples && ncp dist/trader ../ag-grid-docs/src/react-examples/trader", + "build-to-docs": "npm run build && npm run copy-to-docs" }, "repository": { "type": "git",