package.json 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. {
  2. "name": "minipass",
  3. "version": "7.1.3",
  4. "description": "minimal implementation of a PassThrough stream",
  5. "main": "./dist/commonjs/index.js",
  6. "types": "./dist/commonjs/index.d.ts",
  7. "module": "./dist/esm/index.js",
  8. "type": "module",
  9. "tshy": {
  10. "selfLink": false,
  11. "compiler": "tsgo",
  12. "exports": {
  13. "./package.json": "./package.json",
  14. ".": "./src/index.ts"
  15. }
  16. },
  17. "exports": {
  18. "./package.json": "./package.json",
  19. ".": {
  20. "import": {
  21. "types": "./dist/esm/index.d.ts",
  22. "default": "./dist/esm/index.js"
  23. },
  24. "require": {
  25. "types": "./dist/commonjs/index.d.ts",
  26. "default": "./dist/commonjs/index.js"
  27. }
  28. }
  29. },
  30. "files": [
  31. "dist"
  32. ],
  33. "scripts": {
  34. "preversion": "npm test",
  35. "postversion": "npm publish",
  36. "prepublishOnly": "git push origin --follow-tags",
  37. "prepare": "tshy",
  38. "pretest": "npm run prepare",
  39. "presnap": "npm run prepare",
  40. "test": "tap",
  41. "snap": "tap",
  42. "format": "prettier --write . --loglevel warn",
  43. "typedoc": "typedoc --tsconfig .tshy/esm.json ./src/*.ts"
  44. },
  45. "prettier": {
  46. "semi": false,
  47. "printWidth": 75,
  48. "tabWidth": 2,
  49. "useTabs": false,
  50. "singleQuote": true,
  51. "jsxSingleQuote": false,
  52. "bracketSameLine": true,
  53. "arrowParens": "avoid",
  54. "endOfLine": "lf"
  55. },
  56. "devDependencies": {
  57. "@types/end-of-stream": "^1.4.2",
  58. "@types/node": "^25.2.3",
  59. "end-of-stream": "^1.4.0",
  60. "node-abort-controller": "^3.1.1",
  61. "prettier": "^3.8.1",
  62. "tap": "^21.6.1",
  63. "through2": "^2.0.3",
  64. "tshy": "^3.3.2",
  65. "typedoc": "^0.28.17"
  66. },
  67. "repository": "https://github.com/isaacs/minipass",
  68. "keywords": [
  69. "passthrough",
  70. "stream"
  71. ],
  72. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
  73. "license": "BlueOak-1.0.0",
  74. "engines": {
  75. "node": ">=16 || 14 >=14.17"
  76. }
  77. }