From aea99836a6a113a6918a109fbfaf8093b4f5b739 Mon Sep 17 00:00:00 2001 From: afc163 Date: Wed, 30 Aug 2017 16:07:26 +0800 Subject: [PATCH] cleanup deps --- README.md | 13 ++++++++++++- package.json | 10 +++------- src/components/Exception/index.js | 2 +- 3 files changed, 16 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 25a73874..c2eb0a0a 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,14 @@ -# test2 +# XXX [![](https://img.shields.io/travis/ant-design/test2.svg?style=flat-square)](https://travis-ci.org/ant-design/test2) + +## Development + +```bash +$ npm install +$ npm start +``` + +```bash +$ npm run deploy +``` diff --git a/package.json b/package.json index 552b314e..04794798 100755 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "ant-design-admin", + "name": "ant-design-pro", "private": true, "scripts": { "start": "roadhog server", @@ -15,15 +15,12 @@ "g2": "^2.3.8", "g2-plugin-slider": "^1.2.1", "lodash": "^4.17.4", - "marked": "^0.3.6", "numeral": "^2.0.6", "prop-types": "^15.5.10", "qs": "^6.5.0", - "react": "^15.4.0", + "react": "^15.6.1", "react-document-title": "^2.0.3", - "react-dom": "^15.4.0", - "react-redux": "4.x || 5.x", - "react-router": "2.x || 3.x" + "react-dom": "^15.6.1" }, "devDependencies": { "babel-eslint": "^7.1.1", @@ -38,7 +35,6 @@ "eslint-plugin-import": "^2.2.0", "eslint-plugin-jsx-a11y": "^5.0.1", "eslint-plugin-react": "^7.0.1", - "expect": "^1.20.2", "husky": "^0.13.4", "mockjs": "^1.0.1-beta3", "redbox-react": "^1.3.2", diff --git a/src/components/Exception/index.js b/src/components/Exception/index.js index 39f903f8..560d782e 100644 --- a/src/components/Exception/index.js +++ b/src/components/Exception/index.js @@ -1,7 +1,7 @@ import React from 'react'; import classNames from 'classnames'; import { Button } from 'antd'; -import { Link } from 'react-router'; +import { Link } from 'dva/router'; import config from './typeConfig'; import styles from './index.less'; -- GitLab