diff options
author | Kurkó Mihály <kurkomisi@users.noreply.github.com> | 2018-03-08 16:22:21 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-03-08 16:22:21 +0800 |
commit | 704840a8ad9e75d4a00e734f901cac21c51b7eb5 (patch) | |
tree | e2b012c052986bb40053f09394aefb5c23474a5a /dashboard/assets/package.json | |
parent | 3ec1b9a92dc09ff33f6fae2e8daa7862d4c51bb1 (diff) | |
download | go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.gz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.bz2 go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.lz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.xz go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.zst go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.zip |
cmd, dashboard: use webpack dev server, remove custom assets (#16263)
* cmd, dashboard: remove custom assets, webpack dev server
* dashboard: yarn commands, small fixes
Diffstat (limited to 'dashboard/assets/package.json')
-rw-r--r-- | dashboard/assets/package.json | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/dashboard/assets/package.json b/dashboard/assets/package.json index 847fd4bc1..5ac179b9e 100644 --- a/dashboard/assets/package.json +++ b/dashboard/assets/package.json @@ -15,11 +15,11 @@ "css-loader": "^0.28.9", "eslint": "^4.16.0", "eslint-config-airbnb": "^16.1.0", - "eslint-loader": "^1.9.0", + "eslint-loader": "^2.0.0", + "eslint-plugin-flowtype": "^2.41.0", "eslint-plugin-import": "^2.8.0", "eslint-plugin-jsx-a11y": "^6.0.3", "eslint-plugin-react": "^7.5.1", - "eslint-plugin-flowtype": "^2.41.0", "file-loader": "^1.1.6", "flow-bin": "^0.63.1", "flow-bin-loader": "^1.0.2", @@ -35,6 +35,13 @@ "style-loader": "^0.19.1", "url": "^0.11.0", "url-loader": "^0.6.2", - "webpack": "^3.10.0" + "webpack": "^3.10.0", + "webpack-dev-server": "^2.11.1" + }, + "scripts": { + "build": "NODE_ENV=production webpack", + "stats": "webpack --profile --json > stats.json", + "dev": "webpack-dev-server --port 8081", + "flow": "flow-typed install" } } |