cursorless/package.json

456 lines
10 KiB
JSON
Raw Normal View History

2021-02-14 18:23:21 +03:00
{
"name": "cursorless",
"displayName": "Cursorless",
"description": "Don't let the cursor slow you down",
2021-05-12 12:53:00 +03:00
"icon": "images/icon.png",
"galleryBanner": {
2021-05-15 18:25:40 +03:00
"color": "#00001A",
2021-05-12 12:53:00 +03:00
"theme": "dark"
},
"version": "0.23.0",
2021-03-05 20:16:13 +03:00
"publisher": "pokey",
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/pokey/cursorless-vscode.git"
2021-03-05 20:16:13 +03:00
},
2021-02-14 18:23:21 +03:00
"engines": {
"vscode": "^1.53.0"
},
2021-05-13 23:49:11 +03:00
"extensionKind": [
"workspace"
],
2021-02-14 18:23:21 +03:00
"categories": [
"Other"
],
"extensionDependencies": [
"pokey.parse-tree"
],
2021-02-14 18:23:21 +03:00
"activationEvents": [
2021-02-18 20:43:52 +03:00
"*"
2021-02-14 18:23:21 +03:00
],
2021-05-12 12:53:00 +03:00
"main": "./dist/extension.js",
"capabilities": {
"untrustedWorkspaces": {
"supported": true
}
},
2021-02-14 18:23:21 +03:00
"contributes": {
"commands": [
2021-03-05 20:16:13 +03:00
{
"command": "cursorless.command",
"title": "Cursorless: Perform command"
},
{
"command": "cursorless.toggleDecorations",
"title": "Cursorless: Toggle decorations"
},
{
"command": "cursorless.recomputeDecorationStyles",
"title": "Cursorless: Recompute decoration styles"
2021-07-31 20:18:06 +03:00
},
{
"command": "cursorless.recordTestCase",
"title": "Cursorless: Record test case"
2021-02-14 18:23:21 +03:00
}
2021-02-16 19:45:00 +03:00
],
"colors": [
2021-04-18 18:47:36 +03:00
{
"id": "cursorless.pendingDeleteBackground",
"description": "Background color to use for ranges about to be deleted",
"defaults": {
"dark": "#ff00008a",
"light": "#ff00008a",
"highContrast": "#ff00008a"
}
2021-05-02 18:57:42 +03:00
},
{
"id": "cursorless.referencedBackground",
"description": "Background color to use for ranges that are being referenced",
"defaults": {
"dark": "#00a2ff4d",
"light": "#00a2ff4d",
"highContrast": "#00a2ff4d"
}
},
2021-05-02 18:57:42 +03:00
{
"id": "cursorless.justAddedBackground",
"description": "Background color to use for ranges that have just been added",
"defaults": {
"dark": "#09ff005b",
"light": "#09ff005b",
"highContrast": "#09ff005b"
}
2021-05-08 17:57:13 +03:00
},
{
"id": "cursorless.pendingModification0Background",
"description": "Background color to use for ranges that are being changed",
2021-05-08 17:57:13 +03:00
"defaults": {
"dark": "#8c00ff86",
"light": "#8c00ff86",
"highContrast": "#8c00ff86"
2021-05-08 17:57:13 +03:00
}
},
{
"id": "cursorless.pendingModification1Background",
"description": "Background color to use for ranges that are being changed",
2021-05-08 17:57:13 +03:00
"defaults": {
"dark": "#ff009d7e",
"light": "#ff009d7e",
"highContrast": "#ff009d7e"
2021-05-08 17:57:13 +03:00
}
2021-03-05 20:16:13 +03:00
}
],
"configuration": {
"title": "Cursorless",
2021-03-05 20:16:13 +03:00
"properties": {
"cursorless.showOnStart": {
2021-03-05 20:16:13 +03:00
"type": "boolean",
"default": true,
"description": "Whether to show decorations on vscode start."
2021-04-18 18:47:36 +03:00
},
"cursorless.pendingEditDecorationTime": {
"type": "integer",
"default": 100,
2021-04-18 18:47:36 +03:00
"description": "How long in milliseconds to show a pending edit decoration"
},
2021-07-09 17:13:52 +03:00
"cursorless.hatSizeAdjustment": {
"type": "number",
2021-07-09 17:13:52 +03:00
"default": 0,
"description": "Percentage to increase or decrease hat size; positive increases size"
},
"cursorless.hatVerticalOffset": {
"type": "number",
"default": 0,
"description": "How much to vertically shift the hats as a percentage of font size; positive is up"
},
"cursorless.colors.dark": {
"description": "Colors to use for dark theme",
"type": "object",
"properties": {
"default": {
"type": "string"
},
"blue": {
"type": "string"
},
"green": {
"type": "string"
},
"red": {
"type": "string"
},
"pink": {
"type": "string"
},
"yellow": {
"type": "string"
}
},
"default": {
"default": "#aaa7bb",
"blue": "#089ad3",
"green": "#36B33F",
"red": "#E02D28",
"pink": "#E06CAA",
"yellow": "#E5C02C"
},
"additionalProperties": false
},
"cursorless.colors.light": {
"description": "Colors to use for light theme",
"type": "object",
"properties": {
"default": {
"type": "string"
},
"blue": {
"type": "string"
},
"green": {
"type": "string"
},
"red": {
"type": "string"
},
"pink": {
"type": "string"
},
"yellow": {
"type": "string"
}
},
"default": {
"default": "#757180",
"blue": "#089ad3",
"green": "#36B33F",
"red": "#E02D28",
"pink": "#e0679f",
"yellow": "#edb62b"
},
"additionalProperties": false
},
"cursorless.hatEnablement.colors": {
"description": "Which colors to enable",
"type": "object",
"properties": {
"blue": {
"type": "boolean"
},
"green": {
"type": "boolean"
},
"red": {
"type": "boolean"
},
"pink": {
"type": "boolean"
},
"yellow": {
"type": "boolean"
}
},
"default": {
"blue": true,
"green": true,
"red": true,
"pink": true,
"yellow": true
},
"additionalProperties": false
},
"cursorless.hatEnablement.shapes": {
"markdownDescription": "Which shapes to enable. See the [docs](https://github.com/pokey/cursorless-talon/blob/main/docs/README.md#shapes) if you're not sure which shape name corresponds to which hat shape.",
"type": "object",
"properties": {
"ex": {
"type": "boolean"
},
"fox": {
"type": "boolean"
},
"wing": {
"type": "boolean"
},
"hole": {
"type": "boolean"
},
"frame": {
"type": "boolean"
},
"curve": {
"type": "boolean"
},
"eye": {
"type": "boolean"
},
"play": {
"type": "boolean"
},
"bolt": {
"type": "boolean"
},
"crosshairs": {
"type": "boolean"
}
},
"default": {
"ex": false,
"fox": false,
"wing": false,
"hole": false,
"frame": false,
"curve": false,
"eye": false,
"play": false,
"bolt": false,
"crosshairs": false
},
"additionalProperties": false
},
"cursorless.hatPenalties.colors": {
"description": "How much to penalize each hat color. Number of syllables is a good default",
"type": "object",
"properties": {
"blue": {
"type": "number"
},
"green": {
"type": "number"
},
"red": {
"type": "number"
},
"pink": {
"type": "number"
},
"yellow": {
"type": "number"
}
},
"default": {
"blue": 1,
"green": 1,
"red": 1,
"pink": 1,
"yellow": 1
},
"additionalProperties": false
},
"cursorless.hatPenalties.shapes": {
"description": "How much to penalize each hat shape. Number of syllables is a good default",
"type": "object",
"properties": {
"ex": {
"type": "number"
},
"fox": {
"type": "number"
},
"wing": {
"type": "number"
},
"hole": {
"type": "number"
},
"frame": {
"type": "number"
},
"curve": {
"type": "number"
},
"eye": {
"type": "number"
},
"play": {
"type": "number"
},
"bolt": {
"type": "number"
},
"crosshairs": {
"type": "number"
}
},
"default": {
"ex": 1,
"fox": 1,
"wing": 1,
"hole": 1,
"frame": 1,
"curve": 1,
"eye": 1,
"play": 1,
"bolt": 1,
"crosshairs": 1
},
"additionalProperties": false
},
"cursorless.individualHatAdjustments": {
"description": "Separate adjustments for each hat shape",
"type": "object",
"default": {
"default": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"ex": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"fox": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"wing": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"hole": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"frame": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"curve": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"eye": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"play": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"bolt": {
"sizeAdjustment": 0,
"verticalOffset": 0
},
"crosshairs": {
"sizeAdjustment": 0,
"verticalOffset": 0
}
}
},
"cursorless.experimental.snippetsDir": {
"description": "Directory containing snippets for use in cursorless",
"type": "string"
2021-02-16 19:45:00 +03:00
}
}
},
"languages": [
{
"id": "json",
"extensions": [
".cursorless-snippets"
]
}
],
"jsonValidation": [
{
"fileMatch": "*.cursorless-snippets",
"url": "./schemas/cursorless-snippets.json"
}
]
2021-02-14 18:23:21 +03:00
},
"scripts": {
2021-04-22 15:45:07 +03:00
"vscode:prepublish": "npm run -S esbuild-base -- --minify",
2021-05-12 12:53:00 +03:00
"esbuild-base": "esbuild ./src/extension.ts --bundle --outfile=dist/extension.js --external:vscode --format=cjs --platform=node",
2021-04-22 15:45:07 +03:00
"esbuild": "npm run -S esbuild-base -- --sourcemap",
"esbuild-watch": "npm run -S esbuild-base -- --sourcemap --watch",
"test-compile": "tsc -p ./",
2021-02-14 18:23:21 +03:00
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
2021-08-01 21:16:36 +03:00
"pretest": "yarn run compile && yarn run lint && yarn run esbuild",
2021-02-14 18:23:21 +03:00
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/glob": "^7.1.3",
2021-07-31 20:18:06 +03:00
"@types/js-yaml": "^4.0.2",
2021-02-14 18:23:21 +03:00
"@types/mocha": "^8.0.4",
"@types/node": "^16.11.3",
2021-07-31 20:18:06 +03:00
"@types/sinon": "^10.0.2",
2021-02-16 19:45:00 +03:00
"@types/vscode": "^1.53.0",
2021-02-14 18:23:21 +03:00
"@typescript-eslint/eslint-plugin": "^4.9.0",
"@typescript-eslint/parser": "^4.9.0",
2021-04-22 15:45:07 +03:00
"esbuild": "^0.11.12",
2021-02-16 19:45:00 +03:00
"eslint": "^7.15.0",
"fast-xml-parser": "^3.20.0",
2021-07-31 20:18:06 +03:00
"glob": "^7.1.7",
"js-yaml": "^4.1.0",
2021-02-14 18:23:21 +03:00
"mocha": "^8.1.3",
2021-07-31 20:18:06 +03:00
"sinon": "^11.1.1",
"typescript": "^4.4.4",
2021-02-14 18:23:21 +03:00
"vscode-test": "^1.4.1"
2021-02-16 19:45:00 +03:00
},
"dependencies": {
"@types/lodash": "^4.14.168",
2021-04-22 15:45:07 +03:00
"immutability-helper": "^3.1.1",
2021-04-18 14:55:40 +03:00
"lodash": "^4.17.21"
2021-02-14 18:23:21 +03:00
}
}