Skip to content
Permalink
Browse files
Fix warning in installing dependencies and building web (#260)
* fix warning in installing dependencies

* fix warning in building web

* ignore build files
  • Loading branch information
chengshiwen committed Jan 13, 2021
1 parent 38c8935 commit ec5675ec6081f786a0270f8d90d4f8a54d3a8319
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
@@ -33,4 +33,10 @@ t.*
yarn.lock
package-lock.json
config.gypi
md_json
/md_json
/404.html
/index.html
/build/
/dist/
/en-us/
/zh-cn/
@@ -9,7 +9,7 @@
"devDependencies": {
"babel-core": "6.23.1",
"babel-eslint": "^6.0.5",
"babel-loader": "6.4.0",
"babel-loader": "7.1.5",
"babel-plugin-transform-class-properties": "^6.24.1",
"babel-plugin-transform-decorators-legacy": "^1.3.4",
"babel-plugin-transform-object-assign": "^6.22.0",
@@ -19,37 +19,34 @@
"babel-preset-react": "6.23.0",
"babel-preset-stage-0": "6.22.0",
"babel-register": "^6.26.0",
"compression-webpack-plugin": "^3.1.0",
"copy-webpack-plugin": "^4.6.0",
"css-loader": "0.6.12",
"docsite-ext": "1.4.1",
"eslint": "^4.18.2",
"eslint-config-ali": "^1.0.0",
"eslint-config-ali": "^3.2.0",
"eslint-plugin-import": "*",
"eslint-plugin-react": "*",
"extract-text-webpack-plugin": "^2.1.2",
"extract-text-webpack-plugin": "^3.0.2",
"gulp": "4.0.2",
"gulp-util": "2.2.20",
"json-loader": "*",
"node-libs-browser": "2.0.0",
"node-sass": "^4.7.2",
"node-sass": "^4.14.1",
"opn": "^5.3.0",
"raw-loader": "^0.5.1",
"react": "16.5.2",
"react-dom": "16.5.2",
"sass-loader": "6.0.2",
"sass-loader": "7.3.1",
"style-loader": "0.6.5",
"webpack": "^2.6.1",
"webpack-dev-server": "3.0.0"
"webpack": "^3.12.0",
"webpack-dev-server": "2.11.5"
},
"dependencies": {
"antd": "^3.25.2",
"classnames": "^2.2.5",
"antd": "^3.26.20",
"classnames": "^2.2.6",
"core-decorators": "^0.20.0",
"js-cookie": "^2.2.0",
"react": "^16.5.2",
"react-dom": "^16.5.2",
"react-scroll": "^1.7.9",
"react": "^16.13.1",
"react-dom": "^16.13.1",
"react-scroll": "^1.8.1",
"react-tilt": "^0.1.4",
"whatwg-fetch": "^2.0.4"
}
@@ -214,6 +214,7 @@ class Header extends React.Component {
<Menu className={type === 'primary'? 'whiteClass': 'blackClass'} onClick={this.handleClick} selectedKeys={[this.state.current]} mode="horizontal" forceSubMenuRender={true}>
{siteConfig[language].pageMenu.map(item => (
item.children ? <SubMenu
key={item.key}
title={
<span className="submenu-title-wrapper">
<a href={getLink(item.link)} target={item.target || '_self'}>{item.text}</a>
@@ -121,7 +121,7 @@ class Home extends Language {
<div>
{
dataSource.users.list.map((user, i) => (
<div className="users">
<div className="users" key={i}>
<img src={getLink(user)} key={i} />
</div>
))

0 comments on commit ec5675e

Please sign in to comment.