mirror of
https://github.com/raven-pensieve/obsidian-ace-code-editor.git
synced 2026-07-22 05:48:56 +00:00
移除 copy-to-vault.mjs 脚本,简化项目构建流程。 更新 version-bump.mjs 使用 node: 前缀导入,并 修复 Beta 版本发布时的 versions.json 更新逻辑。 规范化 sync-i18n.mjs 代码风格,统一使用单引号 和标准缩进格式,提升代码可维护性。
62 lines
1.9 KiB
JSON
62 lines
1.9 KiB
JSON
{
|
|
"name": "ace-code-editor",
|
|
"version": "2.0.0",
|
|
"description": "An enhanced code editor using Ace editor, providing syntax highlighting, code folding, and other advanced editing features.",
|
|
"main": "main.js",
|
|
"scripts": {
|
|
"dev": "node scripts/deploy.mjs link && node scripts/esbuild.config.mjs dev",
|
|
"build": "tsc -noEmit -skipLibCheck && node scripts/esbuild.config.mjs prod && node scripts/deploy.mjs copy",
|
|
"version": "pnpm run build && node scripts/version-bump.mjs && pnpm run changelog:u && pnpm i",
|
|
"changelog:u": "conventional-changelog -p angular -i CHANGELOG.md -s -u -n ./scripts/changelog-option.js",
|
|
"changelog:all": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 -n ./scripts/changelog-option.js",
|
|
"lint": "eslint .",
|
|
"lint:fix": "eslint . --fix",
|
|
"i18n:typesafe": "typesafe-i18n",
|
|
"i18n:sync": "node scripts/sync-i18n.mjs"
|
|
},
|
|
"keywords": [
|
|
"Ace Editor",
|
|
"Code Editor",
|
|
"Obsidian Plugin"
|
|
],
|
|
"author": "RavenHogWarts",
|
|
"license": "GPL-3.0-only",
|
|
"engines": {
|
|
"node": ">=18.x"
|
|
},
|
|
"pnpm": {
|
|
"overrides": {
|
|
"@conventional-changelog/git-client": "^2.0.0"
|
|
}
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.3.3",
|
|
"@types/react": "^19.2.14",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "8.56.1",
|
|
"@typescript-eslint/parser": "^8.56.1",
|
|
"builtin-modules": "5.0.0",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"esbuild": "0.27.3",
|
|
"eslint": "^10.0.2",
|
|
"eslint-plugin-obsidianmd": "^0.1.9",
|
|
"fs-extra": "^11.3.4",
|
|
"obsidian": "^1.12.3",
|
|
"postcss": "^8.5.8",
|
|
"postcss-nesting": "^14.0.0",
|
|
"tslib": "2.8.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/ace": "^0.0.52",
|
|
"ace-builds": "^1.43.6",
|
|
"dotenv": "^17.3.1",
|
|
"html-react-parser": "^5.2.17",
|
|
"lucide-react": "^0.577.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.4",
|
|
"react-ace": "^14.0.1",
|
|
"react-dom": "^19.2.4",
|
|
"typesafe-i18n": "^5.27.1"
|
|
}
|
|
}
|