-
Notifications
You must be signed in to change notification settings - Fork 16
/
package.json
90 lines (90 loc) · 3.01 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
{
"name": "vscode-react-refactor",
"displayName": "VSCode React Refactor",
"description": "Recompose your overgrown JSX without worrying about the given data.",
"publisher": "planbcoding",
"repository": "https://github.com/planbcoding/vscode-react-refactor.git",
"icon": "assets/images/icon.png",
"author": "planbcoding",
"keywords": [
"react",
"refactor",
"tools"
],
"license": "ISC",
"version": "1.1.3",
"engines": {
"vscode": "^1.52.0"
},
"main": "./dist/extension",
"scripts": {
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"activationEvents": [
"workspaceContains:package.json"
],
"contributes": {
"commands": [
{
"command": "extension.react-refactor.extractToClass",
"title": "Extract JSX to Class Component"
},
{
"command": "extension.react-refactor.extractToFunction",
"title": "Extract JSX to Functional Component"
}
],
"menus": {
"explorer/context": []
},
"configuration": [
{
"title": "VSCode React Refactor",
"properties": {
"vscodeReactRefactor.functionType": {
"type": "string",
"enum": [
"function",
"arrowFunction"
],
"default": "function",
"description": "The created React Functional Component will be"
},
"vscodeReactRefactor.babelPlugins": {
"type": "string",
"default": "objectRestSpread, classProperties, typescript, jsx",
"description": "List of @babel/parser plugins to use, see: https://babeljs.io/docs/en/babel-parser#plugins"
},
"vscodeReactRefactor.enableDebug": {
"type": "boolean",
"default": false,
"description": "Display parser error messages"
}
}
}
]
},
"dependencies": {
"@babel/core": "^7.12.10",
"@babel/parser": "^7.12.11",
"@babel/template": "^7.12.7",
"@babel/traverse": "^7.12.12",
"@babel/types": "^7.12.12",
"lines-and-columns": "^1.1.6",
"lodash.pickby": "^4.6.0"
},
"devDependencies": {
"@types/lodash.pickby": "^4.6.6",
"@types/node": "^14.14.20",
"@types/vscode": "^1.52.0",
"ts-loader": "^8.0.14",
"typescript": "^4.1.3",
"webpack": "^5.14.0",
"webpack-cli": "^4.3.1"
}
}