-
Notifications
You must be signed in to change notification settings - Fork 8
/
package.json
138 lines (138 loc) · 3.53 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
{
"name": "email-regex-safe",
"description": "Regular expression matching for email addresses. Maintained, configurable, more accurate, and browser-friendly alternative to email-regex. Works in Node v14+ and browsers. Made for Spam Scanner and Forward Email.",
"version": "4.0.0",
"author": "Forward Email (https://forwardemail.net)",
"browser": {
"re2": false
},
"bugs": {
"url": "https://github.com/spamscanner/email-regex-safe/issues"
},
"contributors": [
"Forward Email (https://forwardemail.net)"
],
"dependencies": {
"ip-regex": "4",
"tlds": "^1.242.0"
},
"devDependencies": {
"@babel/cli": "^7.22.10",
"@babel/core": "^7.22.10",
"@babel/eslint-parser": "^7.22.10",
"@babel/preset-env": "^7.22.10",
"@commitlint/cli": "^17.7.1",
"@commitlint/config-conventional": "^17.7.0",
"ava": "^4.3.0",
"babelify": "^10.0.0",
"browserify": "^17.0.0",
"cross-env": "^7.0.3",
"eslint": "^8.47.0",
"eslint-config-xo-lass": "^2.0.1",
"eslint-plugin-compat": "^4.1.4",
"eslint-plugin-node": "^11.1.0",
"fixpack": "^4.0.0",
"husky": "^8.0.3",
"jsdom": "15",
"lint-staged": "^14.0.0",
"nyc": "^15.1.0",
"re2": "^1.20.1",
"remark-cli": "^11.0.0",
"remark-preset-github": "^4.0.4",
"rimraf": "^5.0.1",
"tinyify": "^3.1.0",
"xo": "^0.56.0"
},
"engines": {
"node": ">=14"
},
"files": [
"lib",
"dist"
],
"homepage": "https://github.com/spamscanner/email-regex-safe",
"jsdelivr": "dist/email-regex-safe.min.js",
"keywords": [
"2020",
"7661",
"CVE-2020-7661",
"addr",
"address",
"business",
"checker",
"checking",
"checkr",
"cve",
"detect",
"email",
"emails",
"expr",
"expresion",
"expression",
"expression",
"from",
"gapps",
"get",
"gmail",
"google",
"googlemail",
"html",
"mail",
"mails",
"maintained",
"parse",
"parser",
"parsing",
"regex",
"regexer",
"regexer",
"regexes",
"regexing",
"regexp",
"regular",
"safe",
"scan",
"sniff",
"str",
"string",
"syntax",
"text",
"url",
"urls",
"username",
"validation",
"validator"
],
"license": "MIT",
"main": "lib/index.js",
"peerDependencies": {
"re2": "^1.20.1"
},
"peerDependenciesMeta": {
"re2": {
"optional": true
}
},
"repository": {
"type": "git",
"url": "https://github.com/spamscanner/email-regex-safe"
},
"scripts": {
"browserify": "browserify src/index.js -o dist/email-regex-safe.js -s emailRegexSafe -g [ babelify --configFile ./.dist.babelrc ]",
"build": "npm run build:clean && npm run build:lib && npm run build:dist",
"build:clean": "rimraf lib dist",
"build:dist": "npm run browserify && npm run minify",
"build:lib": "babel --config-file ./.lib.babelrc src --out-dir lib",
"lint": "npm run lint:js && npm run lint:md && npm run lint:pkg && npm run lint:lib && npm run lint:dist",
"lint:dist": "eslint --no-inline-config -c .dist.eslintrc dist",
"lint:js": "xo --fix",
"lint:lib": "eslint -c .lib.eslintrc lib",
"lint:md": "remark . -qfo",
"lint:pkg": "fixpack",
"minify": "cross-env NODE_ENV=production browserify src/index.js -o dist/email-regex-safe.min.js -s emailRegexSafe -g [ babelify --configFile ./.dist.babelrc ] -p tinyify",
"prepare": "husky install",
"pretest": "npm run build && npm run lint",
"test": "cross-env NODE_ENV=test nyc ava"
},
"unpkg": "dist/email-regex-safe.min.js"
}