0.4.5 • Published 8 years ago

jcube-cli v0.4.5

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

0.4.3

8 years ago

0.4.1

8 years ago

0.4.0

8 years ago

0.3.15

8 years ago

0.3.14

8 years ago

0.3.13

8 years ago

0.3.12

8 years ago

0.3.11

8 years ago

0.3.10

8 years ago

0.3.9

8 years ago

0.3.8

8 years ago

0.3.7

8 years ago

0.3.6

8 years ago

0.3.5

8 years ago

0.3.4

8 years ago

0.3.3

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.7

8 years ago

0.2.6

8 years ago

0.2.5

8 years ago

0.2.3

8 years ago

0.2.2

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.11

8 years ago

0.1.10

8 years ago

0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago