Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
93 lines (93 loc) · 2.4 KB
/
Copy pathpackage.json
File metadata and controls
93 lines (93 loc) · 2.4 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
90
91
92
93
{
"name": "node-darts",
"version": "2.0.0",
"description": "Darts (Double-ARray Trie System) for Node.js, compiled to WebAssembly",
"main": "./dist/cjs/index.js",
"types": "./dist/cjs/index.d.ts",
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
},
"./package.json": "./package.json"
},
"files": [
"dist",
"LICENSE",
"NOTICE",
"README_ja.md"
],
"scripts": {
"build": "yarn clean && yarn build:wasm && tsc -p tsconfig.build.cjs.json && tsc -p tsconfig.build.esm.json && node scripts/postbuild-copy.cjs",
"clean": "rimraf dist",
"check": "biome check",
"check:fix": "biome check --write",
"lint": "biome lint",
"lint:fix": "biome lint --write",
"format": "biome format --write",
"ci": "biome ci",
"test": "vitest run",
"test:watch": "vitest",
"test:coverage": "vitest run --coverage",
"test:coverage:check": "vitest run --coverage",
"prepare": "yarn build",
"prepublishOnly": "yarn clean && yarn ci && yarn build && yarn test",
"build:wasm": "node scripts/build-wasm.mjs",
"typecheck": "tsc --noEmit -p tsconfig.json"
},
"keywords": [
"darts",
"darts-clone",
"trie",
"double-array",
"dictionary",
"search",
"wasm",
"webassembly"
],
"author": "libraz <libraz@libraz.net>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/libraz/node-darts.git"
},
"bugs": {
"url": "https://github.com/libraz/node-darts/issues"
},
"homepage": "https://github.com/libraz/node-darts#readme",
"engines": {
"node": ">=20.4.0"
},
"simple-git-hooks": {
"pre-commit": "yarn lint-staged"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,json}": [
"biome check --write --no-errors-on-unmatched"
],
"*.{js,cjs,mjs,ts}": [
"vitest run --changed"
],
"package.json": [
"bash -c \"yarn test:coverage:check\""
]
},
"devDependencies": {
"@biomejs/biome": "^2.6.6",
"@types/node": "^22.20.5",
"@vitest/coverage-v8": "^5.1.0",
"lint-staged": "^17.6.0",
"rimraf": "^6.1.4",
"simple-git-hooks": "^2.14.0",
"typescript": "^7.0.2",
"vite": "^8.3.6",
"vitest": "^5.1.0"
},
"packageManager": "yarn@4.18.0"
}