package.json 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. {
  2. "name": "jimp",
  3. "version": "0.10.3",
  4. "description": "An image processing library written entirely in JavaScript (i.e. zero external or native dependencies)",
  5. "main": "dist/index.js",
  6. "module": "es/index.js",
  7. "browser": "browser/lib/jimp.js",
  8. "types": "types/index.d.ts",
  9. "typesVersions": {
  10. ">=3.1.0-0": {
  11. "*": [
  12. "types/ts3.1/index.d.ts"
  13. ]
  14. }
  15. },
  16. "tonicExampleFilename": "example.js",
  17. "files": [
  18. "browser",
  19. "dist",
  20. "es",
  21. "index.d.ts",
  22. "fonts",
  23. "types"
  24. ],
  25. "repository": {
  26. "type": "git",
  27. "url": "https://github.com/oliver-moran/jimp.git"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/oliver-moran/jimp/issues"
  31. },
  32. "scripts": {
  33. "test": "cross-env BABEL_ENV=test mocha --require @babel/register",
  34. "test:watch": "npm run test -- --reporter min --watch",
  35. "test:coverage": "nyc npm run test",
  36. "browser-build": "node tools/browser-build.js test",
  37. "build": "npm run build:browser && npm run build:node:production && npm run build:module",
  38. "build:watch": "npm run build:node:debug -- -- --watch --verbose",
  39. "build:debug": "npm run build:browser:debug && npm run build:node:debug",
  40. "build:module": "cross-env BABEL_ENV=module babel src -d es --source-maps --config-file ../../babel.config.js",
  41. "build:node": "babel src -d dist --source-maps --config-file ../../babel.config.js",
  42. "build:node:debug": "cross-env BABEL_ENV=development npm run build:node",
  43. "build:node:production": "cross-env BABEL_ENV=production npm run build:node",
  44. "build:browser": "cross-env BABEL_ENV=production node tools/browser-build.js prepublish",
  45. "build:browser:debug": "cross-env BABEL_ENV=development ENV=browser node tools/browser-build.js prepublish"
  46. },
  47. "keywords": [
  48. "image",
  49. "image processing",
  50. "image manipulation",
  51. "png",
  52. "jpg",
  53. "jpeg",
  54. "bmp",
  55. "resize",
  56. "scale",
  57. "crop"
  58. ],
  59. "author": "Oliver Moran <oliver.moran@gmail.com>",
  60. "license": "MIT",
  61. "dependencies": {
  62. "@babel/runtime": "^7.7.2",
  63. "@jimp/custom": "^0.10.3",
  64. "@jimp/plugins": "^0.10.3",
  65. "@jimp/types": "^0.10.3",
  66. "core-js": "^3.4.1",
  67. "regenerator-runtime": "^0.13.3"
  68. },
  69. "devDependencies": {
  70. "@babel/cli": "^7.7.0",
  71. "@babel/core": "^7.7.2",
  72. "@babel/plugin-proposal-class-properties": "^7.7.0",
  73. "@babel/plugin-syntax-object-rest-spread": "^7.2.0",
  74. "@babel/preset-env": "^7.7.1",
  75. "@babel/register": "^7.7.0",
  76. "@jimp/test-utils": "^0.10.3",
  77. "babel-eslint": "^10.0.3",
  78. "babel-plugin-add-module-exports": "^1.0.2",
  79. "babel-plugin-istanbul": "^5.2.0",
  80. "babel-plugin-source-map-support": "^2.1.1",
  81. "babelify": "^10.0.0",
  82. "browserify": "^16.5.0",
  83. "cross-env": "^6.0.0",
  84. "dtslint": "^0.9.8",
  85. "envify": "^4.1.0",
  86. "eslint": "^6.4.0",
  87. "eslint-plugin-prettier": "^3.1.1",
  88. "express": "^4.17.1",
  89. "husky": "^3.0.5",
  90. "karma": "^4.3.0",
  91. "karma-browserify": "^6.1.0",
  92. "karma-chrome-launcher": "^3.1.0",
  93. "karma-firefox-launcher": "^1.2.0",
  94. "lerna": "^3.16.4",
  95. "lerna-changelog": "^0.8.2",
  96. "lint-staged": "^9.2.5",
  97. "mocha": "^6.2.0",
  98. "nyc": "^14.1.1",
  99. "prettier": "^1.18.2",
  100. "source-map-support": "^0.5.13",
  101. "tfilter": "^1.0.1",
  102. "uglify-js": "^3.6.0",
  103. "watchify": "^3.11.1",
  104. "xo": "^0.24.0"
  105. },
  106. "xo": false,
  107. "nyc": {
  108. "sourceMap": false,
  109. "instrument": false,
  110. "reporter": [
  111. "text",
  112. "text-summary",
  113. "lcov",
  114. "html"
  115. ],
  116. "exclude": [
  117. "src/modules/*.js",
  118. "test/*.js"
  119. ]
  120. },
  121. "gitHead": "37197106eae5c26231018dfdc0254422f6b43927"
  122. }