package.json 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. {
  2. "name": "fflate",
  3. "version": "0.5.1",
  4. "description": "High performance (de)compression in an 8kB package",
  5. "main": "./lib/index.js",
  6. "module": "./esm/browser.js",
  7. "types": "./lib/index.d.ts",
  8. "unpkg": "./umd/index.js",
  9. "jsdelivr": "./umd/index.js",
  10. "browser": {
  11. "./lib/node-worker.js": "./lib/worker.js",
  12. "./esm/index.mjs": "./esm/browser.js"
  13. },
  14. "exports": {
  15. ".": {
  16. "node": "./esm/index.mjs",
  17. "require": "./lib/index.js",
  18. "default": "./esm/browser.js"
  19. },
  20. "./node": {
  21. "import": "./esm/index.mjs",
  22. "require": "./lib/node.js"
  23. },
  24. "./browser": {
  25. "import": "./esm/browser.js",
  26. "require": "./lib/browser.js"
  27. }
  28. },
  29. "targets": {
  30. "main": false,
  31. "module": false,
  32. "browser": false,
  33. "types": false
  34. },
  35. "sideEffects": false,
  36. "homepage": "https://101arrowz.github.io/fflate",
  37. "repository": "https://github.com/101arrowz/fflate",
  38. "bugs": {
  39. "email": "[email protected]",
  40. "url": "https://github.com/101arrowz/fflate/issues"
  41. },
  42. "author": "Arjun Barrett",
  43. "license": "MIT",
  44. "keywords": [
  45. "gzip",
  46. "gunzip",
  47. "deflate",
  48. "inflate",
  49. "compression",
  50. "decompression",
  51. "zlib",
  52. "pako",
  53. "jszip",
  54. "browser",
  55. "node.js",
  56. "tiny",
  57. "fast",
  58. "zip",
  59. "unzip",
  60. "non-blocking"
  61. ],
  62. "scripts": {
  63. "build": "yarn build:lib && yarn build:docs && yarn build:demo",
  64. "script": "node -r ts-node/register scripts/$SC.ts",
  65. "build:lib": "tsc && tsc --project tsconfig.esm.json && yarn build:umd && yarn build:rewrite",
  66. "build:umd": "SC=buildUMD yarn script",
  67. "build:rewrite": "SC=rewriteBuilds yarn script",
  68. "build:demo": "tsc --project tsconfig.demo.json && parcel build demo/index.html --public-url \"./\" && SC=cpGHPages yarn script",
  69. "build:docs": "typedoc --mode library --plugin typedoc-plugin-markdown --hideProjectName --hideBreadcrumbs --readme none --disableSources --excludePrivate --excludeProtected --out docs/ src/index.ts",
  70. "test": "TS_NODE_PROJECT=test/tsconfig.json uvu -b -r ts-node/register test",
  71. "prepack": "yarn build && yarn test"
  72. },
  73. "devDependencies": {
  74. "@types/node": "^14.11.2",
  75. "@types/pako": "*",
  76. "@types/react": "^16.9.55",
  77. "@types/react-dom": "^16.9.9",
  78. "jszip": "^3.5.0",
  79. "pako": "*",
  80. "parcel": "^2.0.0-nightly.440",
  81. "parcel-config-precache-manifest": "^0.0.3",
  82. "preact": "^10.5.5",
  83. "react": "^17.0.1",
  84. "react-dom": "^17.0.1",
  85. "simple-git": "^2.22.0",
  86. "terser": "^5.3.8",
  87. "tiny-inflate": "*",
  88. "ts-node": "^9.0.0",
  89. "typedoc": "^0.17.0-3",
  90. "typedoc-plugin-markdown": "^3.0.2",
  91. "typescript": "^4.0.2",
  92. "uvu": "^0.3.3",
  93. "uzip": "*"
  94. },
  95. "alias": {
  96. "react": "preact/compat",
  97. "react-dom": "preact/compat",
  98. "react-dom/test-utils": "preact/test-utils"
  99. },
  100. "dependencies": {
  101. "@msgpack/msgpack": "^2.3.0"
  102. }
  103. }