175 lines
4.9 KiB
JSON
Executable File
175 lines
4.9 KiB
JSON
Executable File
{
|
|
"name": "vscode-tailwindcss",
|
|
"displayName": "Tailwind CSS IntelliSense",
|
|
"description": "Tailwind CSS class name completion",
|
|
"preview": true,
|
|
"author": "Brad Cornes <hello@bradley.dev>",
|
|
"license": "MIT",
|
|
"version": "0.3.1",
|
|
"homepage": "https://github.com/bradlc/vscode-tailwindcss",
|
|
"bugs": {
|
|
"url": "https://github.com/bradlc/vscode-tailwindcss/issues",
|
|
"email": "hello@bradley.dev"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://github.com/bradlc/vscode-tailwindcss.git"
|
|
},
|
|
"publisher": "bradlc",
|
|
"keywords": [
|
|
"tailwind",
|
|
"tailwindcss",
|
|
"css",
|
|
"intellisense",
|
|
"autocomplete",
|
|
"vscode"
|
|
],
|
|
"engines": {
|
|
"vscode": "^1.33.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"galleryBanner": {
|
|
"color": "#f1f5f8"
|
|
},
|
|
"icon": "media/icon.png",
|
|
"activationEvents": [
|
|
"workspaceContains:**/{tailwind,tailwind.config,tailwind-config,.tailwindrc}.js"
|
|
],
|
|
"main": "dist/extension/index.js",
|
|
"contributes": {
|
|
"grammars": [
|
|
{
|
|
"scopeName": "tailwindcss.injection",
|
|
"path": "./syntaxes/tailwind.tmLanguage.json",
|
|
"injectTo": [
|
|
"source.css",
|
|
"source.css.scss",
|
|
"source.css.less",
|
|
"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\"}`"
|
|
},
|
|
"tailwindCSS.validate": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"markdownDescription": ""
|
|
},
|
|
"tailwindCSS.lint.utilityConflicts": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "warning",
|
|
"markdownDescription": "",
|
|
"markdownEnumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"tailwindCSS.lint.unsupportedApply": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"markdownDescription": "",
|
|
"markdownEnumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
},
|
|
"tailwindCSS.lint.unknownScreen": {
|
|
"type": "string",
|
|
"enum": [
|
|
"ignore",
|
|
"warning",
|
|
"error"
|
|
],
|
|
"default": "error",
|
|
"markdownDescription": "",
|
|
"markdownEnumDescriptions": [
|
|
"",
|
|
"",
|
|
""
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"dev": "glob-exec --foreach --parallel \"src/*.ts\" -- \"ncc build {{file}} --watch -o dist/{{file.toString().replace(/^src\\//, '').replace(/\\.ts$/, '')}}\"",
|
|
"build": "glob-exec --foreach --parallel \"src/*.ts\" -- \"ncc build {{file}} -o dist/{{file.toString().replace(/^src\\//, '').replace(/\\.ts$/, '')}}\"",
|
|
"minify": "glob-exec --foreach --parallel \"dist/**/*.js\" -- \"terser {{file}} --compress --mangle --output {{file.toString()}}\"",
|
|
"package": "vsce package",
|
|
"vscode:prepublish": "npm run clean && npm run build && npm run minify",
|
|
"clean": "rimraf dist",
|
|
"test": "jest"
|
|
},
|
|
"devDependencies": {
|
|
"@ctrl/tinycolor": "^3.1.0",
|
|
"@types/mocha": "^5.2.0",
|
|
"@types/moo": "^0.5.3",
|
|
"@types/node": "^13.9.3",
|
|
"@types/vscode": "^1.32.0",
|
|
"@zeit/ncc": "^0.22.0",
|
|
"callsite": "^1.0.0",
|
|
"chokidar": "^3.3.1",
|
|
"concurrently": "^5.1.0",
|
|
"css.escape": "^1.5.1",
|
|
"dlv": "^1.1.3",
|
|
"dset": "^2.0.1",
|
|
"esm": "^3.2.25",
|
|
"glob-exec": "^0.1.1",
|
|
"globalyzer": "^0.1.4",
|
|
"globrex": "^0.1.2",
|
|
"import-from": "^3.0.0",
|
|
"jest": "^25.5.4",
|
|
"line-column": "^1.0.2",
|
|
"mitt": "^1.2.0",
|
|
"mkdirp": "^1.0.3",
|
|
"moo": "^0.5.1",
|
|
"pkg-up": "^3.1.0",
|
|
"postcss": "^7.0.27",
|
|
"postcss-selector-parser": "^6.0.2",
|
|
"rimraf": "^3.0.2",
|
|
"semver": "^7.3.2",
|
|
"stack-trace": "0.0.10",
|
|
"terser": "^4.6.12",
|
|
"tiny-invariant": "^1.1.0",
|
|
"tslint": "^5.16.0",
|
|
"typescript": "^3.8.3",
|
|
"vsce": "^1.76.1",
|
|
"vscode-emmet-helper-bundled": "0.0.1",
|
|
"vscode-languageclient": "^5.2.1",
|
|
"vscode-languageserver": "^5.2.1",
|
|
"vscode-uri": "^2.1.1"
|
|
}
|
|
}
|