mirror of
https://github.com/raven-pensieve/obsidian-ace-code-editor.git
synced 2026-07-22 05:48:56 +00:00
将项目许可证从 MIT 改为 GPL-3.0-only,并更新 LICENSE 文件为完整 的 GNU General Public License v3 文本。为确保许可证声明与 package.json 中的 license 字段一致,替换许可证内容以明确拷贝、 分发和修改时的 copyleft 条款和免责声明。 主要变更: - package.json: 将 "license" 从 "MIT" 改为 "GPL-3.0-only"。 - LICENSE: 用 GPL v3 完整文本替换原来的 MIT 协议内容。 为什么要做这项变更: - 统一代码库中的许可证声明,避免产生法律和分发上的歧义。 - 明确采用 GPL v3 的 copyleft 要求,限制将本项目合并为 专有软件的可能性。
57 lines
1.9 KiB
JSON
57 lines
1.9 KiB
JSON
{
|
|
"name": "ace-code-editor",
|
|
"version": "1.3.2",
|
|
"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/esbuild.config.mjs",
|
|
"build": "tsc -noEmit -skipLibCheck && node scripts/esbuild.config.mjs production",
|
|
"build:local": "tsc -noEmit -skipLibCheck && node scripts/esbuild.config.mjs production && node scripts/copy-to-vault.mjs",
|
|
"version": "node scripts/version-bump.mjs",
|
|
"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",
|
|
"release:pre": "npm run build && npm run version && npm run changelog:u && npm i",
|
|
"release:tag": "node scripts/release-tag.mjs",
|
|
"lint": "eslint . --ext .ts,.tsx",
|
|
"lint:fix": "eslint . --ext .ts,.tsx --fix"
|
|
},
|
|
"keywords": [
|
|
"Ace Editor",
|
|
"Code Editor",
|
|
"Obsidian Plugin"
|
|
],
|
|
"author": "RavenHogWarts",
|
|
"license": "GPL-3.0-only",
|
|
"engines": {
|
|
"node": ">=18.x"
|
|
},
|
|
"devDependencies": {
|
|
"@types/node": "^25.0.2",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@typescript-eslint/eslint-plugin": "8.49.0",
|
|
"@typescript-eslint/parser": "^8.49.0",
|
|
"builtin-modules": "5.0.0",
|
|
"conventional-changelog-cli": "^5.0.0",
|
|
"esbuild": "0.27.1",
|
|
"eslint": "^9.39.2",
|
|
"eslint-plugin-obsidianmd": "^0.1.9",
|
|
"fs-extra": "^11.3.2",
|
|
"obsidian": "^1.11.0",
|
|
"postcss": "^8.5.6",
|
|
"postcss-nesting": "^13.0.2",
|
|
"tslib": "2.8.1",
|
|
"typescript": "^5.9.3"
|
|
},
|
|
"dependencies": {
|
|
"@types/ace": "^0.0.52",
|
|
"ace-builds": "^1.43.5",
|
|
"dotenv": "^17.2.3",
|
|
"html-react-parser": "^5.2.10",
|
|
"lucide-react": "^0.561.0",
|
|
"radix-ui": "^1.4.3",
|
|
"react": "^19.2.3",
|
|
"react-ace": "^14.0.1",
|
|
"react-dom": "^19.2.3"
|
|
}
|
|
}
|