/One-Piece

想要财宝吗?去吧,我把一切全都放在那里

Primary LanguageJavaScriptMIT LicenseMIT

React study demo

CI

Start

# clone with Git Bash
$ git clone https://github.com/liuxilei/One-Piece.git

# change directory
$ cd One-Piece

# install dependencies
$ npm i

# serve with hot reload at localhost:4399
$ npm run start

# install husky install
npx husky install

# build for production
$ npm run build

# test something
$ npm run test

Git 规范

使用 commitlint 工具,常用有以下几种类型:

  • feat :新功能
  • fix :修复 bug
  • chore :对构建或者辅助工具的更改
  • refactor :既不是修复 bug 也不是添加新功能的代码更改
  • style :不影响代码含义的更改 (例如空格、格式化、少了分号)
  • docs : 只是文档的更改
  • perf :提高性能的代码更改
  • revert :撤回提交
  • test :添加或修正测试

TODOS:

  • 重新搭建项目
  • 添加测试用例
  • 全面转换为 typescript

License

MIT

Copyright(c) 2022 liuxilei