-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.json
76 lines (76 loc) · 2.04 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
{
"name": "generate-react-component",
"displayName": "generate-react-component",
"description": "Dropdown menu option of creating new Class or Pure Function for React or React Native.",
"publisher": "mierz00",
"repository": {
"url": "https://github.com/mierz00/react-component-generator"
},
"version": "0.0.1",
"engines": {
"vscode": "^1.30.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:extension.generateReactComponent"
],
"main": "./out/extension.js",
"contributes": {
"configuration": {
"type": "object",
"title": "Generate React component",
"properties": {
"reactNativeComponents": {
"type": "boolean",
"default": false,
"description": "Generate components for for React Native."
},
"scss": {
"type": "boolean",
"default": false,
"description": "Styles file will be set to .scss (NOTE: Only works if React Native Component set to false)."
}
}
},
"commands": [
{
"command": "extension.generateReactComponent",
"title": "Create React class"
},
{
"command": "extension.generateReactPureFunc",
"title": "Create React Pure Function"
}
],
"menus": {
"explorer/context": [
{
"when": "explorerResourceIsFolder",
"command": "extension.generateReactComponent",
"group": "z_commands"
},
{
"when": "explorerResourceIsFolder",
"command": "extension.generateReactPureFunc",
"group": "z_commands"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "yarn run compile && node ./node_modules/vscode/bin/test"
},
"devDependencies": {
"typescript": "^3.1.4",
"vscode": "^1.1.25",
"tslint": "^5.8.0",
"@types/node": "^8.10.25",
"@types/mocha": "^2.2.42"
}
}