{"id":15285423,"url":"https://github.com/ilicmarko/maverick-cli","last_synced_at":"2025-04-13T02:27:43.426Z","repository":{"id":26483874,"uuid":"108996423","full_name":"ilicmarko/maverick-cli","owner":"ilicmarko","description":"Handcrafted CLI to make my front-end workflow much easier.","archived":false,"fork":false,"pushed_at":"2025-01-23T20:41:53.000Z","size":242,"stargazers_count":1,"open_issues_count":23,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-12T23:44:24.025Z","etag":null,"topics":["cli","gulp","maverick-cli","pug","scaffold","scss","webapp"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ilicmarko.png","metadata":{"files":{"readme":"README.MD","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-31T13:02:49.000Z","updated_at":"2020-02-05T15:46:06.000Z","dependencies_parsed_at":"2024-07-25T16:55:10.367Z","dependency_job_id":"d95a5db4-5fc4-4fe5-a66b-b6f52a817d9b","html_url":"https://github.com/ilicmarko/maverick-cli","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilicmarko%2Fmaverick-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilicmarko%2Fmaverick-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilicmarko%2Fmaverick-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ilicmarko%2Fmaverick-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ilicmarko","download_url":"https://codeload.github.com/ilicmarko/maverick-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248657385,"owners_count":21140835,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","gulp","maverick-cli","pug","scaffold","scss","webapp"],"created_at":"2024-09-30T15:04:46.486Z","updated_at":"2025-04-13T02:27:43.406Z","avatar_url":"https://github.com/ilicmarko.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n  \u003cimg width=\"500\" src=\"https://raw.githubusercontent.com/ilicmarko/maverick-cli/master/logo.png\" alt=\"Maverick CLI Logo\"\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://travis-ci.org/ilicmarko/maverick-cli\"\u003e\n        \u003cimg src=\"https://travis-ci.org/ilicmarko/maverick-cli.svg?branch=master\" alt=\"Build Status\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://badge.fury.io/js/maverick-cli\"\u003e\n        \u003cimg src=\"https://badge.fury.io/js/maverick-cli.svg\" alt=\"npm version\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://david-dm.org/ilicmarko/maverick-cli\"\u003e\n        \u003cimg src=\"https://david-dm.org/ilicmarko/maverick-cli.svg\" alt=\"Dev dep\" /\u003e\n    \u003c/a\u003e\n    \u003ca href=\"https://coveralls.io/github/ilicmarko/maverick-cli?branch=master\"\u003e\n        \u003cimg src=\"https://coveralls.io/repos/github/ilicmarko/maverick-cli/badge.svg?branch=master\" alt=\"Coverage Status\" /\u003e\n    \u003c/a\u003e\n\u003c/p\u003e\n\n\u003ch2 align=\"center\"\u003eMaverick CLI\u003c/h2\u003e\n\u003chr\u003e\n\n\nMaverick CLI lets you create a scaffolding for your next project with ease. Maverick CLI is based on a popular [Yeoman](http://yeoman.io/) generator [**webapp**](https://github.com/yeoman/generator-webapp), with some changes.\n\n## Features\n\n* enable [ES2015 features](https://babeljs.io/docs/learn-es2015/) using [Babel](https://babeljs.io)\n* CSS Autoprefixing\n* Built-in preview server with BrowserSync\n* Automagically compile Sass with [libsass](http://libsass.org)\n* Automagically compile Pug\n* Automagically lint your scripts\n* Map compiled CSS to source stylesheets with source maps\n* Awesome image optimization\n* Automagically wire-up dependencies installed with [Bower](http://bower.io)\n\n## Installation\n\nOn macOS, Linux, or Windows run the following:\n\n```bash\nnpm install -g maverick-cli\n```\n\n**That is it!**\n\n## Gulp Commands\n\n* `gulp serve` to preview and watch for live changes\n* `gulp` or `gulp build` to build the app for production\n* `gulp serve:dist` to preview the production build\n\n## CLI Commands\n\n### Init\n\n`maverick init \u003cpath\u003e [Project name] [options]` - to scaffold your webapp *(\u003cpath\u003e is optional)*\n\n**Options**:\n\n`--skip-install` to skip the execution of `bower` and `npm` installation after scaffolding.\n\n### SASS\n\n`maverick sass [options] [File name]` - create a SCSS file.\n\n**Options:**\n\nOptions argument is **required**.\n\n* `-c` or `--component` to add a component, *this also adds a css selector*.\n* `-e` or `--element` to add an element\n* `-t` or `--tool` to add a tool\n* `-u` or `--utility` to add a utility\n* `-p` or `--plugin` to add a plugin\n\n**Example**\n\n```bash\nmaverick sass -c \"responsive-img\"\n```\n##  Pug \n\n`maverick pug [File name]` to create a pug page\n\n**Options:**\n\n* `-t` or `--title \u003ctitle\u003e` to add a title to the page\n\nIf you don't provide the title it will be empty.\n\n## Project Structure \n\nThere is a well-defined project structure that must be respected.\n\n```\nsrc\n├───fonts\n├───images\n├───js\n├───sass\n│   ├───components\n│   ├───elements\n│   ├───generic\n│   ├───plugins\n│   ├───tools\n│   └───utilities\n└───views\n    ├───inc\n    └───layouts\n```\n\n**SASS Folder**\n\nThis is where all the `.scss` files are found, gulp will watch for changes in this folder.\n\n* `/components` - Complete chunks of UI, like *navigation, cards, panels* etc..\n* `/elements` - Unclassed HTML elements, like *a, h1, body, blockquote* etc..\n* `/generic` - Reset and normalize css.\n* `/plugins` - SCSS files from imported plugins, like *owl-carousel, popper* etc..\n* `/tools` - Mixins and functions\n* `/utilities` - Override and helper functions, they are usually high-priority *(!important)*\n\n\u003e **SCSS files shouldn't be created manually, CLI should be used for that.**\n\n**Views folder**\n\nThis is where all the `.pug` files are found, gulp will watch for changes in this folder.\n\n* `inc` - Page parts that are included in a template, like *header, footer, navigation* etc...\n* `layouts`- Templates that are extended by the pages.\n\nIn the root of the `views` is where the pages are located.\n\n## Notes:\n\nIf the project hasn't been generated by **Maverick CLI** commands (scss, pug) won't work.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filicmarko%2Fmaverick-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Filicmarko%2Fmaverick-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Filicmarko%2Fmaverick-cli/lists"}