| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
English | 简体中文
San CLI takes into account the San ecosystem while trying to achieve universal configuration. At the beginning of the design phase, we aimed to be not limited to the San application scope, but to make a general and customizable front-end development tooling.
San CLI requires Node.js version 12.13.0 or above (12.13.0+ recommended).
# use npm
npm install -g san-cli
# or use yarn
yarn global add san-cliIf you want to use San CLI only in the project, you can add it to the devDependencies of the project package.json and then use npm-scripts.
After installation, you can view the help information with the following command:
san -hFor more information, visit https://ecomfe.github.io/san-cli.
San CLI uses Yarn Workspaces for local development.
First clone the project to your computer, then install dependencies:
# install dependencies
yarnFor design details, please read architecture.
# test all
yarn test
# or test one specific package
yarn test [packageName]
# such as
yarn test san-cliThe debug module is used in the San CLI, so if you need to debug or see some information you can use the DEBUG variable. In San CLI, the scope of debug is san-cli:, and common variables include:
For detailed documentation, please check the San CLI docs.
MIT
| Back | FazBrowse Home | New Git URL |