-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
50 lines (50 loc) 路 1.2 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
{
"name": "cyclomatic-complexity",
"description": "Tool for calculating cyclomatic complexity of a JavaScript and TypeScript code.",
"version": "1.2.3",
"main": "./bin/index.js",
"repository": "https://github.com/pilotpirxie/cyclomatic-complexity.git",
"author": "pilotpirxie <10637666+pilotpirxie@users.noreply.github.com>",
"license": "MIT",
"bin": {
"cyclomatic-complexity": "./bin/src/index.js"
},
"types": "./bin/src/complexity.d.ts",
"devDependencies": {
"@types/esprima": "^4.0.3",
"@types/jest": "^29.5.4",
"@types/node": "^18.17.15",
"jest": "^29.7.0",
"prettier": "^3.0.3",
"ts-jest": "^29.1.1"
},
"dependencies": {
"@commander-js/extra-typings": "^11.0.0",
"commander": "^11.0.0",
"esprima": "^4.0.1",
"glob": "^10.3.10",
"typescript": "^5.2.2"
},
"scripts": {
"test": "jest",
"build": "tsc",
"dev": "npm run build && npm install -g . && cyclomatic-complexity './test/**'",
"prettier": "prettier --write ."
},
"files": [
"bin/**/*"
],
"keywords": [
"cyclomatic",
"complexity",
"cc",
"typescript",
"javascript",
"js",
"ts",
"esprima"
],
"engines": {
"node": ">=16.0.0"
}
}