Files
gitea-github-theme/package.json
T
lutinglt 1598de8131 1.26 syntax highlighting and code editor style
css transform from sass to lightningcss
2026-05-11 00:20:28 +08:00

64 lines
1.8 KiB
JSON

{
"name": "gitea-github-theme",
"version": "1.26.0",
"license": "Apache-2.0",
"author": {
"name": "lutinglt",
"url": "https://github.com/lutinglt"
},
"type": "module",
"scripts": {
"build": "tsgo -b && vite build",
"lint": "eslint .",
"format": "prettier --write .",
"commit": "npm run lint && npm run format && npm run build",
"version": "node scripts/version.cjs",
"tr": "node scripts/translate.cjs",
"update:gitea": "node scripts/update_gitea.cjs",
"release": "npm run build && npm run tr",
"install:clean": "npm cache clean --force && rm -rf node_modules package-lock.json && npm install"
},
"devDependencies": {
"@babel/preset-typescript": "^7.28.5",
"@eslint/js": "^10.0.1",
"@linaria/core": "^7.0.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",
"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",
"typescript-eslint": "^8.59.1",
"typescript-plugin-css-modules": "^5.2.0",
"undici": "^7.0.0",
"vite": "^8.0.5"
},
"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
}
}