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