-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
138 lines (138 loc) · 3.8 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
{
"name": "vscode-spotless-gradle",
"displayName": "Spotless Gradle",
"description": "Format your source files using Spotless via Gradle",
"version": "0.0.0",
"private": true,
"publisher": "richardwillis",
"readme": "README.md",
"author": "Richard Willis <[email protected]>",
"license": "SEE LICENSE IN LICENSE.md",
"engines": {
"vscode": "^1.45.0",
"node": "^16",
"npm": "^8"
},
"icon": "icon.png",
"bugs": {
"url": "https://github.com/badsyntax/vscode-spotless-gradle/issues"
},
"repository": {
"type": "git",
"url": "https://github.com/badsyntax/vscode-spotless-gradle/"
},
"extensionDependencies": [
"vscjava.vscode-gradle"
],
"extensionDependenciesCompatibility": {
"vscjava.vscode-gradle": "^3.6.2"
},
"categories": [
"Formatters",
"Linters"
],
"keywords": [
"spotless",
"formatter",
"linter",
"format",
"lint",
"gradle",
"java",
"groovy",
"scala",
"kotlin",
"python",
"black",
"javascript",
"prettier",
"clang",
"clang-format",
"c",
"cpp",
"csharp",
"objective-c",
"objective-cpp"
],
"activationEvents": [
"workspaceContains:gradlew",
"workspaceContains:gradlew.bat"
],
"main": "./dist/extension",
"contributes": {
"configuration": {
"id": "spotlessGradle",
"type": "object",
"title": "Spotless Gradle",
"properties": {
"spotlessGradle.format.enable": {
"type": "boolean",
"default": false,
"scope": "language-overridable",
"description": "Enable/disable formatting"
},
"spotlessGradle.diagnostics.enable": {
"type": "boolean",
"default": false,
"scope": "language-overridable",
"description": "Enable/disable diagnostics"
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run compile:prod",
"build": "npm run compile:dev",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint:fix": "npm run lint:fix:prettier && npm run lint:eslint -- --fix",
"lint:prettier": "prettier --check \"**/*.{ts,js,json,svg,md,yml}\"",
"lint:fix:prettier": "prettier --write '**/*.{ts,js,json,svg,md,yml}'",
"lint:eslint": "eslint . --ext .ts",
"test": "node ./out/test/runTests.js",
"install:ext": "code --install-extension vscode-spotless-gradle-0.0.0.vsix --force",
"preinstall:ext": "npm run package",
"snyk-protect": "snyk protect",
"prepare": "npm run snyk-protect",
"compile:dev": "webpack --mode development",
"compile:prod": "webpack --mode production",
"compile:test": "tsc -p ./",
"compile:all": "npm run compile:dev && npm run compile:test",
"install:vscode-gradle": "npm install $(npm pack ../vscode-gradle/npm-package | tail -1)",
"package": "vsce package",
"publish": "vsce publish"
},
"devDependencies": {
"@types/fs-extra": "^9.0.13",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.0",
"@types/node": "^17.0.16",
"@types/prettier-linter-helpers": "^1.0.1",
"@types/semver": "^7.3.9",
"@types/sinon": "^10.0.11",
"@types/vscode": "^1.45.0",
"@typescript-eslint/eslint-plugin": "^5.11.0",
"@typescript-eslint/parser": "^5.11.0",
"eslint": "^8.8.0",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-sonarjs": "^0.11.0",
"fs-extra": "^10.0.0",
"glob": "^7.2.0",
"mocha": "^9.2.0",
"prettier": "^2.5.1",
"sinon": "^13.0.1",
"snyk": "^1.849.0",
"ts-loader": "^9.2.6",
"typescript": "^4.5.5",
"vsce": "^2.6.7",
"vscode-test": "^1.6.1",
"webpack": "^5.68.0",
"webpack-cli": "^4.9.2"
},
"dependencies": {
"prettier-linter-helpers": "^1.0.0",
"semver": "^7.3.5",
"vscode-gradle": "^3.10.1"
},
"snyk": true
}