Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
113 lines (113 loc) · 2.94 KB
/
Copy pathpackage.json
File metadata and controls
113 lines (113 loc) · 2.94 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
{
"name": "devreplay",
"displayName": "DevReplay",
"description": "Generate regular expressions and linting by rules",
"version": "1.8.0",
"author": "Yuki Ueda",
"publisher": "Ikuyadeu",
"icon": "img/icon.png",
"license": "SEE LICENSE IN LICENSE",
"galleryBanner": {
"color": "#FFFFFF",
"theme": "light"
},
"keywords": [
"Coding Style",
"Regular Expression",
"DevReplay"
],
"repository": {
"type": "git",
"url": "https://github.com/devreplay/vscode-devreplay"
},
"bugs": {
"url": "https://github.com/devreplay/vscode-devreplay/issues"
},
"engines": {
"vscode": "^1.69.0"
},
"categories": [
"Other",
"Linters",
"Formatters"
],
"activationEvents": [
"onStartupFinished"
],
"contributes": {
"commands": [
{
"title": "Add rules from latest change",
"category": "DevReplay",
"command": "devreplay.add",
"icon": {
"light": "./img/icon.png",
"dark": "./img/icon.png"
}
}
],
"menus": {
"editor/title": [
{
"command": "devreplay.add",
"group": "navigation",
"when": "editorLangId == python || editorLangId == java || editorLangId == typescript || editorLangId == javascript || editorLangId == r"
}
]
},
"taskDefinitions": [
{
"type": "devreplay"
}
],
"configuration": {
"title": "devreplay",
"type": "object",
"properties": {
"devreplay.add.save": {
"type": "boolean",
"default": false,
"description": "Add rules when a file is saved"
},
"devreplay.rule.size": {
"type": "integer",
"default": 5,
"description": "Size of max change lines when making rules"
}
}
}
},
"main": "./client/out/extension",
"scripts": {
"vscode:prepublish": "npm run webpack",
"webpack": "npm run clean && webpack --mode development --config ./client/webpack.config.js && webpack --mode development --config ./server/webpack.config.js",
"webpack:dev": "npm run clean && webpack --mode none --config ./client/webpack.config.js && webpack --mode none --config ./server/webpack.config.js",
"watch": "tsc -b -w",
"lint": "npm run lint:client && npm run lint:server",
"lint:client": "eslint --config ./.eslintrc.json ./client/src/*.ts",
"lint:server": "eslint --config ./.eslintrc.json ./server/src/*.ts",
"clean": "rimraf client/out && rimraf server/out",
"postinstall": "cd client && npm install && cd ../server && npm install && cd ..",
"test": "sh ./scripts/e2e.sh"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^18.0.3",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"copy-webpack-plugin": "^11.0.0",
"copyfiles": "2.4.1",
"eslint": "^8.19.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsdoc": "^39.3.3",
"file-loader": "^6.2.0",
"json-loader": "^0.5.7",
"merge-options": "3.0.4",
"mocha": "^10.0.0",
"rimraf": "^3.0.2",
"ts-loader": "^9.3.1",
"typescript": "^4.7.4",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0"
}
}