-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.74 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.74 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
{
"name": "prefix-tries",
"version": "1.1.1",
"description": "A TypeScript library offering efficient standard (prefix) and compressed (radix) tries for optimized string storage and operations, featuring trie-map variants for key-value storage.",
"keywords": [
"data structures",
"trie",
"tries",
"prefix trie",
"prefix tree",
"compressed trie",
"radix trie",
"radix tree"
],
"author": "Yiannis Stergiou <hello@styiannis.dev>",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/styiannis/prefix-tries.git"
},
"bugs": {
"url": "https://github.com/styiannis/prefix-tries/issues"
},
"source": "src/index.ts",
"main": "dist/cjs/index.js",
"module": "dist/es/index.js",
"types": "dist/@types/index.d.ts",
"files": [
"CHANGELOG.md",
"dist"
],
"engines": {
"node": ">=18.0.0",
"npm": ">=8.0.0"
},
"commitlint": {
"extends": [
"@commitlint/config-conventional"
]
},
"scripts": {
"build": "npx rimraf ./dist && rollup -c",
"dev": "npx rimraf ./dist && rollup -c --watch",
"check-types": "tsc --noEmit",
"check-updates": "npx npm-check-updates",
"ci": "npm run check-types && npm run lint && npm run build && npm run validate-exports",
"clear": "npx rimraf ./build ./code_documentation ./coverage_report ./dist",
"docs": "npx rimraf ./code_documentation && npx typedoc@latest --basePath ./ --entryPoints src/index.ts --entryPointStrategy Expand --readme none --includeVersion --out code_documentation --name 'Prefix Tries'",
"format": "npx prettier -w ./",
"lint": "npx oxlint@latest src",
"prepack": "npm i && npm run build",
"reset": "npm run clear && npx rimraf ./node_modules ./package-lock.json ./yarn.lock ./pnpm-lock.yaml",
"test": "jest",
"test-coverage": "npx rimraf ./coverage_report && jest --coverage --coverageDirectory=coverage_report",
"test-coverage-watch": "npm run test-coverage -- --watchAll",
"test-watch": "jest --watchAll",
"validate-exports": "node ./scripts/validate-exports.js"
},
"dependencies": {
"abstract-linked-lists": "^1.0.6"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "^16.0.1",
"@rollup/plugin-typescript": "^12.1.4",
"@tsconfig/node22": "^22.0.2",
"@types/jest": "^30.0.0",
"@types/node": "^24.6.0",
"jest": "^30.2.0",
"rollup": "^4.52.3",
"rollup-plugin-dts": "^6.2.3",
"ts-jest": "^29.4.4",
"tslib": "^2.8.1",
"typescript": "^5.9.2"
},
"exports": {
".": {
"import": {
"types": "./dist/@types/index.d.ts",
"default": "./dist/es/index.js"
},
"require": {
"types": "./dist/@types/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
}
}