eml-generator
Version:
Generate EML (email) files from JSON data in Node.js and browsers
81 lines • 2.05 kB
JSON
{
"name": "eml-generator",
"version": "1.0.0",
"description": "Generate EML (email) files from JSON data in Node.js and browsers",
"main": "dist/eml.js",
"module": "dist/eml.mjs",
"types": "dist/eml.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/fochlac/eml-generator"
},
"exports": {
".": {
"types": "./dist/eml.d.ts",
"require": "./dist/eml.js",
"import": "./dist/eml.mjs"
}
},
"bin": {
"eml-generator": "./dist/cli.cjs"
},
"files": [
"dist",
"src"
],
"scripts": {
"build": "rollup -c",
"test": "jest",
"typecheck": "tsc --noEmit",
"prepublishOnly": "npm run validate && npm run build",
"validate": "npm run typecheck && npm run test",
"cli": "node dist/cli.js",
"release": "npm run validate && npm version",
"postversion": "git push && git push --tags"
},
"keywords": [
"email",
"eml",
"generator",
"mime",
"rfc5322"
],
"author": "Florian Riedel",
"license": "MIT",
"devDependencies": {
"@rollup/plugin-typescript": "^11.1.6",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"jest": "^29.7.0",
"rollup": "^4.12.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.3.3"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "node",
"extensionsToTreatAsEsm": [
".ts"
],
"moduleNameMapper": {
"^(\\.{1,2}/.*)\\.js$": "$1"
},
"transform": {
"^.+\\.tsx?$": [
"ts-jest",
{
"useESM": true
}
]
}
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"engines": {
"node": ">=16.0.0"
}
}