-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathpackage.json
127 lines (127 loc) · 3.48 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
{
"name": "theshukran-react-utils",
"displayName": "theShukran React/React Native utils",
"description": "Extract and embed React/React Native components and styles.",
"version": "1.0.3",
"publisher": "theShukran",
"keywords": [
"javascript",
"javascriptreact",
"react",
"react-native",
"extract",
"component"
],
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/theShukran/theshukran-react-utils"
},
"homepage": "https://github.com/theShukran/theshukran-react-utils",
"activationEvents": [
"*"
],
"main": "extension",
"icon": "assets/images/logo.png",
"contributes": {
"commands": [
{
"command": "extension.extractComponentToFile",
"title": "Extract component to a new file"
},
{
"command": "extension.extractComponentToFunction",
"title": "Extract component to a function"
},
{
"command": "extension.extractStyle",
"title": "Extract style to StyleSheet"
},
{
"command": "extension.embedComponent",
"title": "Embed component"
}
],
"menus": {
"editor/context": [
{
"when": "editorLangId == javascript && editorHasSelection",
"command": "extension.extractComponentToFile",
"group": "1_modification@10"
},
{
"when": "editorLangId == javascript && editorHasSelection",
"command": "extension.extractComponentToFunction",
"group": "1_modification@11"
},
{
"when": "editorLangId == javascript && editorHasSelection",
"command": "extension.embedComponent",
"group": "1_modification@12"
},
{
"when": "editorLangId == javascript && editorHasSelection",
"command": "extension.extractStyle",
"group": "1_modification@13"
},
{
"when": "editorLangId == javascriptreact && editorHasSelection",
"command": "extension.extractComponentToFile",
"group": "1_modification@10"
},
{
"when": "editorLangId == javascriptreact && editorHasSelection",
"command": "extension.extractComponentToFunction",
"group": "1_modification@11"
},
{
"when": "editorLangId == javascriptreact && editorHasSelection",
"command": "extension.embedComponent",
"group": "1_modification@12"
},
{
"when": "editorLangId == javascriptreact && editorHasSelection",
"command": "extension.extractStyle",
"group": "1_modification@13"
}
]
},
"configuration": {
"type": "object",
"title": "Extract component configuration",
"properties": {
"theshukran-react-utils.path": {
"type": [
"string",
"null"
],
"default": "/src/components/",
"description": "Specifies the folder path where components will be extracted to."
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"eslint": "^6.8.0",
"@types/node": "^6.0.40",
"@types/mocha": "^2.2.32"
},
"dependencies": {
"fs": "0.0.1-security",
"line-column": "^1.0.2",
"lodash": "^4.17.4",
"mkdirp": "^0.5.1",
"path": "^0.12.7"
}
}