Npm: npm install croppie
Download: croppie.js & croppie.css
<link rel="stylesheet" href="croppie.css" />
<script src="croppie.js"></script>
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
For the most part, you shouldn't worry about these steps unless you're the one handling the release. Please don't bump the release and don't minify/uglify in a PR. That just creates merge conflicts when merging. Those steps will be performed when the release is created.
- 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