Useful methods for image-related functions.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.2 KiB

  1. {
  2. "version": "1.0.0",
  3. "license": "MIT",
  4. "main": "dist/index.js",
  5. "typings": "dist/index.d.ts",
  6. "files": [
  7. "dist",
  8. "src"
  9. ],
  10. "engines": {
  11. "node": ">=10"
  12. },
  13. "scripts": {
  14. "start": "tsdx watch",
  15. "build": "tsdx build",
  16. "test": "tsdx test",
  17. "lint": "tsdx lint",
  18. "prepare": "tsdx build"
  19. },
  20. "peerDependencies": {
  21. "get-pixels": "^3.3.2",
  22. "get-rgba-palette": "^2.0.1",
  23. "image-size": "^0.9.1",
  24. "numeral": "^2.0.6"
  25. },
  26. "husky": {
  27. "hooks": {
  28. "pre-commit": "tsdx lint"
  29. }
  30. },
  31. "prettier": {
  32. "printWidth": 80,
  33. "semi": true,
  34. "singleQuote": true,
  35. "trailingComma": "es5"
  36. },
  37. "name": "@theoryofnekomata/image-commons",
  38. "author": "TheoryOfNekomata <allan.crisostomo@outlook.com>",
  39. "module": "dist/image-commons.esm.js",
  40. "repository": {
  41. "type": "git",
  42. "url": "git@code.modal.sh:TheoryOfNekomata/image-commons.git"
  43. },
  44. "devDependencies": {
  45. "@types/numeral": "^0.0.28",
  46. "fast-check": "^2.3.0",
  47. "get-pixels": "^3.3.2",
  48. "get-rgba-palette": "^2.0.1",
  49. "husky": "^4.3.0",
  50. "image-size": "^0.9.1",
  51. "numeral": "^2.0.6",
  52. "tsdx": "^0.13.3",
  53. "tslib": "^2.0.1",
  54. "typescript": "^4.0.3"
  55. }
  56. }