diff --git a/README.md b/README.md index 5da76fd..460db3f 100644 --- a/README.md +++ b/README.md @@ -18,4 +18,15 @@ This repository holds the following plug-in types for DataTables: * Integration scripts * Twitter Bootstrap -Each directory has an index.html file which is used to generate the plug-ins documentation on [DataTables.net](http://datatables.net/plug-ins) and describes how plug-ins can be used. \ No newline at end of file +Each directory has an index.html file which is used to generate the plug-ins documentation on [DataTables.net](http://datatables.net/plug-ins) and describes how plug-ins can be used. + +## Bower +To select which plugins to use, override the main section in your bower.json file with the files you need. Eg. +`"overrides": {` +`"datatables-plugins": {` +`"main": [` + `"./integration/bootstrap/3/dataTables.bootstrap.js",` + `"./integration/bootstrap/3/dataTables.bootstrap.css"` + `]` +`}` +`}` diff --git a/bower.json b/bower.json new file mode 100644 index 0000000..7ef6766 --- /dev/null +++ b/bower.json @@ -0,0 +1,9 @@ +{ + "name": "datatables-plugins", + "version": "1.0.0", + "main": [], + "ignore": [], + "dependencies": { + "datatables": ">=1.10.1" + } +}