@leichtgewicht/esm2umd
Version:
Transforms ESM to UMD.
37 lines (36 loc) • 812 B
JSON
{
"name": "@leichtgewicht/esm2umd",
"description": "Transforms ESM to UMD.",
"version": "0.4.0",
"bin": {
"esm2umd": "bin/esm2umd.mjs"
},
"main": "index.js",
"module": "index.mjs",
"exports": {
"import": "./index.mjs",
"require": "./index.cjs"
},
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/dcodeIO/esm2umd.git"
},
"dependencies": {
"@babel/core": "^7",
"@babel/plugin-transform-modules-commonjs": "^7"
},
"scripts": {
"build": "node bin/esm2umd.mjs esm2umd && rm tests/index.js",
"prepublishOnly": "npm run build",
"test": "node tests/index.cjs && node tests/index.mjs"
},
"files": [
"index.js",
"index.mjs",
"index.d.ts",
"package.json",
"README.md",
"bin/esm2umd.mjs"
]
}