package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {
  2. "name": "blueimp-canvas-to-blob",
  3. "version": "3.11.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. "phantomjs-prebuilt": "2.1.13",
  26. "mocha-phantomjs-core": "1.3.1",
  27. "standard": "8.3.0",
  28. "uglify-js": "2.7.3"
  29. },
  30. "scripts": {
  31. "lint": "standard js/*.js test/*.js",
  32. "unit": "phantomjs node_modules/mocha-phantomjs-core/mocha-phantomjs-core.js test/index.html",
  33. "test": "npm run lint && npm run unit",
  34. "build": "cd js && uglifyjs canvas-to-blob.js -c -m -o canvas-to-blob.min.js --source-map canvas-to-blob.min.js.map",
  35. "preversion": "npm test",
  36. "version": "npm run build && git add -A js",
  37. "postversion": "git push --tags origin master master:gh-pages && npm publish"
  38. }
  39. }