diff --git a/package.json b/package.json index 59d6c1c..831f120 100644 --- a/package.json +++ b/package.json @@ -6,6 +6,7 @@ "dependencies": { "antd": "^2.7.3", "classnames": "^2.2.5", + "draftjs-to-markdown": "^0.4.0", "dva": "^1.1.0", "dva-loading": "^0.2.0", "js-cookie": "^2.1.3", @@ -14,6 +15,8 @@ "react": "^15.4.1", "react-countup": "1.3.0", "react-dom": "^15.4.1", + "react-draft-wysiwyg": "^1.8.1", + "react-helmet": "^5.0.0", "recharts": "^0.19.0" }, "devDependencies": { @@ -30,6 +33,7 @@ "dora-plugin-proxy": "^0.8.5", "dora-plugin-webpack": "^0.8.1", "dora-plugin-webpack-hmr": "^0.2.1", + "draftjs-to-html": "^0.7.0", "eslint": "^3.17.1", "eslint-config-airbnb": "^9.0.1", "eslint-plugin-import": "^1.16.0", @@ -42,6 +46,9 @@ "robe-ajax": "^1.0.0", "watchjs": "^0.0.0" }, + "pre-commit": [ + "lint" + ], "scripts": { "start": "dora --plugins \"proxy,webpack?publicPath=/,webpack-hmr,browser-history?index=/src/index.html\"", "dev": "dora --plugins \"webpack?publicPath=/,webpack-hmr,browser-history?index=/src/index.html\"", diff --git a/src/_index.html b/src/_index.html index 92370ca..e84c9f8 100644 --- a/src/_index.html +++ b/src/_index.html @@ -5,9 +5,7 @@ - Ant Design Admin -