cca / koha_snippets

code to be pasted into Koha's admin side

Home Page:https://library.cca.edu

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Koha Snippets

Snippets of code to be inserted into the administrative settings of Koha.

Development

npm scripts automate development tasks. These tasks let us write many small snippets of code which accomplish one thing & then combine them into a single optimized file. Run npm install to get the necessary dependencies. Then, from inside this project, these npm run scripts are available:

  • build - run all the compilation scripts listed here, meta-task
  • ajs - minify all admin (staff-side) JavaScript
  • cjs - minify all public catalog JavaScript
  • acss - compile & minify staff-side styles
  • ccss - compile & minify public catalog styles

Each of these tasks are compile/minify code for a specific Koha setting, copy the output to the Mac OS clipboard, and open the setting's URL in Koha's administration module. The first letter of the task stands for either "admin" or "catalog". CCA's intranet domain is hard-coded into them. All output also goes in the "dist" directory.

License

ECL-2.0

About

code to be pasted into Koha's admin side

https://library.cca.edu

License:Other


Languages

Language:JavaScript 72.9%Language:SCSS 15.2%Language:HTML 11.9%