{
  "name": "esm2umd",
  "description": "Transforms ESM to UMD.",
  "version": "0.3.1",
  "license": "MIT",
  "type": "module",
  "main": "umd/index.js",
  "types": "umd/index.d.ts",
  "exports": {
    ".": {
      "import": {
        "types": "./index.d.ts",
        "default": "./index.js"
      },
      "require": {
        "types": "./umd/index.d.ts",
        "default": "./umd/index.js"
      }
    }
  },
  "bin": {
    "esm2umd": "bin/esm2umd.js"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/dcodeIO/esm2umd.git"
  },
  "dependencies": {
    "@babel/core": "^7.26.8",
    "@babel/helper-plugin-utils": "^7.26.5"
  },
  "scripts": {
    "build": "node bin/esm2umd esm2umd index.js > umd/index.js && prettier --write umd/index.js",
    "lint": "prettier --check .",
    "format": "prettier --write .",
    "prepublishOnly": "npm run build",
    "test": "npm run test:unit && npm run test:typescript",
    "test:unit": "node tests",
    "test:typescript": "tsc --project tests/typescript/tsconfig.esnext.json && tsc --project tests/typescript/tsconfig.nodenext.json && tsc --project tests/typescript/tsconfig.commonjs.json && tsc --project tests/typescript/tsconfig.global.json"
  },
  "files": [
    "index.js",
    "index.d.ts",
    "umd/index.js",
    "umd/index.d.ts",
    "umd/package.json",
    "types.d.ts",
    "package.json",
    "README.md",
    "bin/esm2umd.js"
  ],
  "devDependencies": {
    "prettier": "^3.5.0",
    "requirejs": "^2.3.7",
    "typescript": "^5.7.3"
  }
}
