-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
106 lines (106 loc) · 3.09 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
{
"$schema": "https://json.schemastore.org/package",
"name": "didyoumean2",
"version": "7.0.4",
"description": "a library for matching human-quality input to a list of potential matches using the Levenshtein distance algorithm",
"keywords": [
"closest",
"compare",
"comparison",
"didyoumean",
"diff",
"difference",
"distance",
"edit",
"find",
"fuzzy",
"leven",
"levenshtein",
"match",
"matching",
"similar",
"similarity",
"string",
"suggest",
"suggestion",
"text",
"typescript",
"word"
],
"homepage": "https://github.com/foray1010/didyoumean2",
"bugs": "https://github.com/foray1010/didyoumean2/issues",
"repository": "foray1010/didyoumean2",
"license": "MIT",
"author": "foray1010",
"sideEffects": false,
"type": "module",
"exports": {
"import": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"require": {
"types": "./dist/index.d.ts",
"default": "./dist/index.cjs"
}
},
"main": "./dist/index.cjs",
"typings": "./dist/index.d.ts",
"files": [
"dist",
"*.md"
],
"scripts": {
"build": "yarn clean:build && tsc --project tsconfig.build.json && rollup --configPlugin \"babel={ babelHelpers: 'runtime', extensions: ['.js', '.ts'] }\" -c",
"ci": "yarn build && npm-run-all -p 'lint:*' 'type:*' && yarn test && size-limit",
"clean:build": "shx rm -rf dist/ build/dts/",
"lint": "npm-run-all -p 'lint:*'",
"lint:js": "eslint .",
"lint:md": "yarn remark .",
"prettier": "prettier --ignore-path=node_modules/@foray1010/prettier-config/prettierignore",
"remark": "remark --frail --ignore-path=node_modules/@foray1010/remark-preset/remarkignore --ignore-path-resolve-from=cwd --silently-ignore",
"test": "jest",
"type:check": "tsc",
"type:coverage": "type-coverage --strict --at-least 99 --detail --ignore-catch"
},
"dependencies": {
"@babel/runtime": "^7.24.8",
"fastest-levenshtein": "^1.0.16",
"lodash.deburr": "^4.1.0"
},
"devDependencies": {
"@babel/core": "7.26.9",
"@commitlint/cli": "19.7.1",
"@commitlint/config-conventional": "19.7.1",
"@foray1010/babel-preset": "10.0.0",
"@foray1010/eslint-config": "13.0.1",
"@foray1010/jest-preset": "5.1.0",
"@foray1010/prettier-config": "11.0.1",
"@foray1010/remark-preset": "10.0.1",
"@foray1010/tsconfig": "13.0.0",
"@rollup/plugin-babel": "6.0.4",
"@rollup/plugin-commonjs": "28.0.2",
"@rollup/plugin-node-resolve": "16.0.0",
"@size-limit/preset-small-lib": "11.1.6",
"@types/jest": "29.5.14",
"@types/lodash.deburr": "4.1.9",
"eslint": "9.21.0",
"ignore-sync": "8.0.0",
"jest": "29.7.0",
"lint-staged": "15.4.3",
"node-notifier": "10.0.1",
"npm-run-all2": "7.0.2",
"prettier": "3.5.1",
"remark-cli": "12.0.1",
"rollup": "4.34.8",
"rollup-plugin-dts": "6.1.1",
"shx": "0.3.4",
"size-limit": "11.1.6",
"type-coverage": "2.29.7",
"typescript": "5.7.3"
},
"packageManager": "[email protected]",
"engines": {
"node": "^18.12.0 || >=20.9.0"
}
}