Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,18 @@ console.log('it will be lunchtime in ' + howLongTillLunch());

## Getting started

### Degit

The easiest way to use this as a base project is to use [degit](Rich-Harris/degit)!

```bash
npx degit https://github.com/rollup/rollup-starter-lib my-library
cd my-library
npm install
```

### Clone

Clone this repository and install its dependencies:

```bash
Expand All @@ -20,6 +32,10 @@ cd rollup-starter-lib
npm install
```

*Note:* this technique keeps the git history from this repository, which you probably do not want in your library.

## Using rollup-starter-lib

`npm run build` builds the library to `dist`, generating three files:

* `dist/how-long-till-lunch.cjs.js`
Expand Down