package.json 2.3 KB

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