package.json 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. {
  2. "name": "minipass",
  3. "version": "4.2.8",
  4. "publishConfig": {
  5. "tag": "legacy-v4"
  6. },
  7. "description": "minimal implementation of a PassThrough stream",
  8. "main": "./index.js",
  9. "module": "./index.mjs",
  10. "types": "./index.d.ts",
  11. "exports": {
  12. ".": {
  13. "import": {
  14. "types": "./index.d.ts",
  15. "default": "./index.mjs"
  16. },
  17. "require": {
  18. "types": "./index.d.ts",
  19. "default": "./index.js"
  20. }
  21. },
  22. "./package.json": "./package.json"
  23. },
  24. "devDependencies": {
  25. "@types/node": "^17.0.41",
  26. "end-of-stream": "^1.4.0",
  27. "node-abort-controller": "^3.1.1",
  28. "prettier": "^2.6.2",
  29. "tap": "^16.2.0",
  30. "through2": "^2.0.3",
  31. "ts-node": "^10.8.1",
  32. "typedoc": "^0.23.24",
  33. "typescript": "^4.7.3"
  34. },
  35. "scripts": {
  36. "pretest": "npm run prepare",
  37. "presnap": "npm run prepare",
  38. "prepare": "node ./scripts/transpile-to-esm.js",
  39. "snap": "tap",
  40. "test": "tap",
  41. "preversion": "npm test",
  42. "postversion": "npm publish",
  43. "postpublish": "git push origin --follow-tags",
  44. "typedoc": "typedoc ./index.d.ts",
  45. "format": "prettier --write . --loglevel warn"
  46. },
  47. "repository": {
  48. "type": "git",
  49. "url": "git+https://github.com/isaacs/minipass.git"
  50. },
  51. "keywords": [
  52. "passthrough",
  53. "stream"
  54. ],
  55. "author": "Isaac Z. Schlueter <i@izs.me> (http://blog.izs.me/)",
  56. "license": "ISC",
  57. "files": [
  58. "index.d.ts",
  59. "index.js",
  60. "index.mjs"
  61. ],
  62. "tap": {
  63. "check-coverage": true
  64. },
  65. "engines": {
  66. "node": ">=8"
  67. },
  68. "prettier": {
  69. "semi": false,
  70. "printWidth": 80,
  71. "tabWidth": 2,
  72. "useTabs": false,
  73. "singleQuote": true,
  74. "jsxSingleQuote": false,
  75. "bracketSameLine": true,
  76. "arrowParens": "avoid",
  77. "endOfLine": "lf"
  78. }
  79. }