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"
  }
}
相关推荐
不听话坏5 小时前
Ignition篇(下 一) 动态执行前的事情
开发语言·前端·javascript
likeyi075 小时前
require 和 import的区别
开发语言·前端
pany6 小时前
做 AI 友好的开源 Vue3 模板 🌈
前端·vue.js·ai编程
小二·6 小时前
React 19 + Next.js 15 现代前端开发实战:App Router / Server Components / 流式渲染
前端·javascript·react.js
谙忆10247 小时前
前端图片直传对象存储:OSS/S3 预签名 URL、STS 临时凭证与回调校验
前端
CHNE_TAO_EMSM8 小时前
Android studio 打开文件时自动下载源码
前端·javascript·android studio
一孤程9 小时前
Airtest自动化测试第五篇:小程序与Web测试——跨平台自动化全覆盖
前端·自动化测试·小程序·自动化·测试·airtest
IT_陈寒9 小时前
SpringBoot自动配置不是你以为的那样的智能
前端·人工智能·后端
yume_sibai10 小时前
大屏数据可视化 - 边框红绿呼吸灯实现详解
前端·信息可视化·typescript
Hyyy10 小时前
很多Desktop都在上的Computer Use是什么
前端·llm