Git Product home page Git Product logo

laor-cli's Introduction

CLI 脚手架

laoriy Cli 脚手架工具

| -- cli 脚手架工具
| -- cli-service 打包工具
| -- templates 模板,供@laoriy/cli创建项目使用

@laoriy/cli

脚手架工具

使用

// 全局安装
npm i @laoriy/cli -g
// cd 对应开发目录 projectName是自定义项目名称
laoriy create <projectName>

查看更多

@laoriy/cli-service

打包工具

使用

// 注意,这里只是介绍说明,实际已在模板中自动添加了打包工具,无需手动添加

// install
npm i @laoriy/cli-service -D

// 启动本地开发服务
laor-cli-service dev
// 打包生成非压缩文件
laor-cli-service build:dev
// 打包生成压缩文件
laor-cli-service build:prod
// copy src目录源文件
laor-cli-service build:src
// 发布打包,实际是各个打包命令的集合
laor-cli-service build

查看更多

templates/lib

工具库开发模板

使用

// 全局安装
npm i @laoriy/cli -g
// cd 对应开发目录 projectName是自定义项目名称
laoriy create <projectName>
// 供@laoriy/cli脚手架 create 项目的时候进行模板选择
? Please choose project template (Use arrow keys)
> lib

查看更多

templates/vue-component

vue 组件开发模板

使用

// 全局安装
npm i @laoriy/cli -g
// cd 对应开发目录 projectName是自定义项目名称
laoriy create <projectName>
// 供@laoriy/cli脚手架 create 项目的时候进行模板选择
? Please choose project template (Use arrow keys)
> vue-component

查看更多

问题

  • 1、模板目录结构规范化

Feture

  • 1、开发、测试文档完善

  • 2、更加丰富项目或模板

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.