-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
89 lines (89 loc) · 2.87 KB
/
Copy pathpackage.json
File metadata and controls
89 lines (89 loc) · 2.87 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
{
"name": "@claudiu-ceia/ts-duckling",
"version": "0.7.2",
"description": "Extract typed dates, times, URLs, countries, quantities, and sensitive values from text.",
"keywords": [
"browser",
"bun",
"date-parser",
"deno",
"entity-extraction",
"nlp",
"nodejs",
"parser-combinators",
"pii-detection",
"sensitive-data",
"structured-data",
"text-parsing",
"time-parser",
"typescript",
"url-parser"
],
"homepage": "https://claudiuceia.github.io/ts-duckling/",
"bugs": {
"url": "https://github.com/ClaudiuCeia/ts-duckling/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ClaudiuCeia/ts-duckling.git"
},
"workspaces": [
"docs"
],
"files": [
"dist",
"LICENSE",
"README.md",
"THIRD_PARTY_NOTICES.md"
],
"type": "module",
"sideEffects": false,
"types": "./dist/mod.d.ts",
"exports": {
".": {
"types": "./dist/mod.d.ts",
"import": "./dist/mod.js"
}
},
"scripts": {
"check": "bun run format:check && bun run lint && bun run typecheck && bun run metadata:check && bun run test",
"format": "oxfmt mod.ts src tests examples docs/examples bench scripts package.json deno.json tsconfig.json tsconfig.build.json README.md",
"format:check": "oxfmt --check mod.ts src tests examples docs/examples bench scripts package.json deno.json tsconfig.json tsconfig.build.json README.md",
"lint": "oxlint --deny-warnings mod.ts src tests examples docs/examples bench scripts",
"typecheck": "tsc -p tsconfig.json",
"test": "bun test ./tests",
"examples:check": "bun test ./examples && bun test --cwd docs ./examples",
"metadata:check": "bun run scripts/check_metadata.ts",
"coverage": "bun test --coverage ./tests",
"build": "rm -rf dist && tsc -p tsconfig.build.json",
"package:check": "bun run build && bun run examples:check && publint && attw --pack . --profile esm-only",
"prepack": "bun run build",
"bench": "bun run bench/extract.bench.ts && bun run bench/vocabulary.bench.ts",
"bench:extract": "bun run bench/extract.bench.ts",
"bench:vocabulary": "bun run bench/vocabulary.bench.ts",
"docs:dev": "bun run --cwd docs dev",
"docs:build": "bun run --cwd docs build",
"update:data": "bun run scripts/update_data.ts",
"hooks:install": "ln -sf ../../scripts/pre-commit .git/hooks/pre-commit && chmod +x scripts/pre-commit",
"hooks:uninstall": "rm -f .git/hooks/pre-commit"
},
"dependencies": {
"@claudiu-ceia/combine": "0.11.2",
"@noble/hashes": "2.4.0",
"entities": "8.0.0"
},
"devDependencies": {
"@arethetypeswrong/cli": "0.18.5",
"@types/bun": "1.4.0",
"mitata": "1.0.34",
"oxfmt": "0.65.0",
"oxlint": "1.80.0",
"publint": "0.3.24",
"typescript": "~5.9.0"
},
"engines": {
"node": ">=22"
},
"packageManager": "bun@1.4.0"
}