package.json 2.4 KB

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