forked from zucska/extract-component
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
90 lines (90 loc) · 2.59 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": "extractcomponent",
"displayName": "extract-component",
"description": "Extract component for react application",
"version": "0.7.0",
"publisher": "zucska",
"keywords": [
"javascript",
"react",
"react-native"
],
"engines": {
"vscode": "^1.5.0"
},
"categories": [
"Other"
],
"repository": {
"type": "git",
"url": "https://github.com/zucska/extract-component"
},
"homepage": "https://github.com/zucska/extract-component",
"activationEvents": [
"*"
],
"main": "./extension",
"icon": "images/logo.svg",
"contributes": {
"commands": [
{
"command": "extension.extractComponent",
"title": "Extract React Component to New File"
},
{
"command": "extension.embedComponent",
"title": "Embed React Component"
},
{
"command": "extension.extractStyleComponent",
"title": "Extract StyleSheet React Component"
},
{
"command": "extension.extractMethodComponent",
"title": "Extract React Component to Method"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == javascript",
"command": "extension.extractComponent",
"group": "navigation"
},
{
"when": "resourceLangId == javascript",
"command": "extension.extractMethodComponent",
"group": "navigation"
},
{
"when": "resourceLangId == javascript",
"command": "extension.embedComponent",
"group": "navigation"
},
{
"when": "resourceLangId == javascript",
"command": "extension.extractStyleComponent",
"group": "navigation"
}
]
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install"
},
"devDependencies": {
"typescript": "^2.0.3",
"vscode": "^1.0.0",
"mocha": "^2.3.3",
"eslint": "^3.6.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"
}
}