1.8.1 • Published 7 years ago
cubo-ui-srcs v1.8.1
Cubo UI
UI components to using on Angular
This project uses Angular as framework and Angular Material for basic UI components.
Getting Started
Application
# install dependencies
$ npm i
# Run the project
$ npm startTo generate schematics
Generate a component
ng generate cubo-schematics:component componentNameGenerate a page
ng generate cubo-schematics:page pageNameWith the commands above, you have everything to start.
Lib
Generate a new release
# generate a build
npm run build:lib
# publish new release
cd projects/lib/dist
npm publishCode Standards
This project uses Cubo Coding Style as code reference.
Tasks
From Application
npm start: run all tasks, initialize watch for changes and a starts a servernpm run build: run all production tasks and create adistfolder to deploynpm run lint: lint for javascript and cssnpm run fix: command to fix all eslint errorsnpm run deploy: run all build tasks and deploy on gh-pages
From Lib
npm run build:lib: run all lib tasks and create adistfolder to deploynpm run deploy:lib: run all build tasks to lib and deploy on npm
License
MIT License © Cubo 2018