Browse Source

cleanup deps

afc163 8 years ago
parent
commit
aea99836a6
3 changed files with 16 additions and 9 deletions
  1. 12 1
      README.md
  2. 3 7
      package.json
  3. 1 1
      src/components/Exception/index.js

+ 12 - 1
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
+```

+ 3 - 7
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",

+ 1 - 1
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';