-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathpackage.json
167 lines (167 loc) · 5.82 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
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
{
"name": "react-proptypes-generate",
"displayName": "React PropTypes Generate",
"description": "Auto generate react's propTypes",
"version": "1.7.6",
"publisher": "suming",
"author": "suming",
"license": "MIT",
"bugs": {
"url": "https://github.com/dpzxsm/react-proptypes-generate/issues"
},
"homepage": "https://github.com/dpzxsm/react-proptypes-generate",
"repository": "https://github.com/dpzxsm/react-proptypes-generate",
"icon": "icon.png",
"engines": {
"vscode": "^1.27.0"
},
"categories": [
"Other"
],
"activationEvents": [
"*"
],
"main": "./dist/extension",
"bin": {
"rpg-cli": "./bin/cli.js"
},
"contributes": {
"commands": [
{
"command": "extension.propTypesGenerate",
"title": "PropTypes Generate"
}
],
"keybindings": [
{
"command": "extension.propTypesGenerate",
"key": "shift+ctrl+alt+p",
"mac": "shift+cmd+alt+p"
}
],
"configuration": {
"type": "object",
"title": "ReactPropTypes configuration",
"properties": {
"propTypes.autoImport": {
"type": "string",
"default": "ES6",
"enum": [
"disabled",
"commonJS",
"ES6"
],
"description": "Auto import or require PropTypes module"
},
"propTypes.codeStyle": {
"type": "string",
"default": "default",
"enum": [
"default",
"class"
],
"description": "PropTypes Generate Style"
},
"propTypes.tabWidth": {
"type": "number",
"default": 2,
"description": "Number of spaces the pretty-printer should use per tab for indentation"
},
"propTypes.quote": {
"type": "string",
"default": null,
"enum": [
"single",
"double",
"auto",
null
],
"description": "Override the quotes used in string literals"
},
"propTypes.trailingComma": {
"type": "boolean",
"default": false,
"description": "Controls the printing of trailing commas in object literals, array expressions and function parameters"
},
"propTypes.semicolon": {
"type": "boolean",
"default": false,
"description": "If true, there will be a semicolon after PropType statement"
},
"propTypes.afterFormat": {
"type": "boolean",
"default": false,
"description": "If true, after generate propTypes, trigger vscode's formatting for PropTypes"
},
"propTypes.noMergeOld": {
"type": "boolean",
"default": false,
"description": "Defaults is merge old PropTypes, if true, will generate new PropTypes"
},
"propTypes.mergeOldIfExist": {
"type": "boolean",
"default": false,
"description": "If true, old PropTypes different with new PropTypes will be deleted, only used when `noMergeOld` is false"
},
"propTypes.noShape": {
"type": "boolean",
"default": false,
"description": "Defaults is generate shape type, if true, will generate object type"
},
"propTypes.arrayLike": {
"type": "boolean",
"default": false,
"description": "If true, some shape type which is similar to Array will be set array type instead"
},
"propTypes.isRequired": {
"type": "boolean",
"default": false,
"description": "If true, all PropTypes is will be set to isRequired"
},
"propTypes.sort": {
"type": "boolean",
"default": true,
"description": "If true, all PropTypes is sort by name"
}
}
}
},
"scripts": {
"postinstall": "node ./scripts/postinstall.js",
"compile": "node ./node_modules/vscode/bin/compile",
"start": "webpack --mode development && node ./scripts/start.js",
"vscode:prepublish": "webpack --mode production",
"webpack": "webpack --mode development",
"webpack-dev": "webpack --mode development --watch",
"test-compile": "tsc -p ./"
},
"devDependencies": {
"@types/mocha": "^2.2.42",
"@types/node": "^8.10.25",
"eslint": "^4.11.0",
"ts-loader": "^6.2.2",
"typescript": "^2.6.1",
"vscode": "^1.1.36",
"webpack": "^4.42.1",
"webpack-cli": "^3.3.11"
},
"dependencies": {
"bluebird": "^3.5.3",
"commander": "^5.1.0",
"deepmerge": "^4.2.2",
"flow-parser": "^0.86.0",
"glob": "^7.1.6",
"minimatch": "^3.0.4",
"recast": "^0.16.0"
},
"keywords": [
"react",
"proptypes",
"React Native",
"PropTypes",
"generate",
"vscode",
"ast",
"lazy"
]
}