@coco-platform/cli
private scaffolding tool.
Last updated 2 years ago by bornkiller .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @coco-platform/cli 
SYNC missed versions from official npm registry.

@coco-platform/cli

yet, another scaffolding tool.

Install

# yarn global
yarn global add @coco-platform/cli;
# yarn local
yarn add @coco-platform/cli --dev;

Usage

# list all available template
coco-list;

# generate project from template
coco-init [options] <project> <template>;

# start develop server
coco-server --bootstrap ./src/main.js;

# compile client side project
coco-build --bootstrap ./src/main.js --public-path /platform/;

# compile ssr project
coco-ssr --bootstrap ./src/main.ssr.js;

# bundle library exports
coco-bundle <entry>;

# analyze critical
coco-critical 'dist/**/*.html';

# pre-render routes
coco-render --routes '/,/gallery,/review';

# static server to preview
coco-static --root ./dist/client;

Contact

hjj491229492@hotmail.com

Current Tags

  • 0.4.2                                ...           latest (2 years ago)
  • 0.3.28                                ...           next (2 years ago)
  • 0.3.36                                ...           orgspa-patch (10 months ago)

14 Versions

  • 0.3.36                                ...           10 months ago
  • 0.3.35                                ...           10 months ago
  • 0.3.34                                ...           10 months ago
  • 0.4.2                                ...           2 years ago
  • 0.4.1                                ...           2 years ago
  • 0.4.0                                ...           2 years ago
  • 0.3.33                                ...           2 years ago
  • 0.3.31                                ...           2 years ago
  • 0.3.30                                ...           2 years ago
  • 0.3.29                                ...           2 years ago
  • 0.3.28                                ...           2 years ago
  • 0.3.27                                ...           2 years ago
  • 0.3.26                                ...           2 years ago
  • 0.3.25                                ...           2 years ago
Maintainers (2)
Downloads
Today 0
This Week 1
This Month 5
Last Day 1
Last Week 3
Last Month 4
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |