0.4.5 • Published 7 years ago

jcube-cli v0.4.5

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

jcube-cli

npm node

Jcube-cli is a simple set of scaffolding that supports Vue、React、ordinary projects.

Table of Contents

Install

Prerequisites: Node.js (>=4.x, 6.x preferred) and Git.

    npm install -g jcube-cli

Usage

    jcube init <dependence-type> [project-name] [options]

Example:

    jcube init react my-project

Project structure:

    |-jcube_app_pc    //product line
        |-develop    //development
            |-my-project    //project
            ...
        |-release    //production
            |-my-project    //project
            ...

workflow:

  • npm run dev: start programming.
  • npm run build: building project.
  • npm run release: release production code, they will be pushed to the corresponding release directory.

Command reference

All commands can be searched by jcube --help

jcube init dependence-type project-name

Generated project with dependence.

dependence-type:

  • react
  • vue: coming soon
  • normal: coming soon

Available options:

  • -v: create a directory of version

jcube queryCDN url

check the last-modified of static resource to determine whether that's right.

jcube queryCDN: every time run npm run releasecould be generated a file that needs to be updated, distinguish the results in two colors.

  • green: static resource has been updated.
  • red: nothing new has been updated.

jcube queryCDN [url]: run this command to check single resource.

0.4.5

7 years ago

0.4.3

7 years ago

0.4.1

7 years ago

0.4.0

7 years ago

0.3.15

7 years ago

0.3.14

7 years ago

0.3.13

7 years ago

0.3.12

7 years ago

0.3.11

7 years ago

0.3.10

7 years ago

0.3.9

7 years ago

0.3.8

7 years ago

0.3.7

7 years ago

0.3.6

7 years ago

0.3.5

7 years ago

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.7

7 years ago

0.2.6

7 years ago

0.2.5

7 years ago

0.2.3

7 years ago

0.2.2

7 years ago

0.2.1

7 years ago

0.2.0

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago