Skip to content

Commit

Permalink
Add package.json for plugin npm installation, update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
misantron committed Mar 3, 2015
1 parent e642c8a commit 5fda683
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 12 deletions.
24 changes: 14 additions & 10 deletions README.md
@@ -1,9 +1,13 @@
DataTables and Bootstrap integration
============================
#DataTables and Bootstrap integration

![Bower Version](http://img.shields.io/bower/v/datatables-bootstrap3-plugin.svg?style=flat-square)
[![NPM Version](http://img.shields.io/npm/v/datatables-bootstrap3-plugin.svg?style=flat-square)](https://www.npmjs.com/package/datatables-bootstrap3-plugin)
[![GitHub Version](http://img.shields.io/github/release/misantron/datatables-bootstrap3-plugin.svg?style=flat-square)](https://github.com/misantron/datatables-bootstrap3-plugin)

jQuery DataTables plugin and Bootstrap 3 integration.

Installation
---------------------------
##Installation

You can easy install plugin using Bower:

```
Expand All @@ -17,16 +21,16 @@ Or you can copy and include JS and CSS files directly to your HTML page:
<script src="js/datatables-bootstrap3.js"></script>
```

Code dependencies:
##External dependencies:

* Bootstrap 3.*
* Font Awesome 4.*
* jQuery DataTables plugin 1.10.*
* jQuery DataTables 1.10.*

##Fork changes

Fork changes
---------------------------
* Stylesheet changes to use Font-Awesome for displaying sorting and pagination icons. You don't need to use images for this purpose anymore.

Example
---------------------------
##Usage example

If you have any questions you can see the example code [here](/example)
4 changes: 2 additions & 2 deletions bower.json
@@ -1,6 +1,6 @@
{
"name": "datatables-bootstrap3-plugin",
"version": "0.3.0",
"version": "0.4.0",
"main": [
"media/css/datatables-bootstrap3.css",
"media/css/datatables-bootstrap3.min.css",
Expand All @@ -13,7 +13,7 @@
"font-awesome": "4.3.x",
"datatables": "1.10.x"
},
"description": "jQuery DataTables plugin and Bootstrap 3 integration",
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
"license": "MIT",
"keywords": [
"javascript",
Expand Down
36 changes: 36 additions & 0 deletions package.json
@@ -0,0 +1,36 @@
{
"name": "datatables-bootstrap3-plugin",
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
"author": "misantron <misantron@gmail.com>",
"version": "0.4.0",
"keywords": [
"javascript",
"datatables",
"bootstrap",
"plugin"
],
"main": "media/js/datatables-bootstrap3.js",
"repository": {
"type": "git",
"url": "https://github.com/misantron/datatables-bootstrap3-plugin.git"
},
"bugs": {
"url": "https://github.com/misantron/datatables-bootstrap3-plugin/issues"
},
"license": "MIT",
"dependencies": {
"bootstrap": "3.3.x",
"font-awesome": "4.3.x",
"datatables": "1.10.x"
},
"engines": {
"node": ">=0.10.*"
},
"homepage": "https://github.com/misantron/datatables-bootstrap3-plugin",
"directories": {
"example": "example"
},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
}
}

0 comments on commit 5fda683

Please sign in to comment.