@tzui/cli
TypeScript icon, indicating that this package has built-in type declarations

3.11.14 • Public • Published

Tzui Cli

Tzui Cli is a Vue component building tool. Through Tzui Cli you can easily create a set of fully featured Vue components。

Advantage

  • Provide a big set of commands, covering the complete process from development and testing to build and release
  • Best practice code structures and docs generation
  • in-built ESlint、Stylelint code check
  • Component library supports on-demand introduction by default、theming、Tree Shaking

Quick Start

Create a project using Tzui Cli

yarn create tzui-cli-app

install manually

# npm
npm i @tzui/cli -D

#  yarn
yarn add @tzui/cli --dev

after install, please add the following content to package.json file

{
  "scripts": {
    "dev": "tzui-cli dev",
    "test": "tzui-cli test",
    "lint": "tzui-cli lint",
    "build": "tzui-cli build",
    "prepare": "husky install",
    "release": "tzui-cli release",
    "build-site": "tzui-cli build-site"
  },
  "lint-staged": {
    "*.md": "prettier --write",
    "*.{ts,tsx,js,vue,less,scss}": "prettier --write",
    "*.{ts,tsx,js,vue}": "eslint --fix",
    "*.{vue,css,less,scss}": "stylelint --fix"
  },
  "eslintConfig": {
    "root": true,
    "extends": ["@tzui"]
  },
  "stylelint": {
    "extends": ["@tzui/stylelint-config"]
  },
  "prettier": {
    "singleQuote": true
  },
  "browserslist": ["Chrome >= 51", "iOS >= 10"]
}

/@tzui/cli/

    Package Sidebar

    Install

    npm i @tzui/cli

    Weekly Downloads

    1

    Version

    3.11.14

    License

    MIT

    Unpacked Size

    156 kB

    Total Files

    130

    Last publish

    Collaborators

    • tzui