Giter VIP home page Giter VIP logo

broccoli-homepage's Introduction

Broccoli-homepage

在线地址

click here

目录结构

├── .github                 github的actions自动部署脚本
├── .vscode                 vscode的个人偏好配置
├── coverage                单元测试的覆盖率结果
├── dist                    项目构建文件
├── node_modules
├── public
│
├── src
│   ├── api		            后台请求
│   ├── assets		        资源文件
│   ├── components		    公共组件
│   ├── config		        公共配置
│   ├── pages			    页面源码
│   ├── styles		        公共样式
│   ├── types		        ts声明文件
│   ├── utils		        工具库
│   ├── App.tsx		        
│   └── index.tsx	
│		    
├── tests                   单元测试用例和配置
│
├── webpack
│   ├── webpack.base.js	    webpack配置文件-公共部分
│   ├── webpack.dev.js		webpack配置文件-开发环境
│   └── webpack.prod.js		webpack配置文件-生产环境
│
├── .eslintignore           eslint忽略文件
├── .eslintrc.js            eslint配置文件
├── .gitignore              git忽略文件
├── .prettierrc             prettier配置文件
├── babel.config.js         babel配置文件
├── jest.config.js          jest配置文件
├── postcss.config.js       postcss配置文件
├── tsconfig.json           typescript配置文件
├── package.json
├── yarn.lock
└── README.md

项目启动

yarn

Install the dependency. Node expected version "^12.22.0 || ^14.17.0 || >=16.0.0".
If you don't want change node version now, you can also use yarn --ignore-engines to install dependency with ignore the error.

yarn start

Run the app in the development mode.
Open http://localhost:8081 to view it in the browser.

yarn build

Builds the app for production to the dist folder.

yarn test

Excute the test file with jest.

yarn test-coverage

Excute the test file with jest, and also generate the coverage info, you can open coverage/lcov-report/index.html in the browser.

yarn lint

Find the problems in your code.

yarn lint-fix

Find and auto fix the problems in your code.

broccoli-homepage's People

Contributors

lishuxue avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.