0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-22 09:54:11 +01:00
gitea/public
silverwind d9dcd09340 add make targets for js and css, add js linter (#6952)
* add make targets for js,css, add javascript linter

- add `make js`, deprecating `make javascripts`
- add `make css`, deprecating `make generate-stylesheets` and
  `make stylesheets-check`
- changed the unclean css check to only run on CI
- add JS linting via eslint with basic configuration and fixed
  discovered issues
- changed autoprefixer to use official `postcss-cli` avoiding the need
  to loop in the makefile
- moved browserslist to package.json so other future tools can use it
  too.
- update documentation for new make targets and added JS section

* fix indentation

* move functions used in html to 'exported' list

* Run lessc binary without having to install anything to node_modules

* use relative paths to node bin scripts, removing npx

* Revert "use relative paths to node bin scripts, removing npx"

This reverts commit 119b725525.

* fix lessc and postcss plugins

* check for node_modules and use actual bin names
2019-05-16 08:57:47 +03:00
..
css Fix code overflow (#6914) 2019-05-14 12:02:59 -04:00
img Add support for MS Teams webhooks (#6632) 2019-04-19 10:18:06 -04:00
js add make targets for js and css, add js linter (#6952) 2019-05-16 08:57:47 +03:00
less Fix code overflow (#6914) 2019-05-14 12:02:59 -04:00
vendor update swagger-ui (#6661) 2019-04-16 22:50:55 -04:00