/
package.json
111 lines (111 loc) · 3.04 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
{
"name": "npm-groovy-lint",
"version": "14.6.0",
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",
"main": "index.js",
"scripts": {
"lint:fix": "eslint **/*.js --fix && prettier --write \"./lib/**/*.{js,jsx}\" --tab-width 4 --print-width 150",
"server:run-from-source": "npm run server:kill && groovy -cp \"lib/java/*\" groovy/src/main/com/nvuillam/CodeNarcServer.groovy --server",
"server:run": "npm run server:kill && java -Xms256m -Xmx2048m -jar lib/java/CodeNarcServer.jar --server",
"server:build": "node scripts/build-server.js",
"server:kill": "npm-groovy-lint --killserver",
"test": "npm run server:kill && mocha \"test/**/*.test.js\"",
"test:coverage": "nyc npm run test",
"test:debug": "npm run server:kill && mocha --reporter spec --inspect-brk \"test/**/*.test.js\"",
"build": "node scripts/build-config-all.js && cp -f README.md docs/index.md && cp -f CHANGELOG.md docs/CHANGELOG.md",
"dev:lint-install-local": "npm run server:kill && npm run lint:fix && npm link --force",
"dev:lint-install-local-copy-vscode": "npm run dev:lint-install-local && node scripts/deploy-in-vscode.js",
"dev:pre-commit": "npm-run-all lint:fix build server:build"
},
"repository": {
"type": "git",
"url": "git+https://github.com/nvuillam/npm-groovy-lint.git"
},
"keywords": [
"groovy",
"lint",
"jenkinsfile",
"codenarc",
"format",
"linter",
"formatter",
"auto-fix",
"refactor",
"gradle"
],
"author": "Nicolas Vuillamy",
"license": "MIT",
"bugs": {
"url": "https://github.com/nvuillam/npm-groovy-lint/issues"
},
"homepage": "https://github.com/nvuillam/npm-groovy-lint#readme",
"files": [
"lib"
],
"bin": {
"npm-groovy-lint": "lib/index.js"
},
"dependencies": {
"ansi-colors": "^4.1.1",
"axios": "^1.6.2",
"chalk": "^4.1.2",
"cli-progress": "^3.12.0",
"commondir": "^1.0.1",
"debug": "^4.1.1",
"decode-html": "^2.0.0",
"find-java-home": "^1.1.0",
"find-package-json": "^1.2.0",
"fs-extra": "^8.1.0",
"glob": "^7.1.6",
"import-fresh": "^3.2.1",
"java-caller": "^4.0.0",
"js-yaml": "^4.1.0",
"node-sarif-builder": "^2.0.3",
"optionator": "^0.8.3",
"strip-json-comments": "^3.0.1",
"uuid": "^8.2.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"adm-zip": "^0.5.10",
"diff": "^4.0.2",
"eslint": "^8.52.0",
"handlebars": "^4.7.8",
"mocha": "^10.2.0",
"npm-run-all": "^4.1.5",
"nyc": "^15.1.0",
"prettier": "^1.19.1",
"rimraf": "^3.0.2",
"which": "^2.0.2"
},
"engines": {
"node": ">=18.0.0"
},
"mocha": {
"require": [
"test/helpers/init.js"
],
"watch-extensions": [
"js"
],
"recursive": true,
"reporter": "spec",
"timeout": "300000"
},
"nyc": {
"include": [
"lib/**"
],
"extension": [
".js"
],
"reporter": [
"html"
],
"all": true
},
"overrides": {
"axios": "^1.6.2"
}
}