package.json 2.3 KB

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