Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…late into lang
  • Loading branch information
vltansky committed Jun 7, 2020
2 parents 3e8c068 + 635ae3f commit 316299f
Show file tree
Hide file tree
Showing 6 changed files with 149 additions and 59 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
## 0.1.0 (May 25, 2020)

- Initial Release
76 changes: 74 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,76 @@
# create-html5-boilerplate
npx for html5-boilerplate
# Create HTML5 Boilerplate

[![Coverage Status](https://coveralls.io/repos/github/h5bp/create-html5-boilerplate/badge.svg?branch=master)](https://coveralls.io/github/h5bp/create-html5-boilerplate?branch=master)

Quick start for HTML5 Boilerplate. Get up and running with one command.

## Getting Started

You can get started using one of three options- `npx`, `npm init`, or
`yarn create`

Using `npx`

```
npx create-html5-boilerplate new-site
cd new-site
npm install
npm start
```

Using `npm init`

```
npm init create-html5-boilerplate new-site
cd new-site
npm install
npm start
```

Using yarn

```
yarn create html5-boilerplate new-site
cd new-site
yarn install
yarn start
```

These commands are equivalent and do the following:

1. Download and install the latest version of HTML5 Boilerplate
2. Installs dependencies
3. Bundles site assets and start a web server using [Parcel](https://parceljs.org/)
4. Opens a web browser pointed to http://localhost:1234/

## Requirements

`create-html5-boilerplate` is cross-platform. It works wherever node and npm work.
The only requirements are for `npx`, which requires npm version 5.2 or greater and
`npm init` which requires an npm version greater than 6.0. If you're stuck on an
older version of npm you can still use `create-html5-boilerplate` by running the
following command to install the project globally.

```
npm install -g create-html5-boilerplate
```

Then you can use `create-html5-boilerplate` as in the following example

```
create-html5-boilerplate new-site
cd new-site
npm install
npm start
```

## Installing Specific Versions

You can also install a specific version:

```
npx create-html5-boilerplate new-site --release=7.2.0
cd new-site
npm install
npm start
```
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
#!/usr/bin/env node
require("./lib/cli")().catch(console.error);
1 change: 0 additions & 1 deletion lib/cli.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env node
"use strict";
const yargs_parser = require("yargs-parser");
const path = require("path");
Expand Down
123 changes: 69 additions & 54 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "create-html5-boilerplate",
"version": "0.0.1-RC1",
"description": "",
"version": "0.1.0",
"description": "An npm based quickstart app for HTML5-Boilerplate",
"keywords": [],
"homepage": "https://html5boilerplate.com/",
"bugs": {
Expand Down

0 comments on commit 316299f

Please sign in to comment.