forked from FGRibreau/mailchecker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
173 lines (173 loc) · 9.03 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
{
"name": "mailchecker",
"version": "6.0.13",
"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 Domakidis (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)",
"Alex Domakidis (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": {
"async": "^3.1.0",
"eventemitter2": "^6.0.0",
"glob": "^7.0.3",
"lodash": "^4.17.15",
"mu2": "~0.5.20",
"node-range": "0.1.x"
},
"devDependencies": {
"github-changes": "^2.0.3",
"mocha": "^7.0.0",
"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"
}
}