-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
128 lines (128 loc) · 3.38 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
{
"name": "js-teleporter",
"publisher": "sa2taka",
"displayName": "JS Teleporter",
"description": "Teleport between code and test/jsx and story in JavaScript/TypeScript project.",
"version": "0.2.3",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onLanguage:javascript",
"onLanguage:javascriptreact",
"onLanguage:typescript",
"onLanguage:typescriptreact",
"onCommand:js-teleporter.teleport-test",
"onCommand:js-teleporter.teleport-story"
],
"main": "./out/extension.js",
"repository": {
"type": "git",
"url": "https://github.com/sa2taka/js-teleporter"
},
"contributes": {
"commands": [
{
"command": "js-teleporter.teleport-test",
"title": "teleport between test and code"
},
{
"command": "js-teleporter.teleport-story",
"title": "teleport between story and jsx"
}
],
"keybindings": [
{
"command": "js-teleporter.teleport-test",
"key": "ctrl+alt+t",
"mac": "ctrl+alt+t",
"when": "editorTextFocus"
},
{
"command": "js-teleporter.teleport-story",
"key": "ctrl+alt+s",
"mac": "ctrl+alt+s",
"when": "editorTextFocus"
}
],
"configuration": {
"title": "JS Teleporter",
"properties": {
"jsTeleporter.sourceRoot": {
"type": "string",
"default": "src",
"description": "Root of code to start exploring."
},
"jsTeleporter.testSourceRoots": {
"type": "array",
"default": [
"__tests__",
"__specs__",
"__test__",
"__spec__",
"tests",
"specs",
"test",
"spec"
],
"description": "Roots of test to start exploring."
},
"jsTeleporter.testFileSuffix": {
"type": "string",
"default": ".test",
"description": "Suffix to determine if the file is a test."
},
"jsTeleporter.storybookSourceRoots": {
"type": "array",
"default": [
"stories"
],
"description": "Roots of test to start exploring."
},
"jsTeleporter.storybookFileSuffix": {
"type": "string",
"default": ".stories",
"description": "Suffix to determine if the file is a story book"
}
}
}
},
"scripts": {
"vscode:prepublish": "yarn run compile",
"compile": "tsc -p tsconfig.build.json",
"watch": "tsc -watch -p tsconfig.build.json",
"lint": "eslint src --ext ts",
"test": "jest"
},
"devDependencies": {
"@types/glob": "^7.2.0",
"@types/jest": "^28.1.4",
"@types/lodash": "^4.14.182",
"@types/mkdirp": "^1.0.2",
"@types/mock-fs": "^4.13.1",
"@types/node": "14.x",
"@types/rewire": "^2.5.28",
"@types/vscode": "^1.63.0",
"@typescript-eslint/eslint-plugin": "^5.1.0",
"@typescript-eslint/parser": "^5.1.0",
"@vscode/test-electron": "^1.6.2",
"chai": "^4.3.6",
"eslint": "^8.1.0",
"eslint-config-prettier": "^8.3.0",
"jest": "^28.1.2",
"mock-fs": "^5.1.2",
"prettier": "^2.5.1",
"rewire": "^6.0.0",
"ts-jest": "^28.0.5",
"ts-node": "^10.8.0",
"typescript": "^4.4.4"
},
"dependencies": {
"glob": "^8.0.3",
"lodash": "^4.17.21",
"mkdirp": "^1.0.4"
}
}