package.json 2.5 KB

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