package.json 2.7 KB

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