-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
81 lines (81 loc) · 1.99 KB
/
Copy pathpackage.json
File metadata and controls
81 lines (81 loc) · 1.99 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
{
"name": "@kongyo2/similarity-ts",
"version": "0.7.0",
"description": "CLI and library for TypeScript code similarity analysis",
"type": "module",
"bin": {
"similarity-ts": "./dist/cli.js"
},
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"README.md"
],
"engines": {
"node": ">=20"
},
"publishConfig": {
"access": "public"
},
"scripts": {
"build": "tsup",
"clean": "rimraf dist coverage",
"dev": "tsx src/cli.ts",
"lint": "eslint . --ext .ts --max-warnings 0",
"lint:fix": "eslint . --ext .ts --fix",
"test": "vitest run --coverage",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"prepack": "npm run clean && npm run build && npm run build:wasm && npm run typecheck",
"metrics:baseline": "mkdir -p docs && tsx scripts/baseline-metrics.ts > docs/baseline-metrics.md",
"bench:accuracy": "tsx scripts/accuracy-benchmark.ts",
"build:wasm": "node scripts/build-wasm.mjs"
},
"keywords": [
"typescript",
"similarity",
"duplication",
"ast",
"cli"
],
"author": "kongyo2",
"license": "MIT",
"dependencies": {
"chalk": "^5.4.1",
"cli-table3": "^0.6.5",
"commander": "^13.1.0",
"fast-glob": "^3.3.3",
"ignore": "^7.0.5",
"p-limit": "^6.2.0",
"zod": "^3.24.3"
},
"devDependencies": {
"@eslint/js": "^9.25.1",
"@types/node": "^22.15.3",
"@vitest/coverage-v8": "^3.1.2",
"eslint": "^9.25.1",
"execa": "^9.5.2",
"globals": "^16.0.0",
"rimraf": "^6.0.1",
"tsup": "^8.5.0",
"tsx": "^4.19.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.30.1",
"vitest": "^3.1.2"
},
"repository": {
"type": "git",
"url": "https://github.com/kongyo2/similarity"
},
"homepage": "https://github.com/kongyo2/similarity#readme",
"bugs": {
"url": "https://github.com/kongyo2/similarity/issues"
}
}