2 Star 1 Fork 0

不吃西红柿的羊角仕/hide-novel-in-code

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 2.66 KB
一键复制 编辑 原始数据 按行查看 历史
huojunbo 提交于 2024-07-26 15:49 . version-0.0.1 又不是不能用
{
"name": "novelhideincode",
"displayName": "novelhideincode",
"description": "a extension for read novel in code",
"version": "0.0.1",
"engines": {
"vscode": "^1.91.0"
},
"categories": [
"Other"
],
"activationEvents": [],
"main": "./dist/extension.js",
"contributes": {
"commands": [
{
"command": "extension.showNovel",
"title": "Show Novel"
},
{
"command": "extension.previousPage",
"title": "Previous Page"
},
{
"command": "extension.nextPage",
"title": "Next Page"
},
{
"command": "extension.setNovelFolderPath",
"title": "Set Novel Folder Path"
},
{
"command": "extension.showCodeLensAtCursor",
"title": "Show CodeLens at Cursor"
},
{
"command": "extension.toggleCodeLens",
"title": "Toggle CodeLens"
}
],
"keybindings": [
{
"command": "extension.nextPage",
"key": "pagedown",
"when": "editorTextFocus"
},
{
"command": "extension.previousPage",
"key": "pageup",
"when": "editorTextFocus"
}
],
"configuration": {
"type": "object",
"properties": {
"novelHideInCode.novelFolderPath": {
"type": "string",
"default": "",
"description": "The path to the folder containing novel TXT files."
},
"novelHideInCode.maxLineLength": {
"type": "number",
"default": 50,
"description": "The maximum number of characters per line."
},
"novelHideInCode.numberOfLines": {
"type": "number",
"default": 5,
"description": "The number of lines to display (including the last line from the previous page)."
}
}
}
},
"scripts": {
"vscode:prepublish": "npm run package",
"compile": "webpack",
"watch": "webpack --watch",
"package": "webpack --mode production --devtool hidden-source-map",
"compile-tests": "tsc -p . --outDir out",
"watch-tests": "tsc -p . -w --outDir out",
"pretest": "npm run compile-tests && npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
},
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/node": "^18.19.41",
"@types/vscode": "^1.91.0",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"@vscode/test-electron": "^2.3.6",
"eslint": "^8.52.0",
"glob": "^10.3.10",
"mocha": "^10.2.0",
"ts-loader": "^9.5.0",
"typescript": "^5.2.2",
"webpack": "^5.89.0",
"webpack-cli": "^5.1.4"
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/notomatoes/hide-novel-in-code.git
git@gitee.com:notomatoes/hide-novel-in-code.git
notomatoes
hide-novel-in-code
hide-novel-in-code
main

搜索帮助