chore: add build-preview task for local build testing (#1539)

This commit is contained in:
Shawn Erquhart
2018-07-28 17:26:47 -04:00
committed by GitHub
parent 892c51ce86
commit 75a32f528b
3 changed files with 13 additions and 1 deletions

View File

@ -8,7 +8,8 @@
"main": "dist/netlify-cms.js",
"scripts": {
"watch": "webpack-dev-server --hot --open",
"build": "cross-env NODE_ENV=production webpack"
"build": "cross-env NODE_ENV=production webpack",
"build-preview": "cross-env NODE_ENV=production webpack-dev-server --open"
},
"keywords": [
"netlify",