QuickDraft
CLI for quickly scaffolding HTML/CSS/JS projects
Installation
Install it globally to use it in any directory using:
npm install quick-draft -g
Usage
Simply run the command followed by the project name, and a new folder with all the files will be automatically generated
quick-draft <name>
Options
Option | Flags | Description |
---|---|---|
Bootstrap | --bootstrap | Adds style and script tags with the latest version of Bootstrap |
Jquery | --jquery | Adds a script tag with the latest version of Jquery |
Threejs | --threejs | Adds a script tag with the latest version of Threejs |
Test | --test | Creates a simple .js and .test.js file and installs jest to setup a quick test |
Help | -h, --help | Display the list of available options in the console |