JSPM

  • Created
  • Published
  • Downloads 9
  • Score
    100M100P100Q63242F
  • License MIT

A Frontend QA Toolkit Includes code style/spec/quality/unit test/commitlint/git hooks

Package Exports

    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 (@devpack/qakit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    A Frontend QA Toolkit

    Includes:

    • code style - Prettier
    • code specs & quality - ESLint
    • commit message specs - commitlint
    • unit test - jest
    • git workflow hooks - husky

    Install

    // global install, work with cli
    npm install -g @devpack/qakit
    // local install, work with api or cli
    npm install @devpack/qakit

    Usage

    // for global
    devpack-qa --help
    // for local
    npx devpack-qa --help

    Development

    // first, intall dependencies with yarn
    yarn
    // then cd '../devpack-qakit-app' to test