mirror of
https://github.com/halo-dev/theme-earth.git
synced 2025-12-11 02:00:49 +08:00
为文章页面的编辑按钮添加权限判断。 <img width="419" alt="image" src="https://github.com/user-attachments/assets/99a02618-181f-494e-9d54-61ad1d34f9d0"> ```release-note 为文章页面的编辑按钮添加权限判断。 ```
79 lines
2.1 KiB
JSON
79 lines
2.1 KiB
JSON
{
|
|
"name": "@halo-dev/theme-earth",
|
|
"private": true,
|
|
"version": "1.2.1",
|
|
"description": "Default theme for Halo 2.0",
|
|
"scripts": {
|
|
"dev": "vite build --watch",
|
|
"build": "tsc && vite build",
|
|
"lint": "eslint ./src --ext .js,.cjs,.mjs,.ts,.cts,.mts --ignore-path .gitignore",
|
|
"prettier": "prettier --write \"./src/**/*.{js,ts,css,json,ml,yaml,html}\" \"./templates/**/*.html\"",
|
|
"release": "release-it",
|
|
"prepare": "husky"
|
|
},
|
|
"keywords": [
|
|
"halo",
|
|
"halo-theme",
|
|
"halo-template"
|
|
],
|
|
"homepage": "https://github.com/halo-dev/theme-earth#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/halo-dev/theme-earth/issues"
|
|
},
|
|
"author": {
|
|
"name": "Halo OSS Organization",
|
|
"url": "https://github.com/halo-dev",
|
|
"email": "hi@halo.run"
|
|
},
|
|
"maintainers": [
|
|
{
|
|
"name": "Ryan Wang",
|
|
"url": "https://github.com/ruibaby",
|
|
"email": "i@ryanc.cc"
|
|
}
|
|
],
|
|
"license": "GPL-3.0",
|
|
"repository": {
|
|
"url": "https://github.com/halo-dev/theme-earth",
|
|
"type": "git"
|
|
},
|
|
"lint-staged": {
|
|
"*.{ts,json,yaml,yml,html}": [
|
|
"prettier --write"
|
|
]
|
|
},
|
|
"devDependencies": {
|
|
"@iconify-json/bx": "^1.1.10",
|
|
"@iconify-json/gg": "^1.1.9",
|
|
"@iconify-json/simple-icons": "^1.1.105",
|
|
"@iconify-json/tabler": "^1.1.113",
|
|
"@tailwindcss/aspect-ratio": "^0.4.2",
|
|
"@tailwindcss/typography": "^0.5.13",
|
|
"@types/alpinejs": "^3.13.10",
|
|
"@types/node": "18.11.9",
|
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
"@typescript-eslint/parser": "^5.62.0",
|
|
"autoprefixer": "^10.4.19",
|
|
"eslint": "^8.57.0",
|
|
"eslint-config-prettier": "^8.10.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"husky": "^9.1.5",
|
|
"lint-staged": "^15.2.9",
|
|
"postcss": "^8.4.38",
|
|
"prettier": "^3.3.1",
|
|
"prettier-plugin-tailwindcss": "^0.6.2",
|
|
"release-it": "^15.11.0",
|
|
"sass": "^1.77.4",
|
|
"tailwindcss": "^3.4.4",
|
|
"tailwindcss-plugin-icons": "^2.2.2",
|
|
"typescript": "^5.4.5",
|
|
"vite": "^5.2.13"
|
|
},
|
|
"dependencies": {
|
|
"@halo-dev/api-client": "^2.19.0",
|
|
"alpinejs": "^3.14.0",
|
|
"pupa": "^3.1.0",
|
|
"tocbot": "^4.28.2"
|
|
}
|
|
}
|