aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/assets/package.json
diff options
context:
space:
mode:
authorKurkó Mihály <kurkomisi@users.noreply.github.com>2018-07-16 15:43:58 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-07-16 15:43:58 +0800
commiteb7f901289dce3f9fe3341da8c0b938ea839f79d (patch)
tree6bf2fe8ca9fe4904ac8f0c29fea5e9e545219798 /dashboard/assets/package.json
parentdb5e403afedffb435f001e071ac2a39ccc3e6480 (diff)
downloaddexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar.gz
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar.bz2
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar.lz
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar.xz
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.tar.zst
dexon-eb7f901289dce3f9fe3341da8c0b938ea839f79d.zip
dashboard: fix CSS, escape special HTML chars, clean up code (#17167)
* dashboard: fix CSS, escape special HTML chars, clean up code * dashboard: change 0 to 1 * dashboard: add escape-html npm package
Diffstat (limited to 'dashboard/assets/package.json')
-rw-r--r--dashboard/assets/package.json5
1 files changed, 3 insertions, 2 deletions
diff --git a/dashboard/assets/package.json b/dashboard/assets/package.json
index 5ac179b9e..fb1a68e5b 100644
--- a/dashboard/assets/package.json
+++ b/dashboard/assets/package.json
@@ -13,6 +13,7 @@
"babel-runtime": "^6.26.0",
"classnames": "^2.2.5",
"css-loader": "^0.28.9",
+ "escape-html": "^1.0.3",
"eslint": "^4.16.0",
"eslint-config-airbnb": "^16.1.0",
"eslint-loader": "^2.0.0",
@@ -41,7 +42,7 @@
"scripts": {
"build": "NODE_ENV=production webpack",
"stats": "webpack --profile --json > stats.json",
- "dev": "webpack-dev-server --port 8081",
- "flow": "flow-typed install"
+ "dev": "webpack-dev-server --port 8081",
+ "flow": "flow-typed install"
}
}