UNPKG

mailchecker

Version:

Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.

172 lines (171 loc) 9.22 kB
{ "name": "mailchecker", "version": "6.0.18", "description": "Cross-language temporary (disposable/throwaway) email detection library. Covers hundreds fake email providers.", "main": "platform/node/index.js", "files": [ "platform/node/index.js", "types.d.ts" ], "scripts": { "build": "node lib/clean.js && node gen.js", "setup": "npm run build && npm-run-all --max-parallel 2 --parallel setup:*", "setup:ruby": "docker run -i -v $(pwd):/app -w /app ruby:2.2 bash -c 'gem install bundler -v 1.17.3 && bundler'", "setup:clojure": "docker run -i -v $(pwd):/app -w /app clojure:lein-2.8.1 lein install", "setup:rust": "docker run -i -v $(pwd)/platform/rust:/source -w /source -e CARGO_HOME=/source/cargo rust:1.74.0-slim-buster cargo build", "full-build": "npm run build && npm run compile", "test": "npm run build && npm-run-all --max-parallel 1 --parallel test:*", "test:clojure": "echo 'skipping clojure test because it cant handle code too large' || docker run -i -v $(pwd):/app -w /app clojure:lein-2.8.1 lein exec test/platform.clojure.test.clj", "test:elixir": "docker run -i -v $(pwd):/app -w /app elixir:1.6-slim elixir test/platform.elixir.test.exs", "test:go": "docker run -i -v $(pwd):/app -w /app golang:1.13-alpine3.10 go test ./...", "test:node": "mocha --timeout 10000 -r should -R spec -u tdd", "test:php": "docker run --platform linux/amd64 -i -v $(pwd):/code -e XDEBUG_MODE=coverage -w /code pipelinecomponents/phpunit phpunit test/platform.php.test.php", "test:python": "docker run -i -v $(pwd):/app -w /app python:2.7-alpine3.7 python test/*.test.py", "test:python3": "docker run -i -v $(pwd):/app -w /app python:3.6-alpine3.7 python test/*.test.py", "test:ruby": "docker run -i -v $(pwd):/app -w /app ruby:2.2 ruby test/platform.ruby.test.rb", "test:rust": "docker run -i -v $(pwd)/platform/rust:/source -w /source -e CARGO_HOME=/source/cargo rust:1.82.0-slim-bullseye cargo test", "watch": "mocha -r should -R spec -u tdd -w", "compile": "projectz compile", "updtr": "updtr", "changelog": "github-changes --owner $(node -p \"require('./package.json').repository.url.split('/')[3];\") --repository $(node -p \"a=require('./package.json').repository.url.split('/');a[a.length-1].split('.')[0]\") --token $CHANGELOG_GITHUB_TOKEN_FG -f CHANGELOG.md", "changelog-git": "npm run changelog && git add CHANGELOG.md && git commit --no-verify -m 'docs(changelog): updated' && git push origin master", "release-after-pr": "git pull --rebase && npm run full-build && npm run test && git commit --no-verify -a -m 'feat(build): update plateform files' && npm-release patch && npm run release-cross", "release-patch": "npm run full-build && npm run test && git commit --no-verify -a -m 'feat(build): update plateform files' && npm-release patch && npm run release-cross", "release-minor": "npm run full-build && npm run test && git commit --no-verify -a -m 'feat(build): update plateform files' && npm-release minor && npm run release-cross", "release-cross": "npm run changelog-git && npm run publish-gem && npm run publish-python && npm run publish-go && npm run publish-cargo", "publish-go": "version=$(echo $npm_package_version | cut -d '.' -f 1) && sed -E -i '' \"s#github.com/FGRibreau/mailchecker/(.*)#github.com/FGRibreau/mailchecker/v${version}#g\" go.mod", "publish-gem": "sed -E -i '' \"s/spec.version[[:space:]]*=(.*)/spec.version='${npm_package_version}'/g\" *.gemspec && (git add *.gemspec && git commit --no-verify -m \"feat(gemspec): updated to ${npm_package_version}\" || true) && gem build *.gemspec && gem push ruby-mailchecker-${npm_package_version}.gem", "publish-cargo": "cd platform/rust && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\"/g\" Cargo.toml && (git add Cargo.toml && git add Cargo.lock && git commit --no-verify -m \"feat(cargo): updated to ${npm_package_version}\" && git push || true); sleep 3; pwd; (git add Cargo.lock && git commit --no-verify -m 'chore: update Cargo.lock' && git push || true) && cargo package --allow-dirty && cargo publish --allow-dirty", "publish-python": "cd platform/python && sed -E -i '' \"s/version[[:space:]]*=(.*)/version = \\\"${npm_package_version}\\\",/g\" setup.py && (git add setup.py && git commit --no-verify -m \"feat(python): updated to ${npm_package_version}\" || true) && rm -rf dist/* && python3 -m build && twine upload --repository mailchecker dist/*" }, "repository": { "type": "git", "url": "git://github.com/FGRibreau/mailchecker.git" }, "keywords": [ "email", "domains", "disposable" ], "engines": { "node": ">=0.10" }, "browsers": false, "maintainers": [ "Francois-Guillaume Ribreau <github@fgribreau.com> (http://bit.ly/2c7uFJq)" ], "sponsors": [], "contributors": [ "Owen Stephens <owen@owenstephens.co.uk> (http://www.owenstephens.co.uk)", "Jacob Burenstam Linder (http://jacobburenstam.com)", "Herman Slatman (http://hermanslatman.nl)", "trisix <d.trisix@gmail.com> (https://github.com/trisix)", "Greenkeeper (http://greenkeeper.io/)", "Dustin Clark <dusty@isperldead.net> (http://wusty.io)", "Anton Zhiyanov <m@antonz.ru> (http://antonz.ru/)", "Bruel Nicolas (https://github.com/NBruel)", "Robin (https://github.com/R-J)", "Spir (https://github.com/Spir)", "Vincent Giersch <github@vincent.sh> (http://flat.io)", "Adrian Carolli (http://adriancarolli.surge.sh/)", "Dave Powers (http://djpowers.github.io)", "Frank Phillips (https://github.com/frankydp)", "LuckyDino (https://github.com/LuckyDino)", "ven (https://github.com/vendethiel)", "Romain Gay <v@42.am> (http://www.linkedin.com/in/romaingay)", "Sebastian Cohnen (http://stormforger.com)", "Dalai (https://github.com/dav1a1223)", "quaswex (https://github.com/quaswex)", "sxyuan (https://github.com/sxyuan)", "Francois-Guillaume Ribreau <github@fgribreau.com> (http://bit.ly/2c7uFJq)", "Dusty <hey@dusty.wtf> (http://dusty.wtf)", "larsvegas <larsvegas+github@synpro.io> (http://synpro.io)", "Zeeshan Muhammad (zeeshanmuhammad.com)", "kkleejoe (https://github.com/kkleejoe)", "Luiz Freneda (http://www.freneda.com.br)", "thorinisme (https://github.com/thorinisme)", "Liudas Šumskas (https://github.com/Outsidaz)", "Alexander (https://github.com/Wapweb)", "Alex Dom￸aki￸dis (http://gitlab.com/datio/)", "Carlos Rios (http://zanaca.com)", "Jacek Bzdak (https://github.com/jbzdak)", "D (https://github.com/dustywusty)", "Jonas Haag (http://cashlink.io)", "￸A￸l￸e￸x D￸o￸m￸a￸k￸i￸d￸i￸s (http://alex.domakidis.com/)", "Dan McGregor (https://github.com/mcgregordan)", "Thiago Rodrigues (xthiago) (http://xthiago.com/)", "Dilli Labs LLC (http://www.dillilabs.com)", "Kieron Lawson (http://spokephone.com)", "Kslr (http://kslr.org)", "Lint (http://C0derLint.github.io)", "chadliu23 (https://github.com/chadliu23)", "milkyklim (http://t.me/milkyklim)", "Sharat M R (https://github.com/cosmosgenius)", "Nicolas Perraud (https://github.com/nicolasPerraud)", "tbdmainrepo (https://github.com/tbdmainrepo)", "Kslr (https://github.com/kslr)", "Fabio Caccamo (http://fabiocaccamo.com/)", "cyril souillard (https://github.com/nayluge)", "Grégoire Pineau (http://blog.lyrixx.info)", "Bruno Bossola (meterian.io)", "florian-crtl (https://github.com/florian-crtl)", "mikeyzm (http://aneveningcalm.com)", "Grégoire Pineau (http://lyrixx.info/)", "alonga (https://github.com/alongat)", "Vitalii Tverdokhlib (nitralabs.com)", "Francis Chuang (https://github.com/F21)", "mikeyzm (https://github.com/mikeyzm)", "Pascal Vizeli (http://www.syshack.ch)", "Caroline (https://github.com/carolineBda)", "Daniel Mihai (http://danielmihai.ro)", "HWVS (https://github.com/hwvs)", "seb's (https://github.com/sydneyitguy)", "Chigusa0w0 (http://bug.is)", "Maki (http://cutelab.space)" ], "badges": { "list": [ "travisci", "npmversion", "npmdownloads", "daviddm", "daviddmdev", "---", "patreon", "gratipay", "flattr", "paypal", "bitcoin" ], "config": { "patreonUsername": "fgribreau", "gratipayUsername": "fgribreau", "flattrUsername": "fgribreau", "paypalURL": "https://fgribreau.me/paypal", "bitcoinURL": "https://www.coinbase.com/fgribreau" } }, "author": "Francois-Guillaume Ribreau <npm@fgribreau.com> (http://fgribreau.com)", "license": "MIT", "dependencies": {}, "devDependencies": { "async": "^3.1.0", "eventemitter2": "^6.0.0", "github-changes": "^2.0.3", "glob": "^7.0.3", "lodash": "^4.17.15", "mocha": "^7.0.0", "mu2": "~0.5.20", "nodeunit": "^0.11.3", "npm-release": "^1.0.0", "npm-run-all": "^4.1.5", "projectz": "^1.19.0", "psl": "^1.7.0", "should": "^13.2.3", "updtr": "^3.1.0" }, "typings": "./types.d.ts", "bugs": { "url": "https://github.com/FGRibreau/mailchecker/issues" } }