package.json 1.8 KB

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