aboutsummaryrefslogtreecommitdiff
path: root/vnext/package.json
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-03-02 12:01:38 +0300
committerGravatar Vitaly Takmazov2023-01-13 10:37:52 +0300
commitf41a90e6a3fd3f3a9b73ac74950f25ebd8252e9c (patch)
tree390e9d766fb1caaeee0a1351a3884b8f1b005544 /vnext/package.json
parenta92b5cc6e633825c9addf8383152b9d877bfe4db (diff)
cleanup webpack and webpack-dev-server configs
Diffstat (limited to 'vnext/package.json')
-rw-r--r--vnext/package.json7
1 files changed, 4 insertions, 3 deletions
diff --git a/vnext/package.json b/vnext/package.json
index d3b30ff5..0c74982f 100644
--- a/vnext/package.json
+++ b/vnext/package.json
@@ -2,18 +2,19 @@
"name": "juick",
"version": "1.0.0",
"description": "",
- "main": "server.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
- "compile": "webpack --colors -p"
+ "compile": "webpack --mode=development",
+ "dist": "webpack --mode=production",
+ "start": "webpack-dev-server --inline --hot"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
- "babel-preset-env": "^1.6.1",
"babel-core": "^6.26.0",
"babel-loader": "^7.1.3",
+ "babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"css-loader": "^0.28.10",
"file-loader": "^1.1.11",