-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
77 lines (77 loc) · 2.33 KB
/
Copy pathpackage.json
File metadata and controls
77 lines (77 loc) · 2.33 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
{
"name": "first-name-parser",
"version": "0.1.0",
"description": "Extract greeting-safe first names from website full-name form submissions. JavaScript and TypeScript with zero runtime dependencies.",
"license": "MIT",
"author": "Serbyte Development",
"repository": {
"type": "git",
"url": "git+https://github.com/Serbyte-Development/first-name-parser.git"
},
"bugs": {
"url": "https://github.com/Serbyte-Development/first-name-parser/issues"
},
"homepage": "https://github.com/Serbyte-Development/first-name-parser#readme",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"files": [
"dist"
],
"scripts": {
"build": "tsup src/index.ts --tsconfig tsconfig.build.json --format esm,cjs --dts --clean",
"test": "tsx --test test/*.test.ts",
"typecheck": "tsc --noEmit",
"check": "npm run typecheck && npm test && npm run build",
"benchmark:probablepeople": "tsx benchmarks/public/eval-probablepeople.ts",
"benchmark:census": "tsx benchmarks/public/eval-census-vocabulary.ts",
"benchmark:census:generated": "tsx benchmarks/public/eval-census-generated.ts",
"benchmark:census:extract": "python3 benchmarks/public/extract-census-fixtures.py",
"benchmark:public": "npm run benchmark:probablepeople && npm run benchmark:census && npm run benchmark:census:generated",
"benchmark:private": "tsx benchmarks/private/benchmark.mjs",
"benchmark:private:two-letter": "tsx benchmarks/private/analyze-two-letter.mjs",
"prepare": "npm run build"
},
"keywords": [
"first name",
"first-name",
"first name parser",
"name-parser",
"first-name-parser",
"extract first name",
"first name extraction",
"full name",
"full-name",
"full name parser",
"name parser",
"human name",
"human name parser",
"website form",
"form input",
"contact form",
"lead form",
"greeting",
"customer follow-up",
"personalization",
"typescript",
"javascript",
"nodejs"
],
"engines": {
"node": ">=18"
},
"devDependencies": {
"@types/node": "^24.5.2",
"tsup": "^8.5.0",
"tsx": "^4.20.5",
"typescript": "^5.9.2"
}
}