-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathpackage.json
88 lines (88 loc) · 2.13 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
79
80
81
82
83
84
85
86
87
88
{
"name": "codacy-metrics-eslint",
"description": "Eslint Metrics Tool for Codacy",
"keywords": [
"codacy",
"eslint",
"javascript",
"complexity",
"typescript"
],
"homepage": "https://github.com/codacy/codacy-metrics-eslint#readme",
"bugs": {
"url": "https://github.com/codacy/codacy-metrics-eslint/issues"
},
"repository": {
"type": "git",
"url": "git+https://github.com/codacy/codacy-metrics-eslint.git"
},
"license": "Apache-2.0",
"main": "dist/src/index.js",
"directories": {
"test": "./src/test",
"src": "./src"
},
"scripts": {
"compile": "tsc",
"dockerBuild": "docker build -t codacy-metrics-eslint .",
"build": "tsc --showConfig && tsc",
"build:docker": "npm run build && docker build -t codacy-metrics-eslint .",
"build:docker:m1": "npm run build && docker build --platform linux/amd64 -t codacy-metrics-eslint .",
"test": "mocha"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{js,css,md}": "prettier --write",
"package.json": [
"sort-package-json",
"git add"
],
"src/*.{ts,js,css,json,md}": [
"prettier --write",
"eslint --fix",
"git add"
]
},
"prettier": {
"semi": false
},
"mocha": {
"extension": [
"ts"
],
"require": "ts-node/register",
"spec": "./src/test/**/*.spec.ts"
},
"engines": {
"node": ">=20.0.0"
},
"dependencies": {
"@nodelib/fs.walk": "^2.0.0",
"@typescript-eslint/parser": "^6.17.0",
"eslint": "^8.56.0",
"json-schema": "^0.4.0",
"typescript": "^5.3.3"
},
"devDependencies": {
"@types/chai": "^4.3.11",
"@types/eslint": "^8.56.1",
"@types/lodash": "^4.14.202",
"@types/mocha": "^10.0.6",
"@types/node": "^20.10.6",
"@types/simple-mock": "^0.8.6",
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"mocha": "^10.2.0",
"prettier": "^3.1.1",
"simple-mock": "^0.8.0",
"sort-package-json": "^2.6.0",
"ts-loader": "^9.5.1",
"ts-node": "^10.9.2"
}
}