mirror of
https://github.com/jimeh/vscode-make-executable-if-script.git
synced 2026-02-19 11:36:40 +00:00
65 lines
2.0 KiB
JSON
65 lines
2.0 KiB
JSON
{
|
|
"name": "make-executable-if-script",
|
|
"displayName": "Make Executable If Script",
|
|
"description": "Mark file as executable (chmod +x) if it starts with `#!`.",
|
|
"version": "0.0.1",
|
|
"engines": {
|
|
"vscode": "^1.97.0"
|
|
},
|
|
"categories": [
|
|
"Other"
|
|
],
|
|
"activationEvents": [],
|
|
"main": "./dist/extension.js",
|
|
"contributes": {
|
|
"commands": [
|
|
{
|
|
"command": "make-executable-if-script.makeExecutable",
|
|
"title": "Make Executable If Script"
|
|
}
|
|
],
|
|
"configuration": {
|
|
"title": "Make Executable If Script",
|
|
"properties": {
|
|
"make-executable-if-script.autoMarkOnSave": {
|
|
"type": "boolean",
|
|
"default": true,
|
|
"description": "Automatically mark files as executable on save if they start with #! (hashbang)"
|
|
},
|
|
"make-executable-if-script.silent": {
|
|
"type": "boolean",
|
|
"default": false,
|
|
"description": "Suppress notifications when files are made executable"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"scripts": {
|
|
"vscode:prepublish": "npm run package",
|
|
"compile": "npm run check-types && npm run lint && node esbuild.js",
|
|
"watch": "npm-run-all -p watch:*",
|
|
"watch:esbuild": "node esbuild.js --watch",
|
|
"watch:tsc": "tsc --noEmit --watch --project tsconfig.json",
|
|
"package": "npm run check-types && npm run lint && node esbuild.js --production",
|
|
"compile-tests": "tsc -p . --outDir out",
|
|
"watch-tests": "tsc -p . -w --outDir out",
|
|
"pretest": "npm run compile-tests && npm run compile && npm run lint",
|
|
"check-types": "tsc --noEmit",
|
|
"lint": "eslint src",
|
|
"test": "vscode-test"
|
|
},
|
|
"devDependencies": {
|
|
"@types/vscode": "^1.97.0",
|
|
"@types/mocha": "^10.0.10",
|
|
"@types/node": "20.x",
|
|
"@typescript-eslint/eslint-plugin": "^8.22.0",
|
|
"@typescript-eslint/parser": "^8.22.0",
|
|
"eslint": "^9.19.0",
|
|
"esbuild": "^0.24.2",
|
|
"npm-run-all": "^4.1.5",
|
|
"typescript": "^5.7.3",
|
|
"@vscode/test-cli": "^0.0.10",
|
|
"@vscode/test-electron": "^2.4.1"
|
|
}
|
|
}
|