library-cli
A CLI for building React libraries
Last updated a month ago by bcarney .
MIT · Original npm · Tarball · package.json
$ cnpm install library-cli 
SYNC missed versions from official npm registry.

Library CLI

A CLI for creating, building, and testing JavaScript libraries.

Installation

yarn add -D library-cli

Usage

library build

Builds your library using smart defaults. Overriding configuration may be possible in a future release.

  • Builds a commonjs version using main from package.json.
  • Builds an esm version using module from package.json.
  • Automatically marks peerDependencies as external.
  • Uses @babel/preset-env and @babel/preset-react.
  • More to come!

library test

Runs tests (including test coverage) using jest Tests must be placed inside a __tests__ directory.

Current Tags

  • 0.1.2                                ...           latest (a month ago)

10 Versions

  • 0.1.2                                ...           a month ago
  • 0.1.1                                ...           2 months ago
  • 0.1.0                                ...           2 months ago
  • 0.0.7                                ...           3 months ago
  • 0.0.6                                ...           5 months ago
  • 0.0.5                                ...           5 months ago
  • 0.0.4                                ...           5 months ago
  • 0.0.3                                ...           5 months ago
  • 0.0.2                                ...           5 months ago
  • 0.0.1                                ...           5 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 27
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |