495f1d958e | ||
---|---|---|
.. | ||
LICENSE | ||
README.md | ||
croppie.css | ||
croppie.js | ||
croppie.min.js | ||
package.json |
README.md
Croppie - A Javascript Image Cropper
To Install
Bower: bower install croppie
Npm: npm install croppie
Download: croppie.js & croppie.css
Adding croppie to your site
<link rel="stylesheet" href="croppie.css" />
<script src="croppie.js"></script>
CDN
cdnjs.com provides croppie via cdn https://cdnjs.com/libraries/croppie
https://cdnjs.cloudflare.com/ajax/libs/croppie/{version}/croppie.min.css
https://cdnjs.cloudflare.com/ajax/libs/croppie/{version}/croppie.min.js
Documentation
Related Libraries
- https://github.com/wem/croppie-dart
- https://github.com/allenRoyston/ngCroppie
- https://github.com/lpsBetty/angular-croppie
Contributing
Static Server
live-server
Minifying
uglifyjs croppie.js -c -m -r '$,require,exports' -o croppie.min.js
Releasing a new version
- Bump version in croppie.js
- Minify/Uglify
- Commit
- npm version [new version]
git push && git push --tags
npm publish
- Draft a new release with new tag on https://github.com/Foliotek/Croppie/releases
- Deploy to gh-pages
npm run deploy