Ant Design Landing模版使用教程-react-npm

特此鸣谢:https://github.com/ant-motion/ant-design-3.x-landing-page?tab=readme-ov-file

官网(不好用):https://landing.ant.design/docs/introduce-cn

package.json代码如下

复制代码
{
  "private": true,
  "entry": {
    "index": "./index.js"
  },
  "dependencies": {
    "antd": "^3.0.0",
    "bisheng": "^0.28.2",
    "enquire-js": "^0.1.0",
    "prop-types": "^15.6.0",
    "rc-queue-anim": "^1.4.0",
    "rc-scroll-anim": "^2.2.1",
    "rc-tween-one": "^1.7.0",
    "react": "^16.1.1",
    "react-document-title": "^2.0.3",
    "react-dom": "^16.1.1",
    "react-github-button": "^0.1.11",
    "react-intl": "^2.4.0"
  },
  "devDependencies": {
    "atool-build": "^1.0.2",
    "atool-test-mocha": "^0.1.7",
    "babel-eslint": "^8.0.2",
    "babel-plugin-import": "^1.6.2",
    "babel-plugin-transform-runtime": "^6.23.0",
    "babel-runtime": "^6.26.0",
    "dora": "^0.4.5",
    "dora-plugin-webpack": "^1.0.0",
    "eslint": "^4.11.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-plugin-import": "^2.8.0",
    "eslint-plugin-jsx-a11y": "^6.0.2",
    "eslint-plugin-react": "^7.5.1",
    "expect": "^21.2.1",
    "gh-pages": "^1.1.0",
    "pre-commit": "^1.2.2",
    "redbox-react": "^1.5.0"
  },
  "pre-commit": [
    "lint"
  ],
  "scripts": {
    "build": "atool-build && cp index.html dist",
    "lint": "eslint --ext .js,.jsx src/",
    "eslint-fix": "eslint --fix src/ --ext .js,.jsx",
    "start": "dora --plugins webpack",
    "test": "atool-test-mocha ./**/__tests__/*-test.js",
    "deploy": "rm -rf dist && npm run build && node ./deploy.js"
  }
}
相关推荐
!win !1 小时前
前端跨标签页通信方案(下)
前端·javascript
f***45321 小时前
基于SpringBoot和PostGIS的各省与地级市空间距离分析
android·前端·后端
编码追梦人2 小时前
从 “手忙脚乱“ 到 “行云流水“:华为云 DevUI 与 MateChat 如何让前端开发飞起来
前端·华为云
S***H2832 小时前
前端动画实现经验,性能优化与兼容性
前端
xw53 小时前
前端跨标签页通信方案(下)
前端·javascript
zzlyx993 小时前
IoTSharp前端VUE采用npm run build编译提示require() of ES Module 出错
前端·vue.js·npm
全栈技术负责人4 小时前
拒绝“无法复现”:前端全链路日志排查实战手册
前端·全链路·问题排查思路
加洛斯4 小时前
前端小知识003:JS中 == 与 === 的区别
开发语言·前端·javascript
b***9104 小时前
【SpringBoot3】Spring Boot 3.0 集成 Mybatis Plus
android·前端·后端·mybatis
G***E3164 小时前
前端路由懒加载实现,Vue Router与React Router
前端·vue.js·react.js