-
-
Notifications
You must be signed in to change notification settings - Fork 63
/
package.json
115 lines (115 loc) · 3.16 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
112
113
114
115
{
"name": "npm-groovy-lint",
"version": "15.0.2",
"description": "Lint, format and auto-fix your Groovy / Jenkinsfile / Gradle files",
"exports": "./lib/groovy-lint.js",
"type": "module",
"scripts": {
"lint:fix": "eslint **/*.{js,mjs} --fix && prettier --write \"./lib/**/*.{js,jsx,mjs}\" --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": [
"index.d.ts",
"lib"
],
"bin": {
"npm-groovy-lint": "lib/index.js"
},
"dependencies": {
"ansi-colors": "^4.1.1",
"axios": "^1.6.2",
"chalk": "^5.3.0",
"cli-progress": "^3.12.0",
"commondir": "^1.0.1",
"debug": "^4.1.1",
"find-java-home": "^2.0.0",
"find-package-json": "^1.2.0",
"fs-extra": "^11.0.0",
"glob": "^11.0.0",
"import-fresh": "^3.2.1",
"java-caller": "^4.1.1",
"js-yaml": "^4.1.0",
"node-sarif-builder": "^3.0.0",
"optionator": "^0.9.0",
"strip-json-comments": "^5.0.0",
"uuid": "^10.0.0"
},
"devDependencies": {
"@babel/core": "^7.23.2",
"@babel/eslint-parser": "^7.22.15",
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.9.1",
"adm-zip": "^0.5.10",
"diff": "^7.0.0",
"eslint": "^9.0.0",
"globals": "^15.9.0",
"handlebars": "^4.7.8",
"mocha": "^10.2.0",
"npm-run-all2": "^6.0.0",
"nyc": "^17.0.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.0",
"which": "^4.0.0"
},
"engines": {
"node": ">=20.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"
}
}