Skip to content

Commit 5fda683

Browse files
committed
Add package.json for plugin npm installation, update README.md
1 parent e642c8a commit 5fda683

File tree

3 files changed

+52
-12
lines changed

3 files changed

+52
-12
lines changed

README.md

+14-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
DataTables and Bootstrap integration
2-
============================
1+
#DataTables and Bootstrap integration
2+
3+
![Bower Version](http://img.shields.io/bower/v/datatables-bootstrap3-plugin.svg?style=flat-square)
4+
[![NPM Version](http://img.shields.io/npm/v/datatables-bootstrap3-plugin.svg?style=flat-square)](https://www.npmjs.com/package/datatables-bootstrap3-plugin)
5+
[![GitHub Version](http://img.shields.io/github/release/misantron/datatables-bootstrap3-plugin.svg?style=flat-square)](https://github.com/misantron/datatables-bootstrap3-plugin)
6+
37
jQuery DataTables plugin and Bootstrap 3 integration.
48

5-
Installation
6-
---------------------------
9+
##Installation
10+
711
You can easy install plugin using Bower:
812

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

20-
Code dependencies:
24+
##External dependencies:
2125

2226
* Bootstrap 3.*
2327
* Font Awesome 4.*
24-
* jQuery DataTables plugin 1.10.*
28+
* jQuery DataTables 1.10.*
29+
30+
##Fork changes
2531

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

30-
Example
31-
---------------------------
34+
##Usage example
35+
3236
If you have any questions you can see the example code [here](/example)

bower.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "datatables-bootstrap3-plugin",
3-
"version": "0.3.0",
3+
"version": "0.4.0",
44
"main": [
55
"media/css/datatables-bootstrap3.css",
66
"media/css/datatables-bootstrap3.min.css",
@@ -13,7 +13,7 @@
1313
"font-awesome": "4.3.x",
1414
"datatables": "1.10.x"
1515
},
16-
"description": "jQuery DataTables plugin and Bootstrap 3 integration",
16+
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
1717
"license": "MIT",
1818
"keywords": [
1919
"javascript",

package.json

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
{
2+
"name": "datatables-bootstrap3-plugin",
3+
"description": "jQuery DataTables plugin and Bootstrap 3 integration.",
4+
"author": "misantron <misantron@gmail.com>",
5+
"version": "0.4.0",
6+
"keywords": [
7+
"javascript",
8+
"datatables",
9+
"bootstrap",
10+
"plugin"
11+
],
12+
"main": "media/js/datatables-bootstrap3.js",
13+
"repository": {
14+
"type": "git",
15+
"url": "https://github.com/misantron/datatables-bootstrap3-plugin.git"
16+
},
17+
"bugs": {
18+
"url": "https://github.com/misantron/datatables-bootstrap3-plugin/issues"
19+
},
20+
"license": "MIT",
21+
"dependencies": {
22+
"bootstrap": "3.3.x",
23+
"font-awesome": "4.3.x",
24+
"datatables": "1.10.x"
25+
},
26+
"engines": {
27+
"node": ">=0.10.*"
28+
},
29+
"homepage": "https://github.com/misantron/datatables-bootstrap3-plugin",
30+
"directories": {
31+
"example": "example"
32+
},
33+
"scripts": {
34+
"test": "echo \"Error: no test specified\" && exit 1"
35+
}
36+
}

0 commit comments

Comments
 (0)