forked from simonrenoult/code-complexity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
78 lines (78 loc) · 2.11 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
{
"name": "code-complexity",
"version": "4.4.2",
"description": "Measure the churn/complexity score. Higher values mean hotspots where refactorings should happen.",
"author": {
"name": "Simon Renoult",
"email": "[email protected]"
},
"main": "dist/src/lib",
"types": "dist/src/lib/types.d.ts",
"bin": {
"code-complexity": "dist/bin/code-complexity.js"
},
"repository": {
"type": "git",
"url": "https://github.com/simonrenoult/code-complexity"
},
"bugs": {
"url": "https://github.com/simonrenoult/code-complexity/issues"
},
"scripts": {
"build": "rm -rf dist && tsc",
"coverage": "nyc npm test",
"lint": "eslint --ext .ts .",
"prepare": "npm run lint && npm run build",
"postversion": "git push --tags",
"pretest": "npm run lint",
"test": "mocha --timeout=5000 --require=ts-node/register test/**/*.ts",
"test:ci": "nyc --reporter=lcov npm test"
},
"keywords": [
"quality",
"complexity",
"churn",
"refactoring",
"sloc",
"commit"
],
"license": "MIT",
"dependencies": {
"@babel/core": "^7.20.2",
"@babel/plugin-transform-typescript": "^7.20.2",
"cli-table3": "^0.6.3",
"commander": "^9.4.1",
"debug": "^4.3.4",
"escomplex": "^2.0.0-alpha",
"esprima": "^4.0.1",
"micromatch": "^4.0.5",
"node-sloc": "^0.2.1"
},
"devDependencies": {
"@babel/preset-env": "^7.20.2",
"@types/babel__core": "^7.1.20",
"@types/chai": "^4.3.4",
"@types/debug": "^4.1.7",
"@types/micromatch": "^4.0.2",
"@types/mocha": "^10.0.0",
"@types/node": "^18.11.9",
"@typescript-eslint/eslint-plugin": "^5.42.1",
"@typescript-eslint/parser": "^5.42.1",
"chai": "^4.3.7",
"codecov": "^3.8.2",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-promise": "^6.1.1",
"mocha": "^10.1.0",
"nyc": "^15.1.0",
"prettier": "^2.7.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
},
"bundleDependencies": [
"esprima"
]
}