2021-06-01 11:37:15 +00:00
{
"name" : "vscode-tailwindcss" ,
"displayName" : "Tailwind CSS IntelliSense" ,
"description" : "Intelligent Tailwind CSS tooling for VS Code" ,
"preview" : true ,
"author" : "Brad Cornes <hello@bradley.dev>" ,
"license" : "MIT" ,
2022-05-30 10:27:38 +00:00
"version" : "0.8.5" ,
2021-06-01 11:37:15 +00:00
"homepage" : "https://github.com/tailwindlabs/tailwindcss-intellisense" ,
"bugs" : {
"url" : "https://github.com/tailwindlabs/tailwindcss-intellisense/issues" ,
"email" : "hello@bradley.dev"
} ,
"repository" : {
"type" : "git" ,
"url" : "https://github.com/tailwindlabs/tailwindcss-intellisense.git"
} ,
"publisher" : "bradlc" ,
"keywords" : [
"tailwind" ,
"tailwindcss" ,
"css" ,
"intellisense" ,
"autocomplete" ,
"vscode"
] ,
"engines" : {
2022-04-13 13:05:41 +00:00
"vscode" : "^1.60.0"
2021-06-01 11:37:15 +00:00
} ,
"categories" : [
"Linters" ,
"Other"
] ,
"galleryBanner" : {
"color" : "#f9fafb"
} ,
"icon" : "media/icon.png" ,
"activationEvents" : [
"onStartupFinished"
] ,
2022-04-13 12:54:33 +00:00
"main" : "dist/extension.js" ,
2021-09-17 15:04:38 +00:00
"capabilities" : {
"virtualWorkspaces" : false
} ,
2021-06-01 11:37:15 +00:00
"contributes" : {
2022-04-13 13:05:41 +00:00
"languages" : [
{
"id" : "tailwindcss" ,
"aliases" : [
"Tailwind CSS"
] ,
"configuration" : "./tailwindcss.language.configuration.json"
}
] ,
2021-06-01 11:37:15 +00:00
"commands" : [
{
"command" : "tailwindCSS.showOutput" ,
"title" : "Tailwind CSS: Show Output" ,
"enablement" : "tailwindCSS.hasOutputChannel"
}
] ,
"grammars" : [
2022-04-13 13:05:41 +00:00
{
"language" : "tailwindcss" ,
"scopeName" : "source.css.tailwind" ,
"path" : "./syntaxes/source.css.tailwind.tmLanguage.json" ,
"tokenTypes" : {
"meta.function.url string.quoted" : "other"
}
} ,
2021-06-01 11:37:15 +00:00
{
2021-11-05 16:18:48 +00:00
"scopeName" : "tailwindcss.at-rules.injection" ,
"path" : "./syntaxes/at-rules.tmLanguage.json" ,
"injectTo" : [
"source.css" ,
"source.vue" ,
"source.svelte" ,
"text.html"
]
} ,
{
"scopeName" : "tailwindcss.at-rules.scss.injection" ,
"path" : "./syntaxes/at-rules.scss.tmLanguage.json" ,
"injectTo" : [
"source.css.scss"
]
} ,
2022-04-22 17:07:21 +00:00
{
"scopeName" : "tailwindcss.at-rules.postcss.injection" ,
"path" : "./syntaxes/at-rules.postcss.tmLanguage.json" ,
"injectTo" : [
"source.css.postcss"
]
} ,
2021-11-05 16:18:48 +00:00
{
"scopeName" : "tailwindcss.at-apply.injection" ,
"path" : "./syntaxes/at-apply.tmLanguage.json" ,
"injectTo" : [
"source.css" ,
"source.css.postcss" ,
"source.vue" ,
"source.svelte" ,
"text.html"
]
} ,
{
"scopeName" : "tailwindcss.theme-fn.injection" ,
"path" : "./syntaxes/theme-fn.tmLanguage.json" ,
"injectTo" : [
"source.css" ,
"source.css.postcss" ,
"source.vue" ,
"source.svelte" ,
"text.html"
]
} ,
{
"scopeName" : "tailwindcss.screen-fn.injection" ,
"path" : "./syntaxes/screen-fn.tmLanguage.json" ,
2021-06-01 11:37:15 +00:00
"injectTo" : [
"source.css" ,
"source.css.postcss" ,
"source.vue" ,
"source.svelte" ,
"text.html"
]
}
] ,
"configuration" : {
"title" : "Tailwind CSS IntelliSense" ,
"properties" : {
"tailwindCSS.emmetCompletions" : {
"type" : "boolean" ,
"default" : false ,
"markdownDescription" : "Enable class name completions when using Emmet-style syntax, for example `div.bg-red-500.uppercase`"
} ,
"tailwindCSS.includeLanguages" : {
"type" : "object" ,
"additionalProperties" : {
"type" : "string"
} ,
"default" : { } ,
"markdownDescription" : "Enable features in languages that are not supported by default. Add a mapping here between the new language and an already supported language.\n E.g.: `{\"plaintext\": \"html\"}`"
} ,
2022-01-07 17:13:11 +00:00
"tailwindCSS.files.exclude" : {
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"default" : [
"**/.git/**" ,
"**/node_modules/**" ,
"**/.hg/**"
] ,
"markdownDescription" : "Configure glob patterns to exclude from all IntelliSense features. Inherits all glob patterns from the `#files.exclude#` setting."
} ,
2021-10-08 15:51:14 +00:00
"tailwindCSS.classAttributes" : {
"type" : "array" ,
"items" : {
"type" : "string"
} ,
"default" : [
"class" ,
"className" ,
"ngClass"
] ,
"markdownDescription" : "The HTML attributes for which to provide class completions, hover previews, linting etc."
} ,
2022-04-20 14:04:51 +00:00
"tailwindCSS.suggestions" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable autocomplete suggestions." ,
"scope" : "language-overridable"
} ,
"tailwindCSS.hovers" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable hovers." ,
"scope" : "language-overridable"
} ,
"tailwindCSS.codeActions" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable code actions." ,
"scope" : "language-overridable"
} ,
2021-06-01 11:37:15 +00:00
"tailwindCSS.colorDecorators" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Controls whether the editor should render inline color decorators for Tailwind CSS classes and helper functions." ,
"scope" : "language-overridable"
} ,
"tailwindCSS.validate" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Enable linting. Rules can be configured individually using the `tailwindcss.lint.*` settings" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.cssConflict" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "warning" ,
"markdownDescription" : "Class names on the same HTML element which apply the same CSS property or properties" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.invalidApply" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "error" ,
"markdownDescription" : "Unsupported use of the [`@apply` directive](https://tailwindcss.com/docs/functions-and-directives/#apply)" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.invalidScreen" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "error" ,
"markdownDescription" : "Unknown screen name used with the [`@screen` directive](https://tailwindcss.com/docs/functions-and-directives/#screen)" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.invalidVariant" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "error" ,
"markdownDescription" : "Unknown variant name used with the [`@variants` directive](https://tailwindcss.com/docs/functions-and-directives/#variants)" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.invalidConfigPath" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "error" ,
"markdownDescription" : "Unknown or invalid path used with the [`theme` helper](https://tailwindcss.com/docs/functions-and-directives/#theme)" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.invalidTailwindDirective" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "error" ,
"markdownDescription" : "Unknown value used with the [`@tailwind` directive](https://tailwindcss.com/docs/functions-and-directives/#tailwind)" ,
"scope" : "language-overridable"
} ,
"tailwindCSS.lint.recommendedVariantOrder" : {
"type" : "string" ,
"enum" : [
"ignore" ,
"warning" ,
"error"
] ,
"default" : "warning" ,
"markdownDescription" : " C l a s s v a r i a n t s n o t i n t h e r e c o m m e n d e d o r d e r ( a p p l i e s i n [ J I T m o d e ] ( h t t p s : //tailwindcss.com/docs/just-in-time-mode) only)",
"scope" : "language-overridable"
} ,
"tailwindCSS.experimental.classRegex" : {
"type" : "array" ,
"scope" : "language-overridable"
} ,
2022-04-25 14:06:31 +00:00
"tailwindCSS.experimental.configFile" : {
"type" : [
"null" ,
"string" ,
"object"
] ,
"default" : null ,
"markdownDescription" : "Manually specify the Tailwind config file or files that should be read to provide IntelliSense features. Can either be a single string value, or an object where each key is a config file path and each value is a glob or array of globs representing the set of files that the config file applies to."
} ,
2021-06-01 11:37:15 +00:00
"tailwindCSS.showPixelEquivalents" : {
"type" : "boolean" ,
"default" : true ,
"markdownDescription" : "Show `px` equivalents for `rem` CSS values."
} ,
"tailwindCSS.rootFontSize" : {
"type" : "number" ,
"default" : 16 ,
"markdownDescription" : "Root font size in pixels. Used to convert `rem` CSS values to their `px` equivalents. See `#tailwindCSS.showPixelEquivalents#`."
2021-06-04 13:00:00 +00:00
} ,
"tailwindCSS.inspectPort" : {
"type" : [
"number" ,
"null"
] ,
"default" : null ,
"markdownDescription" : "Enable the Node.js inspector agent for the language server and listen on the specified port."
2021-06-01 11:37:15 +00:00
}
}
}
} ,
"scripts" : {
2022-04-13 13:05:41 +00:00
"_esbuild" : "node ../../esbuild.js src/extension.ts src/server.ts src/cssServer.ts --outdir=dist --external=pnpapi --external=vscode" ,
2022-04-13 12:54:33 +00:00
"dev" : "concurrently --raw --kill-others \"npm run watch\" \"npm run check -- --watch\"" ,
"watch" : "npm run clean && npm run _esbuild -- --watch" ,
2022-04-13 13:05:41 +00:00
"build" : "npm run check && npm run clean && npm run _esbuild -- --minify && mv dist/server.js dist/tailwindServer.js && mv dist/cssServer.js dist/tailwindModeServer.js" ,
2021-06-01 11:37:15 +00:00
"package" : "vsce package" ,
"publish" : "vsce publish" ,
2021-07-12 16:24:19 +00:00
"copy:notices" : "cp ../tailwindcss-language-server/ThirdPartyNotices.txt ./dist/ThirdPartyNotices.txt" ,
"vscode:prepublish" : "npm run build && npm run copy:notices" ,
2021-06-01 11:37:15 +00:00
"clean" : "rimraf dist" ,
2022-04-13 12:54:33 +00:00
"test" : "jest" ,
"check" : "tsc --noEmit"
2021-06-01 11:37:15 +00:00
} ,
"devDependencies" : {
2022-05-30 10:24:25 +00:00
"@types/vscode" : "1.60.0" ,
2021-10-01 13:11:45 +00:00
"color-name" : "1.1.4" ,
2022-04-13 12:54:33 +00:00
"concurrently" : "7.0.0" ,
2021-06-01 11:37:15 +00:00
"rimraf" : "3.0.2" ,
"terser" : "4.6.12" ,
"vsce" : "1.87.0" ,
"vscode-languageclient" : "7.0.0"
}
}