This is the Official CAWebPublishing Framework frontendend toolkit used by the CAWebPublishing Service
This framework is inspired by Bootstrap
npm install --save-dev @caweb/framework
There are various different scripts that can be ran
npm run build - will build all colorschemes minified and unminified.
npm run build:prod - will build all colorschemes minified only.
npm run build:dev - will build all colorschemes unminified only.
npm run build:<colorscheme> - will build that specific colorscheme minified and unminified.
npm run build:<colorscheme>:prod - will build that specific colorscheme minified only.
npm run build:<colorscheme>:dev - will build that specific colorscheme unminified only.
npm run serve:<colorscheme> - will serve that specific colorscheme without running a11y checks, css audits, jshints.
npm run serve:<colorscheme>:audit - will serve that specific colorscheme and also run a11y checks, css audits, jshints.
npm run update-scripts - This will regenerate the build/serve commands.
npm run create-entrypoint - This will generate a webpack entrypoint for each of the colorschemes in the ./src/styles/colorschemes directory.