forked from styled-components/vscode-styled-components
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
107 lines (107 loc) · 2.8 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
{
"name": "vscode-styled-components",
"displayName": "vscode-styled-components",
"description": "Syntax highlighting for styled-components",
"version": "1.7.5",
"publisher": "styled-components",
"icon": "logo.png",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/styled-components/vscode-styled-components.git"
},
"main": "dist/extension.js",
"engines": {
"vscode": "^1.63.0"
},
"categories": [
"Programming Languages"
],
"scripts": {
"format": "prettier --write .",
"lint": "prettier --check .",
"compile": "node ./build.js",
"test": "node ./src/tests/runTests.js",
"watch": "node ./build.js --watch",
"vscode:prepublish": "node ./build.js --production",
"prepare": "husky install"
},
"activationEvents": [
"onLanguage:typescriptreact",
"onLanguage:javascriptreact",
"onCommand:extension.insertColonOrSemiColon"
],
"contributes": {
"languages": [
{
"id": "source.css.styled",
"aliases": [
"CSS (Styled Components)"
],
"configuration": "./css.styled.configuration.json"
}
],
"grammars": [
{
"language": "source.css.styled",
"scopeName": "source.css.styled",
"path": "./syntaxes/css.styled.json"
},
{
"injectTo": [
"source.js",
"source.ts",
"source.jsx",
"source.js.jsx",
"source.tsx",
"source.vue",
"source.svelte"
],
"scopeName": "styled",
"path": "./syntaxes/styled-components.json",
"embeddedLanguages": {
"source.css.scss": "css",
"meta.embedded.line.ts": "typescript"
}
}
],
"typescriptServerPlugins": [
{
"name": "typescript-styled-plugin",
"enableForWorkspaceTypeScriptVersions": true
}
],
"commands": [
{
"command": "extension.insertColonOrSemiColon",
"title": "Fix Colon and Semicolon"
}
],
"keybindings": [
{
"command": "extension.insertColonOrSemiColon",
"key": "enter",
"when": "suggestWidgetVisible && textInputFocus && editorLangId =~ /javascript|typescript|javascriptreact|typescriptreact/ && config.editor.acceptSuggestionOnEnter != 'off'"
}
]
},
"dependencies": {
"d3-color": "^3.0.1",
"typescript-styled-plugin": "^0.18.2",
"vscode-css-languageservice": "^5.1.13"
},
"devDependencies": {
"@types/d3-color": "^3.0.2",
"@types/glob": "^7.2.0",
"@types/mocha": "^9.0.0",
"@types/node": "^16.11.12",
"@types/vscode": "^1.60.0",
"@vscode/test-electron": "^2.1.3",
"esbuild": "^0.14.27",
"glob": "7.1.6",
"husky": "^7.0.4",
"mocha": "^9.2.1",
"prettier": "^2.5.1",
"typescript": "^4.6.2"
}
}