@britannica/create-lib
A sensible default configuration for creating rollup-based npm packages
Last updated 2 years ago by ryanwalters .
MIT · Original npm · Tarball · package.json
$ cnpm install @britannica/create-lib 
SYNC missed versions from official npm registry.

@britannica/create-lib

A sensible default configuration for creating rollup-based npm packages

Requirements

node >= 8
npm >= 5.2.0

Usage

npx @britannica/create-lib <library name>

Brief explanation

  • After running, a new directory with your library name will be created with some rollup presets
  • Your library source will be located in the <library name>/src directory
  • Run npm run dev is your watch task
  • Run npm run build to build your project into the dist directory
  • When publishing, the files in your dist directory will be what get published
  • If you need to change which files get published, update the files property in package.json

Current Tags

  • 0.1.2                                ...           latest (2 years ago)

3 Versions

  • 0.1.2                                ...           2 years ago
  • 0.1.1                                ...           2 years ago
  • 0.1.0                                ...           2 years ago
Downloads
Today 0
This Week 1
This Month 5
Last Day 1
Last Week 3
Last Month 2
Dependencies (6)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |