chore: only run netlify-cms for development (#1557)

This commit is contained in:
Shawn Erquhart 2018-07-30 18:59:12 -04:00 committed by GitHub
parent 927ad28264
commit 0692ad0e98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 3 deletions

View File

@ -1,8 +1,9 @@
{
"scripts": {
"bootstrap": "yarn && lerna bootstrap",
"start": "npm run bootstrap && npm run watch",
"start": "npm run bootstrap && npm run develop",
"watch": "lerna run watch --parallel",
"develop": "lerna run develop --parallel",
"build": "npm run clean && lerna run build",
"build-preview": "npm run build && lerna run build-preview",
"clean": "rimraf packages/*/dist",

View File

@ -7,9 +7,10 @@
"bugs": "https://github.com/netlify/netlify-cms/issues",
"main": "dist/netlify-cms.js",
"scripts": {
"watch": "webpack-dev-server --hot --open",
"watch": "webpack -w",
"build": "cross-env NODE_ENV=production webpack",
"build-preview": "cross-env NODE_ENV=production webpack-dev-server --open"
"build-preview": "cross-env NODE_ENV=production webpack-dev-server --open",
"develop": "webpack-dev-server --hot --open"
},
"keywords": [
"netlify",