package.json 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "name": "canvas",
  3. "description": "Canvas graphics API backed by Cairo",
  4. "version": "2.11.0",
  5. "author": "TJ Holowaychuk <tj@learnboost.com>",
  6. "main": "index.js",
  7. "browser": "browser.js",
  8. "contributors": [
  9. "Nathan Rajlich <nathan@tootallnate.net>",
  10. "Rod Vagg <r@va.gg>",
  11. "Juriy Zaytsev <kangax@gmail.com>"
  12. ],
  13. "keywords": [
  14. "canvas",
  15. "graphic",
  16. "graphics",
  17. "pixman",
  18. "cairo",
  19. "image",
  20. "images",
  21. "pdf"
  22. ],
  23. "homepage": "https://github.com/Automattic/node-canvas",
  24. "repository": "git://github.com/Automattic/node-canvas.git",
  25. "scripts": {
  26. "prebenchmark": "node-gyp build",
  27. "benchmark": "node benchmarks/run.js",
  28. "lint": "standard examples/*.js test/server.js test/public/*.js benchmarks/run.js lib/context2d.js util/has_lib.js browser.js index.js",
  29. "test": "mocha test/*.test.js",
  30. "pretest-server": "node-gyp build",
  31. "test-server": "node test/server.js",
  32. "generate-wpt": "node ./test/wpt/generate.js",
  33. "test-wpt": "mocha test/wpt/generated/*.js",
  34. "install": "node-pre-gyp install --fallback-to-build --update-binary",
  35. "dtslint": "dtslint types"
  36. },
  37. "binary": {
  38. "module_name": "canvas",
  39. "module_path": "build/Release",
  40. "host": "https://github.com/Automattic/node-canvas/releases/download/",
  41. "remote_path": "v{version}",
  42. "package_name": "{module_name}-v{version}-{node_abi}-{platform}-{libc}-{arch}.tar.gz"
  43. },
  44. "files": [
  45. "binding.gyp",
  46. "lib/",
  47. "src/",
  48. "util/",
  49. "types/index.d.ts"
  50. ],
  51. "types": "types/index.d.ts",
  52. "dependencies": {
  53. "@mapbox/node-pre-gyp": "^1.0.0",
  54. "nan": "^2.17.0",
  55. "simple-get": "^3.0.3"
  56. },
  57. "devDependencies": {
  58. "@types/node": "^10.12.18",
  59. "assert-rejects": "^1.0.0",
  60. "dtslint": "^4.0.7",
  61. "express": "^4.16.3",
  62. "js-yaml": "^4.1.0",
  63. "mocha": "^5.2.0",
  64. "pixelmatch": "^4.0.2",
  65. "standard": "^12.0.1",
  66. "typescript": "^4.2.2"
  67. },
  68. "engines": {
  69. "node": ">=6"
  70. },
  71. "license": "MIT"
  72. }