This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

awanbao-cli

0.9.3 • Public • Published

awanbao-cli

Awanbao-cli is a project construction scaffold, which provides four sets of project development environments, including PC (elemenetui), mobile terminal (vantui), uniapp (uniui) and templates without UI component library. Moreover, it can set the basic environment (including webpack and vite) in a one-stop manner, and can adapt to the micro front-end (qiankun) without more operations.

Installation

npm i -g awanbao-cli

or

npm i -g awanbao-cli --registry https://registry.npmjs.org/

Usage

Usage: awanbao-cli <command> [options]

Options:
  -V, --version                  output the version number
  -r, --registry <url>           registration source (default: "https://registry.npmjs.org/")
  -f, --force                    force overwrite of existing directory (if any)
  -d, --debug                    program debugging, internal prompt
  -c, --config <profile>         use custom template profile
  -l, --language <languageName>  use language type
  -p, --langpack <url>           use custom language pack
  -n, --ignore <url>             use the ignore step list
  -h, --help                     output usage information

Commands:
  init <projectName>             create a new project
  init-pc <projectName>          create a new PC project
  init-mobile <projectName>      create a new mobile project
  init-uniapp <projectName>      create a new uniapp project
  init-noui <projectName>        create a new no ui project
  help [cmd]                     display help for [cmd]

Release Notes

Latest version: npm version

Example

Manually set and optional vue2, vue3 build

awanbao-cli init <project name> 

or

awanbao-cli init <project name> -r https://registry.npmjs.org/

Automatically set up and build the specified environment

awanbao-cli init-pc <project name>

or

awanbao-cli init-mobile <project name>

or

awanbao-cli init-noui <project name>

or

awanbao-cli init-uniapp <project name>

Basic environment

Vue2
    Vue2 + Javascript + Webpack
    Vue2 + Javascript + Vite
    Vue2 + Typescript + Webpack
    Vue2 + Typescript + Vite

Vue3
    Vue3 + Javascript + Webpack
    Vue3 + Javascript + Vite
    Vue3 + Typescript + Webpack
    Vue3 + Typescript + Vite

Uniapp
    Vue2
        Vue2 + Javascript + Webpack
        Vue2 + Typescript + Webpack
    Vue3
        Vue3 + Javascript + Webpack
        Vue3 + Javascript + Vite
        Vue3 + Typescript + Webpack
        Vue3 + Typescript + Vite

Interface

√ Node version: v16.14.2
? Language ? english

AWANBAO-CLI
Version: 0.0.0
Current source: https://registry.npmjs.org/
Current profile: awanbao-cli.template.config.json
Debug: false

Start creating myapp project...
1) Set project configuration(Manual).
? project name myapp
? project version 1.0.0
? project description A project named myapp
? project author awanbao
? technology stack of the project(Single choice) vue2
? project type(Single choice, default[No UI]) No UI
√ ok.

2) Create project myapp directory.
√ ok.

3) Pull the remote data and Build...
√ Downloading No UI project template...
√ Update package.json complete.
√ Perform the installation dependency process...
? Install UI component library? cancel
√ The project template is completed.

4) Finally, execute the following command.
cd myapp
npm run <script>

Package Sidebar

Install

npm i awanbao-cli

Weekly Downloads

5

Version

0.9.3

License

ISC

Unpacked Size

6.79 MB

Total Files

422

Last publish

Collaborators

  • ereddate