-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
79 lines (79 loc) · 2.36 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
{
"name": "ngrammy",
"version": "0.2.1",
"description": "N-gram search index that is character based and supports Unicode. Useful for implementing autocomplete in functional programming style.",
"author": "Peter Hillerström <[email protected]>",
"license": "MIT",
"homepage": "https://github.com/peterhil/ngrammy#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/peterhil/ngrammy.git"
},
"bugs": {
"url": "https://github.com/peterhil/ngrammy/issues"
},
"engines": {
"node": ">=20"
},
"files": [
"dist",
"src"
],
"main": "dist/index.js",
"module": "dist/ngrammy.esm.js",
"typings": "dist/index.d.ts",
"scripts": {
"analyze": "size-limit --why",
"doc": "typedoc",
"size": "size-limit",
"prepare": "tsc -noEmit && ./build.js",
"lint": "eslint --config eslint.config.mjs src *.js *.mjs",
"coverage": "TS_NODE_PROJECT=tsconfig.test.json tap --no-browser --coverage-report=html 'src/**/*.test.ts'",
"test": "TS_NODE_PROJECT=tsconfig.test.json tap",
"build": "rm -rf dist/* && ./build.js",
"dev": "esbuild src/index.ts --bundle --watch --outfile=dev/ngrammy.esm.js"
},
"husky": {
"hooks": {
"pre-commit": "eslint"
}
},
"devDependencies": {
"@eslint/js": "^9.9.1",
"@size-limit/esbuild": "^11.1.4",
"@size-limit/esbuild-why": "^11.1.4",
"@size-limit/preset-small-lib": "^11.1.4",
"@types/eslint__js": "^8.42.3",
"@types/node": "^22.5.2",
"@types/tap": "^15.0.12",
"eslint": "^9.9.1",
"estrella": "^1.4.1",
"fast-check": "^2.17.0",
"globals": "^15.9.0",
"husky": "^7.0.1",
"prettier": "^2.3.2",
"size-limit": "^11.1.4",
"source-map-support": "^0.5.19",
"tap": "^21.0.1",
"ts-node": "^10.1.0",
"tslib": "^2.3.0",
"typedoc": "^0.26.6",
"typescript": "^5.5.4",
"typescript-eslint": "^8.4.0"
},
"keywords": [
"ngram",
"search",
"index",
"bigram",
"trigram",
"unicode",
"characters",
"functional-programming",
"autocomplete",
"string-algorithm"
],
"dependencies": {
"rambdax": "^11.2.0"
}
}