chore: only run netlify-cms for development (#1557)
This commit is contained in:
parent
927ad28264
commit
0692ad0e98
@ -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",
|
||||
|
@ -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",
|
||||
|
Loading…
x
Reference in New Issue
Block a user