-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
98 lines (98 loc) · 3.02 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
{
"name": "js-test-gen-vscode",
"displayName": "js-test-gen-vscode",
"description": "Js-test-gen-vscode generates test templates from your default/named exports.",
"version": "0.5.0",
"publisher": "jsTestGen",
"engines": {
"vscode": "^1.20.0"
},
"repository": {
"url": "https://github.com/js-test-gen/js-test-gen-vscode",
"type": "git"
},
"categories": [
"Other"
],
"icon": "media/jsTestGen.png",
"activationEvents": [
"onCommand:jsTestGen.generateTestTemplate",
"onCommand:jsTestGen.generateTest"
],
"main": "./lib/extension",
"contributes": {
"commands": [
{
"command": "jsTestGen.generateTestTemplate",
"title": "Generate Test Template"
},
{
"command": "jsTestGen.generateTest",
"title": "Generate Test From Selection"
}
],
"keybindings": [
{
"command": "jsTestGen.generateTestTemplate",
"key": "ctrl+alt+g"
},
{
"command": "jsTestGen.generateTest",
"key": "ctrl+alt+s"
}
],
"configuration": {
"type": "object",
"title": "JS Test Gen Configuration",
"properties": {
"jstestgen.testDirName": {
"type": "string",
"default": "",
"description": "Set the directory name for where test will be saved to. If not set, the test will be saved to the current directory"
},
"jstestgen.testSufix": {
"type": "string",
"default": ".test",
"description": "Appends a string to your test file E.G: 'myfile-test.js"
},
"jstestgen.typeSystem": {
"type": "string",
"enum": [
"Flow",
"Typescript",
"None"
],
"default": "None",
"description": "Specify if the code the tests are being generated for contain a type system I.E flow/tyescript"
}
}
}
},
"scripts": {
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test",
"precommit": "lint-staged"
},
"lint-staged": {
"*.js": [
"eslint",
"prettier-eslint --write",
"git add"
]
},
"devDependencies": {
"eslint": "^4.11.0",
"husky": "^0.14.3",
"lint-staged": "^7.0.0",
"prettier-eslint": "^8.8.1",
"prettier-eslint-cli": "^4.7.1",
"typescript": "^2.6.1",
"vscode": "^1.1.6",
"@types/node": "^7.0.43",
"@types/mocha": "^2.2.42"
},
"dependencies": {
"clipboardy": "^1.2.3",
"js-test-gen": "^1.1.0"
}
}