mirror of
https://github.com/lutinglt/gitea-github-theme.git
synced 2026-10-28 09:44:55 +00:00
82 lines
2.3 KiB
JSON
82 lines
2.3 KiB
JSON
{
|
|
"name": "gitea-github-theme",
|
|
"version": "1.26.2",
|
|
"license": "Apache-2.0",
|
|
"author": {
|
|
"name": "lutinglt",
|
|
"url": "https://github.com/lutinglt"
|
|
},
|
|
"type": "module",
|
|
"scripts": {
|
|
"test": "vitest",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"build": "tsgo -b && vite build",
|
|
"commit": "npm run format && npm run lint && npm run test && npm run build",
|
|
"version": "node scripts/version.ts",
|
|
"release": "npm run build && npm run update:locale",
|
|
"build:ci": "npm run lint && npm run test && npm run build",
|
|
"update:primer": "node scripts/buildPrimerTSToken.ts",
|
|
"update:locale": "node scripts/translate.ts",
|
|
"update:gitea": "node scripts/updateGitea.ts",
|
|
"install:clean": "npm cache clean --force && rm -rf node_modules package-lock.json && npm install"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/preset-typescript": "^7.28.5",
|
|
"@catppuccin/palette": "^1.8.0",
|
|
"@eslint/js": "^10.0.1",
|
|
"@linaria/core": "^7.0.0",
|
|
"@primer/primitives": "11.9.0",
|
|
"@types/node": "^25.5.2",
|
|
"@typescript/native-preview": "^7.0.0-dev.20260509.2",
|
|
"@vanilla-extract/css": "^1.20.1",
|
|
"@vanilla-extract/vite-plugin": "^5.2.2",
|
|
"@wyw-in-js/vite": "^1.0.7",
|
|
"color2k": "^2.0.3",
|
|
"dotenv": "^17.4.1",
|
|
"eslint": "^10.3.0",
|
|
"globals": "^17.6.0",
|
|
"jiti": "^2.6.1",
|
|
"lightningcss": "^1.32.0",
|
|
"polished": "^4.3.1",
|
|
"prettier": "3.8.1",
|
|
"prettier-plugin-organize-imports": "^4.3.0",
|
|
"style-dictionary": "^5.4.1",
|
|
"typescript-eslint": "^8.59.1",
|
|
"typescript-plugin-css-modules": "^5.2.0",
|
|
"undici": "^7.0.0",
|
|
"vite": "^8.0.5",
|
|
"vitest": "^4.1.7"
|
|
},
|
|
"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
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|