diff --git a/README.md b/README.md index 25a73874d3c916f9c784444a1894c3994c52412a..c2eb0a0a3e21c6000cdaa1474e3a54e730584ef8 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 552b314e2012b59eccdde4930d36c3ab31236834..04794798255ea190626f77e327e6c1ea3c10923e 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 39f903f80a6b9b24c34e566a43cc7925f198b566..560d782e50508d6c52ce4f1edfc050a245713833 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';