chore: reorganize manifest

This commit is contained in:
Zack Schuster 2022-07-28 15:02:25 -07:00
parent d2b6e3cd70
commit d735d54e5a
1 changed files with 19 additions and 21 deletions

View File

@ -2,6 +2,7 @@
"name": "emailjs", "name": "emailjs",
"description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server", "description": "send text/html emails and attachments (files, streams and strings) from node.js to any smtp server",
"version": "4.0.0", "version": "4.0.0",
"license": "MIT",
"author": "eleith", "author": "eleith",
"contributors": [ "contributors": [
"izuzak", "izuzak",
@ -15,6 +16,23 @@
"url": "http://github.com/eleith/emailjs.git" "url": "http://github.com/eleith/emailjs.git"
}, },
"type": "module", "type": "module",
"types": "./email.ts",
"exports": "./email.js",
"engines": {
"node": ">=12"
},
"files": [
"email.js",
"email.ts",
"smtp"
],
"scripts": {
"build": "rollup -c rollup.config.ts",
"lint": "eslint *.ts \"+(smtp|test)/*.ts\"",
"prepublishOnly": "eslint --fix email.js",
"pretest": "yarn build",
"test": "ava"
},
"packageManager": "yarn@1.22.18", "packageManager": "yarn@1.22.18",
"devDependencies": { "devDependencies": {
"@ledge/configs": "23.3.23322", "@ledge/configs": "23.3.23322",
@ -43,25 +61,5 @@
"typescript": { "typescript": {
"optional": true "optional": true
} }
}, }
"engines": {
"node": ">=12"
},
"files": [
"email.js",
"email.ts",
"smtp"
],
"types": "./email.ts",
"exports": {
"default": "./email.js"
},
"scripts": {
"build": "rollup -c rollup.config.ts",
"lint": "eslint *.ts \"+(smtp|test)/*.ts\"",
"prepublishOnly": "eslint --fix email.js",
"pretest": "yarn build",
"test": "ava"
},
"license": "MIT"
} }