Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove bower #130

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Imager is tested against the following mobile and desktop browsers:
- Chrome 33
- Firefox 22
- Opera 12.15
- Edge 12
- Microsoft Edge 12
- Internet Explorer 8, 9, 10 and 11
- Safari 5, 6, 7, 8 and 9
- Mobile Safari 4, 5, 6 and 7
Expand All @@ -42,9 +42,13 @@ Imager is tested against the following mobile and desktop browsers:

## Install

npm | bower | old school
-------------------------------|----------------------------------|------------------------------------------------------------------------------
`npm install --save imager.js` | `bower install --save imager.js` | [download zip file](https://github.com/BBC-News/Imager.js/archive/master.zip)
| *npm* | `npm install --save imager.js` |
| *CDN* | [cdnjs][download-cdnjs], [browserify CDN][download-wzrdin] |
| *old school* | [download zip file][download-zip] |

[download-cdnjs]: https://cdnjs.com/libraries/imager.js
[download-wzrdin]: https://wzrd.in/standalone/imager.js@latest
[download-zip]: https://github.com/BBC-News/Imager.js/archive/master.zip


## Using
Expand Down
33 changes: 0 additions & 33 deletions bower.json

This file was deleted.

1 change: 1 addition & 0 deletions dist/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.*
1 change: 0 additions & 1 deletion dist/Imager.map.js

This file was deleted.

2 changes: 0 additions & 2 deletions dist/Imager.min.js

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
"test": "./node_modules/karma/bin/karma start",
"posttest": "jshint Imager.js",
"test:watch": "npm run test -- --auto-watch --no-single-run",
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist"
"build": "uglifyjs ./Imager.js -c -m -o ./Imager.min.js --source-map ./Imager.map.js && mv -f Imager.{map,min}.js ./dist",
"preversion": "npm run build && npm run test"
},
"repository": {
"type": "git",
Expand Down