JSPM

  • Created
  • Published
  • Downloads 13
  • Score
    100M100P100Q106974F

业务工具库,提供通用的能力

Package Exports

  • onex-utils

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (onex-utils) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

onex-utils · npm version GitHub license codeCov Travis (.org) npm

沉淀业务开发过程中编写的一些业务函数和实现上采用的一些方案,避免业务开发过程中多仓库之间的代码的复制粘贴,将业务开发过程中将一些能力沉淀的此仓库中进行长期维护和迭代

1. 模板说明

需要在vscode中安装eslint、stylelint 两个插件做代码格式校验

2. 模板命令

  • npm run start 项目启动命令
  • npm run build 项目构建命令
  • npm run commit 统一使用这个命令提交代码
  • npm run lint 对css样式表和ts代码格式进行校验,如果对规则存在问题,请联系项目开发者提交

3. 通用能力