-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.7 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.7 KB
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
{
"name": "@quarg/burnerguard",
"version": "1.0.2",
"description": "Detect disposable and burner email addresses. Static blocklist mode with zero dependencies, or connect to the BurnerGuard API for real-time risk scoring.",
"keywords": [
"email",
"disposable",
"burner",
"tempmail",
"blocklist",
"allowlist",
"domain",
"validation",
"spam",
"risk-score",
"node",
"typescript",
"email-validation",
"security",
"burnerguard",
"quarg"
],
"author": "Michael De Soto",
"private": false,
"license": "MIT",
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
}
},
"engines": {
"node": ">=20"
},
"files": [
"dist/**/*",
"LICENSE",
"README.md"
],
"scripts": {
"generate": "ts-node scripts/generate-bundled-data.ts",
"build": "npm run generate && rimraf dist dist-esm && tsc -p tsconfig.json && tsc -p tsconfig-esm.json && node -e \"const fs=require('fs'),p=require('path');function r(d){fs.readdirSync(d).forEach(f=>{const s=p.join(d,f);fs.statSync(s).isDirectory()?r(s):f.endsWith('.js')&&fs.renameSync(s,s.replace(/\\.js$/,'.mjs'))})};r('dist-esm')\" && cp -r dist-esm/* dist/ && rm -rf dist-esm",
"lint": "eslint \"{src,test}/**/*.ts\" --fix",
"prepublishOnly": "npm run lint && npm run test && npm run build",
"test": "jest --config ./test/jest-e2e.json",
"test:watch": "jest --config ./test/jest-e2e.json --watch",
"update-blocklist": "ts-node scripts/update-blocklist.ts",
"version:patch": "npm version patch --no-git-tag-version",
"watch": "tsc --watch"
},
"repository": {
"type": "git",
"url": "git+https://github.com/quargtools/burnerguard.git"
},
"bugs": {
"url": "https://github.com/quargtools/burnerguard/issues"
},
"homepage": "https://github.com/quargtools/burnerguard#readme",
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*\\.spec\\.ts$",
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"devDependencies": {
"@eslint/eslintrc": "^3.3.5",
"@eslint/js": "^10.0.1",
"@stylistic/eslint-plugin": "^5.10.0",
"@types/jest": "^29.5.14",
"@types/node": "^22.19.15",
"eslint": "^10.2.0",
"globals": "^17.5.0",
"jest": "^29.7.0",
"rimraf": "^6.1.3",
"ts-jest": "^29.4.6",
"ts-node": "^10.9.2",
"typescript": "^5.8.3",
"typescript-eslint": "^8.58.2"
}
}