UNPKG

smtp-server-as-promised

Version:
79 lines (78 loc) 2.95 kB
{ "name": "smtp-server-as-promised", "version": "5.2.5", "description": "Promisify smtp-server module", "main": "lib/smtp-server-as-promised.js", "typings": "lib/smtp-server-as-promised.d.ts", "repository": { "type": "git", "url": "https://github.com/dex4er/js-smtp-server-as-promised" }, "keywords": [ "promise", "smtp", "smtp-server" ], "author": "Piotr Roszatycki", "license": "MIT", "bugs": { "url": "https://github.com/dex4er/js-smtp-server-as-promised/issues" }, "homepage": "http://github.com/dex4er/js-smtp-server-as-promised", "engines": { "node": ">=6.0.0" }, "dependencies": { "is-stream-ended": "^0.1.4", "null-writable": "^1.0.5", "smtp-server": "^3.5.0", "stream.finished": "^1.2.0", "tslib": "^1.10.0" }, "devDependencies": { "@types/chai": "^4.2.3", "@types/dirty-chai": "^2.0.2", "@types/mocha": "^5.2.7", "@types/node": "^12.7.12", "@types/nodemailer": "^6.2.1", "@types/semver": "^6.0.2", "@types/smtp-server": "^3.5.2", "chai": "^4.2.0", "changelog-parser": "^2.8.0", "coveralls": "^3.0.6", "cross-env": "^6.0.3", "dirty-chai": "^2.0.1", "eslint": "^6.5.1", "eslint-config-prettier": "^6.4.0", "eslint-plugin-import": "^2.18.2", "eslint-plugin-node": "^10.0.0", "eslint-plugin-promise": "^4.2.1", "markdownlint-cli": "^0.18.0", "mocha": "^6.2.1", "mocha-steps": "^1.3.0", "nyc": "^14.1.1", "prettier": "^1.18.2", "promise-readable": "^5.0.3", "promise-socket": "^6.0.2", "semver": "^6.3.0", "shx": "^0.3.2", "ts-node": "^8.4.1", "tslint": "^5.20.0", "tslint-config-prettier": "^1.18.0", "typescript": "^3.6.4" }, "scripts": { "compile": "tsc --pretty --project .", "clean": "npm run clean:compile && npm run clean:coverage", "clean:compile": "shx rm -rf lib", "clean:coverage": "shx rm -rf coverage .nyc_output", "lint": "npm run compile && tsc --pretty -p examples && tsc --pretty -p test && eslint . && tslint -t stylish -p . && tslint -t stylish -p examples && tslint -t stylish -p test && prettier --ignore-path .gitignore --list-different '**/*.{js,json,md,ts,yml}' && markdownlint \"*.md\"", "postpublish": "node -e \"require(\\\"changelog-parser\\\")(\\\"CHANGELOG.md\\\").then(ch => console.log(ch.versions.filter(v => v.version === \\\"$npm_package_version\\\").map(v => \\\"v$npm_package_version\\n\\n\\\" + v.body).concat(\\\"Release v$npm_package_version\\\")[0]))\" | xargs -0 git tag v$npm_package_version -a -m && git push --tags", "prepack": "npm run compile", "prepublishOnly": "npm run test", "pretest": "npm run lint", "test": "npm run test:spec", "test:spec": "$NYC mocha \"test/*.ts\"", "test:coverage": "npm run clean:coverage && cross-env NYC=\"nyc --no-clean --reporter=lcov\" npm run test:spec && nyc report --reporter=text-summary --color" } }