eml-parse-js
Version:
format EML file in browser env
111 lines (110 loc) • 2.64 kB
JSON
{
"name": "eml-parse-js",
"version": "1.2.0-beta.1",
"description": "format EML file in browser env",
"main": "./dist/index.cjs.js",
"module": "./dist/index.es.js",
"browser": "./dist/index.umd.js",
"typings": "./dist/index.d.ts",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"node": "./dist/index.cjs.js",
"import": "./dist/index.es.js",
"require": "./dist/index.cjs.js",
"default": "./dist/index.es.js"
}
},
"scripts": {
"build": "vite build",
"build:publish": "npm run clean:dist && npm run build",
"clean:dist": "rimraf dist",
"eslint:init": "eslint --init",
"lint": "eslint --cache --fix src",
"link:lib": "rimraf node_modules/eml-parse-js && linklocal",
"prettier": "prettier --parser typescript --write src/*ts && npm run lint",
"prepublishOnly": "npm run prettier && npm run build:publish && npm run test",
"test": "mocha -r ts-node/register \"test/**/*test.ts\" --reporter spec",
"coverage": "c8 mocha -r ts-node/register \"test/**/*test.ts\""
},
"files": [
"dist",
"LICENSE"
],
"private": false,
"repository": {
"type": "git",
"url": "git+https://github.com/MQpeng/eml-parse-js"
},
"keywords": [
"eml",
"eml-parse",
"eml-format-js",
"eml-parse-js",
"typescript"
],
"author": "bean",
"license": "MIT",
"bugs": {
"url": "https://github.com/MQpeng/eml-parse-js/issues"
},
"homepage": "https://github.com/MQpeng/eml-parse-js#readme",
"contributors": [
{
"name": "Charlie Harding",
"url": "https://github.com/c-harding"
},
{
"name": "Pádraig Weeks",
"url": "https://github.com/pmweeks98"
},
{
"name": "Thomas Oeser",
"url": "https://github.com/thomasoeser"
},
{
"name": "Robert Scheinpflug",
"url": "https://github.com/neversun"
},
{
"name": "Bean Q",
"url": "https://github.com/MQpeng"
}
],
"devDependencies": {
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.17.0",
"@types/mocha": "^10.0.6",
"@types/node": "^24.3.0",
"c8": "^9.1.0",
"chai": "^4.2.0",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"iconv-lite": "^0.6.3",
"linklocal": "^2.8.2",
"mocha": "^6.2.2",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.3",
"vite-plugin-dts": "^4.3.0"
},
"dependencies": {
"@sinonjs/text-encoding": "^0.7.2",
"js-base64": "^3.7.2"
},
"gitHooks": {
"pre-commit": "lint-staged"
},
"lint-staged": {
"src/**/*.ts": [
"npm run lint",
"prettier --parser typescript --write",
"git add"
]
},
"packageManager": "pnpm@9.15.1"
}