-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
166 lines (166 loc) · 4.53 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
{
"publisher": "easyagile",
"license": "SEE LICENSE IN LICENSE.txt",
"name": "emulative",
"jest": {
"verbose": true
},
"displayName": "Emulative",
"description": "Helps developers speed up testing by creating mock objects representing TypeScript types",
"icon": "images/icon.png",
"version": "1.0.0",
"author": {
"name": "John Folder"
},
"engines": {
"vscode": "^1.40.0"
},
"galleryBanner": {
"color": "E55BFF"
},
"categories": [
"Programming Languages",
"Other",
"Snippets",
"Testing"
],
"keywords": [
"Typescript",
"Testing",
"Mocking",
"Productivity"
],
"activationEvents": [
"onCommand:emulative.copyObject",
"onCommand:emulative.copyObjectScratchFile",
"onCommand:emulative.copyJson",
"onCommand:emulative.copyTestDataBuilder"
],
"main": "./dist/extension.js",
"contributes": {
"configuration": {
"title": "Emulative",
"properties": {
"emulative.propertyOverrides": {
"title": "Property overrides",
"type": "string",
"description": "Overwrite mock properties in Emulative",
"examples": [
"startDate:2012-09-27,id:12345"
]
},
"emulative.maxSentenceLength": {
"type": "integer",
"description": "Maximum amount of words for generated string types.",
"default": 10,
"minimum": 3
},
"emulative.addJsdocCommentToBuilderFunction": {
"title": "Add JSDoc comment to builder function",
"type": "boolean",
"description": "Include comment in generated builder function",
"default": true
},
"emulative.idMockType":{
"title": "Id mock type",
"type": "string",
"description": "Type of id to use in mocks",
"default": "Letter",
"enum": [
"Letter",
"Number",
"Full"
]
}
}
},
"commands": [
{
"command": "emulative.copyObject",
"title": "Emulate (Copy object to clipboard)"
},
{
"command": "emulative.copyObjectScratchFile",
"title": "Emulate (Copy object to scratch file)"
},
{
"command": "emulative.copyJson",
"title": "Emulate (Copy Json object to clipboard)"
},
{
"command": "emulative.copyTestDataBuilder",
"title": "Emulate (Copy testDataBuilder function to clipboard)"
}
],
"menus": {
"editor/context": [
{
"when": "resourceLangId == typescript",
"command": "emulative.copyObject",
"group": "6_copypath"
},
{
"when": "resourceLangId == typescript",
"command": "emulative.copyTestDataBuilder",
"group": "6_copypath"
}
]
}
},
"scripts": {
"vscode:prepublish": "yarn run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p -w . --outDir out",
"pretest": "yarn run compile-tests && yarn run compile && yarn run lint",
"lint": "eslint src --ext ts",
"test": "jest",
"ts:check": "tsc --project . --noEmit"
},
"devDependencies": {
"@babel/core": "^7.20.2",
"@babel/preset-env": "^7.20.2",
"@babel/preset-typescript": "^7.18.6",
"@types/faker": "4.1.2",
"@types/fs-readfile-promise": "^3.0.1",
"@types/jest": "^29.2.3",
"@types/node": "14.x",
"@types/vscode": "^1.40.0",
"@typescript-eslint/eslint-plugin": "^4.31.1",
"@typescript-eslint/parser": "^4.31.1",
"@vscode/test-electron": "^1.6.2",
"babel-jest": "^29.3.1",
"eslint": "^7.32.0",
"jest": "^29.3.1",
"prettier": "^2.4.1",
"ts-loader": "^9.2.5",
"typescript": "^4.4.3",
"webpack": "^5.52.1",
"webpack-cli": "^4.8.0"
},
"dependencies": {
"@types/lodash": "^4.14.175",
"@types/stringify-object": "^4.0.1",
"clipboardy": "^2.3.0",
"faker": "4.1.0",
"fs-readfile-promise": "^3.0.1",
"lodash": "^4.17.21",
"stringify-object": "^4.0.1",
"tslib": "1.10.0"
},
"resolutions": {
"minimatch": "^3.0.5",
"minimist": "1.2.6"
},
"bugs": {
"url": "https://github.com/Easy-Agile/emulative/issues",
"email": "[email protected]"
},
"repository": {
"type": "git",
"url": "https://github.com/Easy-Agile/emulative.git"
},
"homepage": "https://github.com/Easy-Agile/emulative/blob/main/README.md"
}