File size: 2,693 Bytes
51ddcbf
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "name": "formdata-node",
  "version": "4.4.1",
  "description": "Spec-compliant FormData implementation for Node.js",
  "repository": "octet-stream/form-data",
  "sideEffects": false,
  "keywords": [
    "form-data",
    "node",
    "form",
    "upload",
    "files-upload",
    "ponyfill"
  ],
  "author": "Nick K. <[email protected]>",
  "license": "MIT",
  "main": "./lib/cjs/index.js",
  "module": "./lib/esm/browser.js",
  "browser": "./lib/cjs/browser.js",
  "exports": {
    "./package.json": "./package.json",
    ".": {
      "node": {
        "types": "./@type/index.d.ts",
        "import": "./lib/esm/index.js",
        "require": "./lib/cjs/index.js"
      },
      "browser": {
        "types": "./@type/browser.d.ts",
        "import": "./lib/esm/browser.js",
        "require": "./lib/cjs/browser.js"
      },
      "default": "./lib/esm/index.js"
    },
    "./file-from-path": {
      "types": "./@type/fileFromPath.d.ts",
      "import": "./lib/esm/fileFromPath.js",
      "require": "./lib/cjs/fileFromPath.js"
    }
  },
  "types": "./@type/index.d.ts",
  "typesVersions": {
    "*": {
      "file-from-path": [
        "@type/fileFromPath.d.ts"
      ]
    }
  },
  "engines": {
    "node": ">= 12.20"
  },
  "scripts": {
    "eslint": "eslint lib/**/*.ts",
    "staged": "lint-staged",
    "coverage": "c8 npm test",
    "report:html": "c8 -r=html npm test",
    "ci": "c8 npm test && c8 report --reporter=json",
    "build:esm": "ttsc --project tsconfig.esm.json",
    "build:cjs": "ttsc --project tsconfig.cjs.json",
    "build:types": "ttsc --project tsconfig.d.ts.json",
    "build": "npm run build:esm && npm run build:cjs && npm run build:types",
    "test": "ava --fail-fast",
    "cleanup": "npx rimraf @type \"lib/**/*.js\"",
    "prepare": "npm run cleanup && npm run build",
    "husky": "husky install"
  },
  "devDependencies": {
    "@octetstream/eslint-config": "5.0.0",
    "@types/node": "17.0.19",
    "@types/sinon": "10.0.11",
    "@typescript-eslint/eslint-plugin": "4.32.0",
    "@typescript-eslint/parser": "4.32.0",
    "@zoltu/typescript-transformer-append-js-extension": "1.0.1",
    "ava": "4.0.1",
    "c8": "7.12.0",
    "eslint": "7.32.0",
    "eslint-config-airbnb-typescript": "12.3.1",
    "eslint-import-resolver-typescript": "2.5.0",
    "eslint-plugin-ava": "12.0.0",
    "eslint-plugin-jsx-a11y": "6.4.1",
    "eslint-plugin-react": "7.26.1",
    "husky": "7.0.4",
    "lint-staged": "12.3.4",
    "rimraf": "^3.0.2",
    "sinon": "13.0.1",
    "ts-node": "10.5.0",
    "ttypescript": "1.5.13",
    "typescript": "4.5.5"
  },
  "dependencies": {
    "node-domexception": "1.0.0",
    "web-streams-polyfill": "4.0.0-beta.3"
  }
}