Skip to content

Commit

Permalink
chore: add npm
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Jan 1, 2016
1 parent 88348ed commit f8ec2d0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 10 deletions.
21 changes: 14 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@

## usage

1. Install:
1. via [bower](http://bower.io/)
`bower install --save bootstrap-block-grid`

2. via [downloaded files](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)

1. Install via either [bower](http://bower.io/), [npm](https://www.npmjs.com/) or downloaded files:
1. `bower install --save bootstrap-block-grid`
2. `npm install --save bootstrap-block-grid`
3. download [bootstrap-block-grid.zip](https://github.com/JohnnyTheTank/bootstrap-block-grid/zipball/master)
2. Add files to your html
1. when using bower
```html
Expand All @@ -22,7 +20,16 @@
<script src="bower_components/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
```

2. when using downloaded files
2. when using npm
```html
<!-- bootstrap 3 -->
<script src="node_modules/bootstrap-block-grid/dist/bootstrap3-block-grid.min.css"></script>

<!-- bootstrap 4 -->
<script src="node_modules/bootstrap-block-grid/dist/bootstrap4-block-grid.min.css"></script>
```

3. when using downloaded files
```html
<!-- bootstrap 3 -->
<script src="bootstrap3-block-grid.min.css"></script>
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"authors": [
"Jonathan Hornung <[email protected]>"
],
"version": "1.1.2",
"version": "1.1.3",
"description": "block grid for bootstrap",
"main": "dist/bootstrap3-block-grid.min.css",
"moduleType": [
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bootstrap-block-grid",
"version": "1.1.2",
"version": "1.1.3",
"description": "block grid for bootstrap",
"main": "Gruntfile.js",
"scripts": {
Expand All @@ -13,11 +13,13 @@
"keywords": [
"bootstrap",
"blockgrid",
"block",
"grid",
"gridblock",
"css",
"scss"
],
"author": "Jonathan Hornung",
"author": "Jonathan Hornung <[email protected]>",
"license": "MIT",
"bugs": {
"url": "https://github.com/JohnnyTheTank/bootstrap-block-grid/issues"
Expand Down

0 comments on commit f8ec2d0

Please sign in to comment.