11{
2- "name" : " js-test-gen-vscode" ,
3- "displayName" : " js-test-gen-vscode" ,
4- "description" : " Generate tests for your js code" ,
5- "version" : " 0.0.1" ,
6- "publisher" : " jsTestGen" ,
7- "engines" : {
8- "vscode" : " ^1.20.0"
9- },
10- "categories" : [
11- " Other"
12- ],
13- "activationEvents" : [
14- " onCommand:jsTestGen.generateTestTemplate" ,
15- " onCommand:jsTestGen.generateTest"
16- ],
17- "main" : " ./lib/extension" ,
18- "contributes" : {
19- "commands" : [
20- {
21- "command" : " jsTestGen.generateTestTemplate" ,
22- "title" : " Generate Test Template"
23- },
24- {
25- "command" : " jsTestGen.generateTest" ,
26- "title" : " Generate Test From Selection"
27- }
2+ "name" : " js-test-gen-vscode" ,
3+ "displayName" : " js-test-gen-vscode" ,
4+ "description" : " Js-test-gen-vscode generates test templates from your default/named exports." ,
5+ "version" : " 0.3.0" ,
6+ "publisher" : " jsTestGen" ,
7+ "engines" : {
8+ "vscode" : " ^1.20.0"
9+ },
10+ "repository" : " https://github.com/js-test-gen/js-test-gen-vscode" ,
11+ "categories" : [
12+ " Other"
2813 ],
29- "keybindings" : [
30- {
31- "command" : " jsTestGen.generateTestTemplate" ,
32- "key" : " ctrl+alt+g"
33- },
34- {
35- "command" : " jsTestGen.generateTest" ,
36- "key" : " ctrl+alt+s"
37- }
14+ "activationEvents" : [
15+ " onCommand:jsTestGen.generateTestTemplate" ,
16+ " onCommand:jsTestGen.generateTest"
3817 ],
39- "configuration" : {
40- "type" : " object" ,
41- "title" : " JS Test Gen Configuration" ,
42- "properties" : {
43- "jstestgen.testDirName" : {
44- "type" : " string" ,
45- "default" : " " ,
46- "description" : " Set the directory name for where test will be saved to. If not set, the test will be saved to the current directory"
47- },
48- "jstestgen.testSufix" : {
49- "type" : " string" ,
50- "default" : " .test" ,
51- "description" : " Appends a string to your test file E.G: 'myfile-test.js"
52- },
53- "jstestgen.typeSystem" : {
54- "type" : " string" ,
55- "enum" : [
56- " Flow" ,
57- " Typescript" ,
58- " None"
59- ],
60- "default" : " None" ,
61- "description" : " Specify if the code the tests are being generated for contain a type system I.E flow/tyescript"
18+ "main" : " ./lib/extension" ,
19+ "contributes" : {
20+ "commands" : [
21+ {
22+ "command" : " jsTestGen.generateTestTemplate" ,
23+ "title" : " Generate Test Template"
24+ },
25+ {
26+ "command" : " jsTestGen.generateTest" ,
27+ "title" : " Generate Test From Selection"
28+ }
29+ ],
30+ "keybindings" : [
31+ {
32+ "command" : " jsTestGen.generateTestTemplate" ,
33+ "key" : " ctrl+alt+g"
34+ },
35+ {
36+ "command" : " jsTestGen.generateTest" ,
37+ "key" : " ctrl+alt+s"
38+ }
39+ ],
40+ "configuration" : {
41+ "type" : " object" ,
42+ "title" : " JS Test Gen Configuration" ,
43+ "properties" : {
44+ "jstestgen.testDirName" : {
45+ "type" : " string" ,
46+ "default" : " " ,
47+ "description" : " Set the directory name for where test will be saved to. If not set, the test will be saved to the current directory"
48+ },
49+ "jstestgen.testSufix" : {
50+ "type" : " string" ,
51+ "default" : " .test" ,
52+ "description" : " Appends a string to your test file E.G: 'myfile-test.js"
53+ },
54+ "jstestgen.typeSystem" : {
55+ "type" : " string" ,
56+ "enum" : [
57+ " Flow" ,
58+ " Typescript" ,
59+ " None"
60+ ],
61+ "default" : " None" ,
62+ "description" : " Specify if the code the tests are being generated for contain a type system I.E flow/tyescript"
63+ }
64+ }
6265 }
63- }
66+ },
67+ "scripts" : {
68+ "postinstall" : " node ./node_modules/vscode/bin/install" ,
69+ "test" : " node ./node_modules/vscode/bin/test" ,
70+ "precommit" : " lint-staged"
71+ },
72+ "lint-staged" : {
73+ "*.js" : [
74+ " eslint" ,
75+ " prettier-eslint --write" ,
76+ " git add"
77+ ]
78+ },
79+ "devDependencies" : {
80+ "eslint" : " ^4.11.0" ,
81+ "husky" : " ^0.14.3" ,
82+ "lint-staged" : " ^7.0.0" ,
83+ "prettier-eslint" : " ^8.8.1" ,
84+ "prettier-eslint-cli" : " ^4.7.1" ,
85+ "typescript" : " ^2.6.1" ,
86+ "vscode" : " ^1.1.6" ,
87+ "@types/node" : " ^7.0.43" ,
88+ "@types/mocha" : " ^2.2.42"
89+ },
90+ "dependencies" : {
91+ "clipboardy" : " ^1.2.3" ,
92+ "js-test-gen" : " ^1.0.0"
6493 }
65- },
66- "scripts" : {
67- "postinstall" : " node ./node_modules/vscode/bin/install" ,
68- "test" : " node ./node_modules/vscode/bin/test" ,
69- "precommit" : " lint-staged"
70- },
71- "lint-staged" : {
72- "*.js" : [
73- " eslint" ,
74- " prettier-eslint --write" ,
75- " git add"
76- ]
77- },
78- "devDependencies" : {
79- "eslint" : " ^4.11.0" ,
80- "husky" : " ^0.14.3" ,
81- "lint-staged" : " ^7.0.0" ,
82- "prettier-eslint" : " ^8.8.1" ,
83- "prettier-eslint-cli" : " ^4.7.1" ,
84- "typescript" : " ^2.6.1" ,
85- "vscode" : " ^1.1.6" ,
86- "@types/node" : " ^7.0.43" ,
87- "@types/mocha" : " ^2.2.42"
88- },
89- "dependencies" : {
90- "clipboardy" : " ^1.2.3" ,
91- "js-test-gen" : " ^1.0.0"
92- }
93- }
94+ }
0 commit comments