diff --git a/.travis.yml b/.travis.yml index 7e392da..bf83765 100644 --- a/.travis.yml +++ b/.travis.yml @@ -4,4 +4,3 @@ node_js: before_script: - 'npm install -g bower grunt-cli' - 'bower install' - diff --git a/README.md b/README.md index 1daace0..ef44de0 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,12 @@ With bower: bower install angularjs-table ``` +Dependencies +------------ + +The only real dependencies for this library are angular and angular-sanitize. You can optionally include `angular-ui-sortable`, which relies on jquery. This will enable the column sorting via drag-and-drop. Without the presence of `angular-ui-sortable`, the library should work just fine, but without the ability for the user to change the order of the columns via drag-and-drop. + + Getting Started --------------- diff --git a/app/index.html b/app/index.html index 1436543..76f50cb 100644 --- a/app/index.html +++ b/app/index.html @@ -62,7 +62,7 @@ - + diff --git a/bower.json b/bower.json index 5d1933d..d9a2b35 100644 --- a/bower.json +++ b/bower.json @@ -7,12 +7,16 @@ ], "dependencies": { "angular": "^1.6", - "jquery": "~2.0.3", - "angular-sanitize": "^1.6", - "angular-ui-sortable": "~0.13", - "jquery-ui": ">=1.11.0" + "angular-sanitize": "^1.6" + }, + "optionalDependencies": { + "jquery-ui": ">=1.11.0", + "angular-ui-sortable": "~0.13" }, "devDependencies": { + "jquery": "~2", + "angular-ui-sortable": "~0.13", + "jquery-ui": ">=1.11.0", "angular-route": "^1.6", "bootstrap": "~3.0.3", "angular-mocks": "^1.6", diff --git a/package.json b/package.json index ffa7ce0..e6085b7 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,12 @@ "version": "2.21.5", "license": "Apache License, v2.0", "dependencies": { - "angular": "^1.6", - "jquery": "~2", - "angular-sanitize": "~1.3" + "angular": "^1.4", + "angular-sanitize": "^1.4" + }, + "optionalDependencies": { + "jquery-ui": ">=1.11.0", + "angular-ui-sortable": "~0.13" }, "repository": "https://github.com/andyperlitch/angularjs-table", "types": "./angular-mesa.d.ts",