-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
102 lines (102 loc) · 2.46 KB
/
package.json
File metadata and controls
102 lines (102 loc) · 2.46 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
{
"name": "refactor-php",
"displayName": "Refactoring (PHP)",
"description": "Refactor your php code in VS Code.",
"version": "0.0.4",
"preview": true,
"publisher": "iyashpal",
"bugs": {
"url": "https://github.com/iyashpal/vscode.refactor-php/issues",
"email": "iyashpal.dev@gmail.com"
},
"repository": {
"type": "git",
"url": "https://github.com/iyashpal/vscode.refactor-php"
},
"engines": {
"vscode": "^1.71.0"
},
"categories": [
"Other",
"Programming Languages"
],
"activationEvents": [
"onLanguage:php"
],
"main": "./dist/extension.js",
"icon": "assets/images/icon.png",
"contributes": {
"commands": [
{
"command": "php.refactoring.demo",
"title": "Demo Command",
"category": "PHP > Refactoring "
}
],
"configuration": {
"title": "Refactor PHP",
"properties": {
"php.refactoring.imports.sorting.enabled": {
"type": "boolean",
"default": false,
"order": 0,
"description": "Automatically sort all used imports"
},
"php.refactoring.imports.sorting.type": {
"type": "string",
"default": "natural",
"order": 1,
"enum": [
"alphabet",
"natural"
],
"enumDescriptions": [
"Sort imports in alphabetical order instead of 'natural order' algorithm",
"Sort imports using a 'natural order' algorithm."
]
},
"php.refactoring.imports.sorting.order": {
"type": "string",
"default": "asc",
"order": 2,
"enum": [
"desc",
"asc"
],
"enumDescriptions": [
"Descending sorting order.",
"Ascending sorting order."
]
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/mocha": "^9.1.1",
"@types/node": "14.x",
"@types/vscode": "^1.71.0",
"@typescript-eslint/eslint-plugin": "^5.21.0",
"@typescript-eslint/parser": "^5.21.0",
"@vscode/test-electron": "^2.1.3",
"eslint": "^8.14.0",
"glob": "^8.0.1",
"mocha": "^9.2.2",
"natural-orderby": "^2.0.3",
"ts-loader": "^9.2.8",
"typescript": "^4.6.4",
"webpack": "^5.70.0",
"webpack-cli": "^4.9.2"
}
}