cli-boilerplate
Advanced tools
Comparing version 0.0.0 to 1.0.0
{ | ||
"name": "cli-boilerplate", | ||
"version": "0.0.0", | ||
"version": "1.0.0", | ||
"description": "add html boilerplate to you clipboard for pasting wins", | ||
"keywords": ["HTML5", "boilerplate", "cli", "command line"], | ||
"repository": { | ||
"type": "git", | ||
"url": "http://github.com/jlord/cli-boilerplate.git" | ||
}, | ||
"bugs": { | ||
"url": "http://github.com/jlord/cli-boilerplate/issues" | ||
}, | ||
"main": "index.js", | ||
@@ -6,0 +14,0 @@ "bin": { |
cli-boilerplate | ||
=============== | ||
I want to press keys and get an HTML boilerplate onto my clipboard that I can just paste :boom: it into a new file. So I'm gonna make that. | ||
This is a super simple command line module that copies HTML5 boilerplate to your clipboard so that you can open a new file, paste and :boom:. | ||
_Currently just works on Macs or things that have `pbcopy`_ | ||
```bash | ||
$ boilme | ||
``` | ||
When you paste you get: | ||
```HTML | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<meta name="description" content=""> | ||
<meta name="author" content=""> | ||
<title>Title</title> | ||
<link rel="icon" type="image/png" href="favicon.png"> | ||
<link rel="stylesheet" href="assets/style.css"> | ||
</head> | ||
<body> | ||
</body> | ||
</html> | ||
``` | ||
The boilerplate included here is adapted from the lovely @thefoxis's repository [thefoxis/html-boilerplate](https://github.com/thefoxis/html-boilerplate). | ||
**You can [use it](#use-it) as-is or [adapt it](#use-it) to your own boilerplate needs** | ||
## Use it | ||
_You'll need [Node.js](http://www.nodejs.org) and [NPM](http://www.npmjs.org) (which comes when you install Node.js) on your computer._ | ||
Install `cli-boilerplate` globally on you computer with NPM: | ||
```bash | ||
$ npm install -g cli-boilerplate | ||
``` | ||
From any terminal window, run the `boilme` command to get the boilerplate copied to you clipboard. | ||
``` | ||
$ boilme | ||
``` | ||
Then paste it where you want it. Done! | ||
## Adapt it | ||
_You'll need [Node.js](http://www.nodejs.org) and [NPM](http://www.npmjs.org) (which comes when you install Node.js) on your computer._ | ||
Clone this repository (or a fork of it) to your computer: | ||
```bash | ||
$ git clone git@github.com:jlord/cli-boilerplate.git | ||
``` | ||
Open it up in your text editor and edit the `boilerplate.html` file as you'd like it. Save. | ||
```bash | ||
$ cd cli-boilerplate | ||
``` | ||
Link this version to your system so that Node uses it when you run `boilme`. From inside the `cli-boilerplate` directory link it: | ||
```bash | ||
$ npm link | ||
``` | ||
Then run `boilme` from any terminal window. Yay! |
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
4903
5
1
2
78
1