use webpack for all builds
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
"name": "netlify-cms-core",
|
||||
"description": "Netlify CMS lets content editors work on structured content stored in git",
|
||||
"version": "2.0.0-alpha.0",
|
||||
"main": "dist/cms.js",
|
||||
"main": "dist/netlify-cms-core.js",
|
||||
"lint-staged": {
|
||||
"*.js": [
|
||||
"eslint --fix",
|
||||
@ -15,8 +15,8 @@
|
||||
"dist/"
|
||||
],
|
||||
"scripts": {
|
||||
"watch": "cross-env NETLIFY_CMS_VERSION=$npm_package_version parcel example/index.html --no-cache --open",
|
||||
"build": "cross-env NETLIFY_CMS_VERSION=$npm_package_version parcel build example/index.html --no-cache "
|
||||
"watch": "cross-env NETLIFY_CMS_VERSION=$npm_package_version webpack-dev-server --hot --open",
|
||||
"build": "cross-env NETLIFY_CMS_VERSION=$npm_package_version webpack"
|
||||
},
|
||||
"keywords": [
|
||||
"netlify",
|
||||
@ -46,10 +46,10 @@
|
||||
"mdast-util-definitions": "^1.2.2",
|
||||
"mdast-util-to-string": "^1.0.4",
|
||||
"moment": "^2.11.2",
|
||||
"netlify-cms-editor-component-image": "file:../netlify-cms-editor-component-image",
|
||||
"netlify-cms-lib-auth": "file:../netlify-cms-lib-auth",
|
||||
"netlify-cms-lib-util": "file:../netlify-cms-lib-util",
|
||||
"netlify-cms-ui-default": "file:../netlify-cms-ui-default",
|
||||
"netlify-cms-editor-component-image": "2.0.0-alpha.0",
|
||||
"netlify-cms-lib-auth": "2.0.0-alpha.0",
|
||||
"netlify-cms-lib-util": "2.0.0-alpha.0",
|
||||
"netlify-cms-ui-default": "2.0.0-alpha.0",
|
||||
"prop-types": "^15.5.10",
|
||||
"react": "^16.4.1",
|
||||
"react-aria-menubutton": "^5.1.0",
|
||||
@ -104,7 +104,11 @@
|
||||
"what-input": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.0.0-beta.54",
|
||||
"babel-loader": "^8.0.0-beta",
|
||||
"cross-env": "^5.2.0",
|
||||
"parcel-bundler": "^1.9.4"
|
||||
"webpack": "^4.16.1",
|
||||
"webpack-cli": "^3.1.0",
|
||||
"webpack-dev-server": "^3.1.4"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user