mirror of
https://github.com/ianstormtaylor/slate.git
synced 2025-09-09 06:30:40 +02:00
update webpack building
This commit is contained in:
@@ -16,7 +16,6 @@
|
||||
"babel-preset-stage-0": "^6.24.1",
|
||||
"babel-runtime": "^6.26.0",
|
||||
"chalk": "^1.1.3",
|
||||
"clean-webpack-plugin": "^0.1.18",
|
||||
"copy-webpack-plugin": "^4.4.1",
|
||||
"cross-env": "^5.1.3",
|
||||
"css-loader": "^0.28.9",
|
||||
@@ -73,7 +72,6 @@
|
||||
"style-loader": "^0.20.2",
|
||||
"to-camel-case": "^1.0.0",
|
||||
"to-title-case": "^1.0.0",
|
||||
"uglifyjs-webpack-plugin": "^1.1.8",
|
||||
"webpack": "^3.11.0",
|
||||
"webpack-dev-server": "^2.11.1",
|
||||
"yaml-js": "^0.2.0"
|
||||
@@ -91,8 +89,8 @@
|
||||
"bootstrap": "lerna bootstrap && yarn build",
|
||||
"build": "rollup --config ./support/rollup/config.js",
|
||||
"build:gh-pages": "cross-env NODE_ENV=production rollup --config ./support/rollup/config.js && cross-env NODE_ENV=production webpack --config support/webpack/config.js",
|
||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./examples/dist",
|
||||
"gh-pages": "yarn build:gh-pages && gh-pages --dist ./examples/dist",
|
||||
"clean": "lerna run clean && rm -rf ./node_modules ./dist ./build",
|
||||
"gh-pages": "rm -rf ./build && yarn build:gh-pages && gh-pages --dist ./build",
|
||||
"lint": "eslint packages/*/src packages/*/test examples/*/*.js examples/dev/*/*.js && prettier --list-different '**/*.{js,jsx,md,json,css}'",
|
||||
"open": "open http://localhost:8080",
|
||||
"prettier": "prettier --write '**/*.{js,jsx,md,json,css}'",
|
||||
|
Reference in New Issue
Block a user