mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
* 新增 arc-green 主题支持 * 将 assets 目录标记为 linguist-generated * 将 arc-green 放入 gitea 系列 * 调整 gitea 系列主题边框色和下划线颜色 * 整理代码 & 补充测试 * 调整 gitea 主题下划线导航颜色并修正二级菜单图标间距与下划线位置 * 更新快照 --------- Co-authored-by: lutinglt <lutinglt@users.noreply.github.com>
91 lines
2.5 KiB
JSON
91 lines
2.5 KiB
JSON
{
|
|
"name": "@lutinglt/gitea-github-theme",
|
|
"version": "28.1.0",
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "lutinglt",
|
|
"url": "https://github.com/lutinglt"
|
|
},
|
|
"type": "module",
|
|
"engines": {
|
|
"bun": ">=1.3.14"
|
|
},
|
|
"exports": {
|
|
"./core": "./src/index.ts",
|
|
"./vite-plugin": "./src/vite-plugin/index.ts",
|
|
"./styles": "./styles/index.ts",
|
|
"./styles/common": "./styles/common/index.ts",
|
|
"./themes": "./themes/index.ts",
|
|
"./primer": "./primer/index.ts"
|
|
},
|
|
"scripts": {
|
|
"lint": "bunx --bun eslint .",
|
|
"fmt": "bunx --bun prettier --write .",
|
|
"check": "tsc -b",
|
|
"bundle": "bun check && bunx --bun vite build",
|
|
"dev": "bun bundle && bun sync:theme",
|
|
"commit": "bun fmt && bun bundle && bun vitest",
|
|
"version": "bun scripts/version.ts",
|
|
"release": "bun bundle && bun update:locale",
|
|
"bundle:ci": "bun bundle && bun vitest",
|
|
"sync:theme": "bun scripts/syncTheme.ts",
|
|
"update:primer": "bun scripts/buildPrimerTSToken.ts",
|
|
"update:locale": "bun scripts/translate.ts",
|
|
"update:gitea": "bun scripts/updateGitea.ts",
|
|
"update:arcgreen": "bun scripts/updateArcGreen.ts",
|
|
"update:snapshot": "bun vitest --update",
|
|
"install:clean": "rm -rf node_modules bun.lock bun.lockb && bun install"
|
|
},
|
|
"devDependencies": {
|
|
"@catppuccin/palette": "1.8.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@primer/primitives": "11.10.0",
|
|
"@types/node": "^25.9.5",
|
|
"@vanilla-extract/css": "^1.21.2",
|
|
"color2k": "^2.0.4",
|
|
"dotenv": "^17.4.2",
|
|
"eslint": "^10.10.0",
|
|
"globals": "^17.12.0",
|
|
"jiti": "^2.7.0",
|
|
"lightningcss": "^1.33.0",
|
|
"prettier": "3.8.1",
|
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
"style-dictionary": "^5.5.3",
|
|
"typescript": "^7.0.2",
|
|
"typescript-eslint": "^8.70.0",
|
|
"undici": "^7.29.1",
|
|
"vite": "^8.2.2",
|
|
"vitest": "^4.1.11"
|
|
},
|
|
"prettier": {
|
|
"printWidth": 120,
|
|
"tabWidth": 2,
|
|
"useTabs": false,
|
|
"semi": true,
|
|
"singleQuote": false,
|
|
"quoteProps": "as-needed",
|
|
"jsxSingleQuote": false,
|
|
"trailingComma": "es5",
|
|
"bracketSpacing": true,
|
|
"bracketSameLine": true,
|
|
"arrowParens": "avoid",
|
|
"proseWrap": "always",
|
|
"htmlWhitespaceSensitivity": "css",
|
|
"endOfLine": "lf",
|
|
"plugins": [
|
|
"prettier-plugin-organize-imports"
|
|
],
|
|
"organizeImportsSkipDestructiveCodeActions": false,
|
|
"overrides": [
|
|
{
|
|
"files": [
|
|
"themes/github.ts"
|
|
],
|
|
"options": {
|
|
"printWidth": 150
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|