package.json 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. {
  2. "name": "minizlib",
  3. "version": "3.0.2",
  4. "description": "A small fast zlib stream built on [minipass](http://npm.im/minipass) and Node.js's zlib binding.",
  5. "main": "./dist/commonjs/index.js",
  6. "dependencies": {
  7. "minipass": "^7.1.2"
  8. },
  9. "scripts": {
  10. "prepare": "tshy",
  11. "pretest": "npm run prepare",
  12. "test": "tap",
  13. "preversion": "npm test",
  14. "postversion": "npm publish",
  15. "prepublishOnly": "git push origin --follow-tags",
  16. "format": "prettier --write . --loglevel warn",
  17. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/isaacs/minizlib.git"
  22. },
  23. "keywords": [
  24. "zlib",
  25. "gzip",
  26. "gunzip",
  27. "deflate",
  28. "inflate",
  29. "compression",
  30. "zip",
  31. "unzip"
  32. ],
  33. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
  34. "license": "MIT",
  35. "devDependencies": {
  36. "@types/node": "^22.13.14",
  37. "tap": "^21.1.0",
  38. "tshy": "^3.0.2",
  39. "typedoc": "^0.28.1"
  40. },
  41. "files": [
  42. "dist"
  43. ],
  44. "engines": {
  45. "node": ">= 18"
  46. },
  47. "tshy": {
  48. "exports": {
  49. "./package.json": "./package.json",
  50. ".": "./src/index.ts"
  51. }
  52. },
  53. "exports": {
  54. "./package.json": "./package.json",
  55. ".": {
  56. "import": {
  57. "types": "./dist/esm/index.d.ts",
  58. "default": "./dist/esm/index.js"
  59. },
  60. "require": {
  61. "types": "./dist/commonjs/index.d.ts",
  62. "default": "./dist/commonjs/index.js"
  63. }
  64. }
  65. },
  66. "types": "./dist/commonjs/index.d.ts",
  67. "type": "module",
  68. "prettier": {
  69. "semi": false,
  70. "printWidth": 75,
  71. "tabWidth": 2,
  72. "useTabs": false,
  73. "singleQuote": true,
  74. "jsxSingleQuote": false,
  75. "bracketSameLine": true,
  76. "arrowParens": "avoid",
  77. "endOfLine": "lf"
  78. },
  79. "module": "./dist/esm/index.js"
  80. }