UNPKG

quote-morph

Version:

Automatically switches quotes to backticks when using ${} in JS/TS strings.

118 lines (117 loc) 3.3 kB
{ "name": "quote-morph", "version": "1.1.8", "displayName": "QuoteMorph", "description": "Automatically switches quotes to backticks when using ${} in JS/TS strings.", "publisher": "pilotkid", "icon": "docs/images/icon.png", "license": "MIT", "author": { "name": "Marcello Bachechi", "url": "https://github.com/pilotkid" }, "homepage": "https://github.com/pilotkid/quote-morph", "sponsor": { "url": "https://ko-fi.com/marcellobachechi" }, "repository": { "type": "git", "url": "https://github.com/pilotkid/quote-morph" }, "engines": { "vscode": "^1.99.0" }, "categories": [ "Formatters", "Other" ], "activationEvents": [ "onStartupFinished" ], "main": "./out/extension.js", "contributes": { "configuration": { "title": "QuoteMorph", "properties": { "quoteMorph.enabled": { "type": "boolean", "default": true, "description": "Enable/disable the QuoteMorph." }, "quoteMorph.languageIds": { "type": "array", "default": [ "javascript", "typescript", "javascriptreact", "typescriptreact", "vue", "svelte", "astro" ], "items": { "type": "string" }, "description": "Language IDs where the extension should run (e.g. javascript, typescriptreact, vue)." }, "quoteMorph.enableForAllLanguages": { "type": "boolean", "default": false, "description": "If true, the extension runs for any language, ignoring languageIds." }, "quoteMorph.enableQuotesSingle": { "type": "boolean", "default": true, "description": "Enable conversion from single quotes to backticks when using ${}. (' to `)" }, "quoteMorph.enableQuotesDouble": { "type": "boolean", "default": true, "description": "Enable conversion from double quotes to backticks when using ${}. (\" to `)" } } } }, "scripts": { "vscode:prepublish": "npm run compile", "prepare": "npm run compile", "compile": "tsc -p ./", "watch": "tsc -watch -p ./", "pretest": "npm run compile && npm run lint", "test": "mocha -r ts-node/register \"test/**/*.test.ts\"", "lint": "eslint src", "lint:fix": "eslint src --fix", "build": "tsc -p tsconfig.build.json", "package": "npx @vscode/vsce package", "publish:vsce": "npx @vscode/vsce publish", "publish:npm": "npm publish" }, "devDependencies": { "@types/vscode": "^1.99.0", "@types/mocha": "^10.0.10", "@types/chai": "^4.3.0", "@types/node": "20.x", "@typescript-eslint/eslint-plugin": "^8.31.1", "@typescript-eslint/parser": "^8.31.1", "eslint": "^9.25.1", "typescript": "^5.8.3", "@vscode/test-cli": "^0.0.10", "@vscode/test-electron": "^2.5.2", "@vscode/vsce": "^2.18.0", "mocha": "^10.2.0", "chai": "^4.3.7", "ts-node": "^10.9.1" }, "keywords": [ "vscode", "extension", "quotes", "backticks", "template literals", "javascript", "typescript", "string conversion", "developer tools", "productivity" ] }