Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

🛠️ A flexible and extensible command line tool for OpenTiny and frontend.

License

NotificationsYou must be signed in to change notification settings

wjiangwang/tiny-cli

 
 

Repository files navigation

English |简体中文

Tiny CLI is a powerful front-end engineering command line tool.

Tiny CLI Website

Installation

Open git bash, zsh, and other command-line tools, type the following command, and press Enter:

npm i @opentiny/cli npminstall@3 -g

Wait for a while. After the installation is complete, run$tiny -v on the terminal. If the version information is displayed, the installation is successful.

Note: tiny-cli depends on the nodejs (12.x or later) and npm environments. Before installing Tiny CLI, ensure that nodejs and npm have been installed on the local host.

Docs

Usage

You can enter$tiny -h on the terminal to view the Tiny Help.

 tinyhelp info:  $ tiny [command] [options]    $  tiny                     Thehelp information is displayed. If a toolkit is usedin the directory, thehelp information of the toolkit is also displayed.    $  tiny init [toolkitName]  Initialization Kit    $  tiny update [name]       Update module    $  tiny list [type]         Plug-in list    $  tiny i                   Installing the NPM Module    $  tiny clear               Clear thelocal cache of Tiny.    $  tinyhelp                Displays suitehelp information.    $  tiny [name]              Other Invoking Plug-in Commands   Options:     -h, --help                Displayshelp information.     -v, --version             Show Tiny Version  Hint:Toolkits - To viewhelp information about toolkits usedin your project, execute thiscommandin the project root directory.Plugins - To view thehelp information about the plugin, run the tiny [name]help command,for example, tiny git help.

Quick start

The@opentiny/tiny-toolkit-dev toolkit is used as an example to describe the development process.

  1. Initializing a project

    # Create and enter the project folder$ mkdir my-project&&cd$_# Initializing the Dev Development Environment$ tiny init dev
  2. Enable the local environment.

    # Enabling the Dev Development Environment$ tiny start
  3. Compile and package the project.

    $ tiny build

ChangeLog

CHANGELOG.md

Support

If problems occur during development and use, create issues in the code repository.

Development Document

Prerequisites

  • Ensure that lerna has been installed:npm install --global lerna
  • Ensure that the node version is v12.x or later.

Local Development and Debugging Commands

Initialize:npm run initDevelopment:npm run devBuild:npm run buildVerify:npm run link

Build Process

Run thenpm run build command in the root directory. The lib and dist directories are packed.

Participating in contributions

If you are interested in our open source project, please join us!

Please read [Contribution Guide] (CONTRIBUTING.md) before participating in a contribution.

  • Add the official assistant WeChatopentiny-official and join the technical exchange group.
  • Join the mailing listopentiny@googlegroups.com

Contributors ✨

Thanks goes to these wonderful people (emoji key):

fengyon
fengyon

📖
qihe
qihe

📖

License

MIT

About

🛠️ A flexible and extensible command line tool for OpenTiny and frontend.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript61.8%
  • Vue18.5%
  • HTML8.6%
  • SCSS6.0%
  • JavaScript2.1%
  • CSS1.9%
  • Other1.1%

[8]ページ先頭

©2009-2025 Movatter.jp