-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpackage.json
More file actions
128 lines (128 loc) · 4.27 KB
/
package.json
File metadata and controls
128 lines (128 loc) · 4.27 KB
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
{
"name": "vscode-commit-pro-extension",
"displayName": "CommitPro",
"version": "0.1.4-rc.0",
"private": true,
"description": "Write your Commit Message like a pro - like you write your Code",
"keywords": [
"vscode",
"conventional-commits",
"conventional",
"semantic",
"commit",
"git"
],
"author": "Thomas Wirth <thomas@wtho.de>",
"publisher": "wtho",
"license": "MIT",
"categories": [
"Other",
"SCM Providers"
],
"homepage": "https://github.com/wtho/vscode-commit-pro#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/wtho/vscode-commit-pro.git"
},
"bugs": {
"url": "https://github.com/wtho/vscode-commit-pro/issues"
},
"icon": "images/commit-pro-icon.png",
"engines": {
"vscode": "^1.63.0"
},
"activationEvents": [
"onLanguage:git-commit",
"onCommand:commitPro.editor.command.openEditor"
],
"main": "./out/extension",
"contributes": {
"configuration": {
"type": "object",
"title": "Example configuration",
"properties": {
"commitPro.enableDefaultCommitlintRulesDiagnostics": {
"scope": "window",
"type": "boolean",
"default": true,
"description": "Enables the default commitlint rules to be applied even without a commilint config file which resemble the conventional commits specification"
}
}
},
"commands": [
{
"command": "commitPro.editor.command.openEditor",
"title": "Commit Message in Code Editor",
"category": "Git",
"icon": "$(wand)"
},
{
"command": "commitPro.editor.command.openEditorAmend",
"title": "Amend Commit Message in Code Editor",
"category": "Git",
"icon": "$(wand)"
}
],
"menus": {
"commandPalette": [
{
"command": "commitPro.editor.command.openEditor",
"when": "config.git.enabled && !git.missing && gitOpenRepositoryCount != 0"
}
],
"scm/title": [
{
"command": "commitPro.editor.command.openEditor",
"group": "navigation@1",
"title": "Edit",
"when": "scmProvider == git"
},
{
"command": "commitPro.editor.command.openEditor",
"group": "inline",
"title": "Edit",
"when": "scmProvider == git"
}
]
}
},
"configurationDefaults": {
"[git-commit]": {
"editor.semanticHighlighting.enabled": true
},
"commitPro.enableDefaultCommitlintRulesDiagnostics": true
},
"scripts": {
"vscode:package": "vsce package --no-dependencies",
"vscode:prepublish": "rimraf out && npm run esbuild-full-minify",
"esbuild": "npm run esbuild-full-sourcemap",
"esbuild-full": "npm run esbuild-base-extension && npm run esbuild-base-server && npm run post-build",
"esbuild-full-sourcemap": "npm run esbuild-base-extension -- --sourcemap && npm run esbuild-base-server -- --sourcemap && npm run post-build",
"esbuild-full-minify": "npm run esbuild-base-extension -- --minify && npm run esbuild-base-server -- --minify && npm run post-build",
"esbuild-base-extension": "esbuild ../extension-client/src/extension.ts --bundle --outfile=out/extension.js --external:vscode --format=cjs --platform=node",
"esbuild-base-server": "esbuild ../extension-server/src/server.ts --bundle --outfile=out/server.js --external:vscode --external:'ts-node' --format=cjs --platform=node",
"post-build": "ncp mock out/node_modules && ncp ../node_modules/conventional-changelog-conventionalcommits/templates ./out/templates && ncp ../README.md ./README.md && ncp ../CHANGELOG.md ./CHANGELOG.md",
"test-compile": "tsc -p ./",
"compile": "tsc -b",
"watch": "tsc -b -w",
"lint": "eslint ./client/src ./server/src --ext .ts,.tsx",
"test": "sh ./scripts/e2e.sh"
},
"dependencies": {
"@commitlint/lint": "^17.0.0",
"@commitlint/load": "^17.0.0",
"@commitlint/parse": "^17.0.0",
"vscode-languageclient": "^8.0.1"
},
"devDependencies": {
"@types/node": "^17.0.36",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "^5.27.0",
"esbuild": "^0.14.42",
"eslint": "^8.16.0",
"ncp": "^2.0.0",
"rimraf": "^3.0.2",
"typescript": "^4.7.2",
"vsce": "^2.9.1"
}
}