package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. {
  2. "name": "blueimp-canvas-to-blob",
  3. "version": "3.3.0",
  4. "title": "JavaScript Canvas to Blob",
  5. "description": "Canvas to Blob is a polyfill for the standard JavaScript canvas.toBlob method. It can be used to create Blob objects from an HTML canvas element.",
  6. "keywords": [
  7. "javascript",
  8. "canvas",
  9. "blob",
  10. "convert",
  11. "conversion"
  12. ],
  13. "homepage": "https://github.com/blueimp/JavaScript-Canvas-to-Blob",
  14. "author": {
  15. "name": "Sebastian Tschan",
  16. "url": "https://blueimp.net"
  17. },
  18. "repository": {
  19. "type": "git",
  20. "url": "git://github.com/blueimp/JavaScript-Canvas-to-Blob.git"
  21. },
  22. "license": "MIT",
  23. "main": "./js/canvas-to-blob.js",
  24. "devDependencies": {
  25. "mocha-phantomjs": "4.0.1",
  26. "standard": "6.0.7",
  27. "uglify-js": "2.6.1"
  28. },
  29. "scripts": {
  30. "test": "standard js/*.js test/*.js && mocha-phantomjs test/index.html",
  31. "build": "cd js && uglifyjs canvas-to-blob.js -c -m -o canvas-to-blob.min.js --source-map canvas-to-blob.min.js.map",
  32. "preversion": "npm test",
  33. "version": "npm run build && git add -A js",
  34. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  35. }
  36. }