mirror of
https://github.com/go-gitea/gitea
synced 2025-07-29 13:48:36 +00:00
Use npm to manage fomantic and only build needed components (#9561)
* Use npm to manage fomantic * Only build needed semantic components * Fix make * Don't import fonts from google sites since we have loaded * [misc] devendor fomantic-ui and rebuild upon src or config changes only Signed-off-by: Jakob Ackermann <das7pad@outlook.com> * Change sort alphabetically of semantic components * Fix trailing slash * fix makefile * Remove dependency to gulp from package.json * Fix something * Simplife the makefile * add missed fomantic compnent Co-authored-by: Jakob Ackermann <das7pad@outlook.com>
This commit is contained in:
59
semantic.json
Normal file
59
semantic.json
Normal file
@@ -0,0 +1,59 @@
|
||||
{
|
||||
"version": "2.8.3",
|
||||
"base": "node_modules/fomantic-ui",
|
||||
"paths": {
|
||||
"source": {
|
||||
"config": "src/theme.config",
|
||||
"definitions": "src/definitions/",
|
||||
"site": "src/site/",
|
||||
"themes": "src/themes/"
|
||||
},
|
||||
"output": {
|
||||
"packaged": "../../public/fomantic/",
|
||||
"uncompressed": "../../public/fomantic/components/",
|
||||
"compressed": "../../public/fomantic/components/",
|
||||
"themes": "../../public/fomantic/themes/"
|
||||
},
|
||||
"clean": "../../public/fomantic/"
|
||||
},
|
||||
"permission": false,
|
||||
"autoInstall": false,
|
||||
"rtl": false,
|
||||
"admin": false,
|
||||
"components": [
|
||||
"accordion",
|
||||
"breadcrumb",
|
||||
"button",
|
||||
"checkbox",
|
||||
"comment",
|
||||
"container",
|
||||
"dimmer",
|
||||
"divider",
|
||||
"dropdown",
|
||||
"form",
|
||||
"grid",
|
||||
"header",
|
||||
"icon",
|
||||
"image",
|
||||
"input",
|
||||
"item",
|
||||
"label",
|
||||
"list",
|
||||
"loader",
|
||||
"menu",
|
||||
"message",
|
||||
"modal",
|
||||
"popup",
|
||||
"progress",
|
||||
"reset",
|
||||
"search",
|
||||
"segment",
|
||||
"sidebar",
|
||||
"site",
|
||||
"sticky",
|
||||
"tab",
|
||||
"table",
|
||||
"text",
|
||||
"transition"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user