forked from stringham/move-ts
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
105 lines (105 loc) · 3.27 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
{
"name": "move-ts",
"displayName": "Move TS - Move TypeScript files and update relative imports",
"description": "extension for moving typescript files and folders and updating relative imports in your workspace",
"version": "1.12.0",
"publisher": "stringham",
"repository": {
"type": "git",
"url": "https://github.com/stringham/move-ts.git"
},
"homepage": "https://github.com/stringham/move-ts",
"icon": "icon.png",
"keywords": [
"typescript",
"import",
"move",
"refactor",
"relative"
],
"engines": {
"vscode": "^1.12.0"
},
"categories": [
"Other"
],
"activationEvents": [
"onCommand:move-ts.move",
"onCommand:move-ts.reindex"
],
"main": "./out/src/extension",
"contributes": {
"menus": {
"explorer/context": [
{
"command": "move-ts.move",
"group": "1_modification",
"when": "explorerViewletVisible"
}
]
},
"commands": [
{
"command": "move-ts.move",
"title": "Move Typescript"
},
{
"command": "move-ts.reindex",
"title": "Move TS: Reindex"
}
],
"configuration": {
"type": "object",
"title": "Move TS configuration",
"properties": {
"movets.relativeToTsconfig": {
"type": "boolean",
"default": false,
"description": "Create relative paths relative to the tsconfig.json"
},
"movets.skipWarning": {
"type": "boolean",
"default": false,
"description": "Skip the warning when using the move typescript command"
},
"movets.filesToScan": {
"type": "array",
"default": [
"**/*.ts",
"**/*.tsx"
],
"description": "Glob of files to scan and watch. Defaults to [**/*.ts,**/*.tsx]"
},
"movets.openEditors": {
"type": "boolean",
"default": false,
"description": "Make edits in vscode instead of saving the changes to disk."
},
"movets.removeIndexSuffix": {
"type": "boolean",
"default": true,
"description": "Removes index filename from imports"
}
}
}
},
"scripts": {
"vscode:prepublish": "tsc -p ./",
"compile": "tsc -watch -p ./",
"postinstall": "node ./node_modules/vscode/bin/install",
"test": "node ./node_modules/vscode/bin/test"
},
"dependencies": {
"typescript": "^3.7.5",
"fs-extra-promise": "1.0.1",
"@types/fs-extra-promise": "1.0.8",
"minimatch": "3.0.4"
},
"devDependencies": {
"vscode": "^1.1.36",
"mocha": "^7.0.1",
"@types/node": "13.7.0",
"@types/minimatch": "3.0.3",
"@types/mocha": "^7.0.1"
}
}