Skip to content
Snippets Groups Projects
Commit f2e04d5c authored by Jack Reed's avatar Jack Reed
Browse files

remove final bower dependency

parent b61257d1
No related branches found
No related tags found
No related merge requests found
......@@ -77,8 +77,6 @@ Mirador uses the node.js runtime for its development environment, and to bundle
#### The NPM package manager
Dependencies are managed primarily with the NPM package manager, and releases are primarily distributed over npm. It is recommended that any new dependencies being added are tracked with a specific version in the `package.json` and installed with npm. The final build dependency is then copied into the `js/lib` directory for inclusion into Mirador. Only this copied final version of the dependency should be versioned (added to git).
#### Javascript Resources
#### Bower Package Manager [DEPRECATED]
Some resources are managed with bower, but this is being phased out. It is recommended that no new dependency be added through bower unless it is truly unavailable on NPM.
### Project Management with Grunt
[Grunt](http://gruntjs.com/) is a utility for managing repetitive tasks involved in the development process, such as building, linting, format-checking, and compressing files, running tests and generating coverage reports, and reloading the browser on file changes (for interactive feedback during feature development). A variety of tasks have been automated for developer convenience.
#### Building and Compressing
......
......@@ -45,7 +45,7 @@ module.exports = function(grunt) {
'node_modules/i18next/i18next.min.js',
'node_modules/i18next-browser-languagedetector/i18nextBrowserLanguageDetector.min.js',
'node_modules/i18next-xhr-backend/i18nextXHRBackend.min.js',
'bower_components/simplePagination.js/jquery.simplePagination.js',
'node_modules/simple-pagination.js/jquery.simplePagination.js',
'js/lib/modernizr.custom.js',
'js/lib/sanitize-html.min.js',
'node_modules/iiif-evented-canvas/dist/iiif-evented-canvas.umd.min.js',
......@@ -103,7 +103,7 @@ module.exports = function(grunt) {
'node_modules/select2/dist/css/select2.min.css',
'css/mirador.css',
'css/material-icons.css',
'bower_components/simplePagination.js/simplePagination.css'
'node_modules/simple-pagination.js/simplePagination.css'
],
dest: 'build/mirador/css/mirador-combined.css'
}
......
......@@ -13,7 +13,6 @@ Mirador uses [Node.js](https://nodejs.org/) and a build system to assemble, test
1. Install [Node.js](https://nodejs.org/)
2. Install the Grunt command line runner i.e. `npm install -g grunt-cli`
3. Install the Bower command line utility i.e. `npm install -g bower`
1. Clone the Mirador repository
1. Change into the Mirador directory
1. Install all dependencies with `npm install`. Run `npm start`.
......
......@@ -20,9 +20,6 @@
"tests"
],
"dependencies": {
"sanitize-html": "~1.11.4",
"qtip2": "~2.2.1",
"simplePagination.js": "*"
},
"resolutions": {
"jquery": ">=1.7.2"
......
......@@ -76,6 +76,7 @@
"openseadragon": "^2.2.1",
"paper": "^0.10.2",
"select2": "^4.0.3",
"simple-pagination.js": "^1.6.0",
"spectrum-colorpicker": "^1.8.0",
"tinymce": "^4.1.7",
"urijs": "^1.16.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment