Setup
npm i -g @kozmonos/template-generator
if you are using Linux or Mac, you may need to run the command with sudo.
sudo npm i -g @kozmonos/template-generator
Usage
Create basic template with default folder structure
template create
Pull template from github
template pull --url <github-url>
Create your template
Folder structure
📦project-folder
┣ 📂src
┃ ┗ 📜...files
┗ 📜index.js
index.js: It's a config file. You can visit for more config options here.
Example:
//inquierer data
module.exports = [
{
type: 'input',
name: 'will_be_change',
message: 'Input data:',
default: "default data"
}
]
// You should keep the ci folders in src, whichever the user chooses, the other will be deleted.
module.exports.ci = ['Github Actions' , "CircleCI"]
files: Main project folder files. We are using mustacheJS for render template. You can click here for more information.
Feature
Name | Description | Content | Status |
---|---|---|---|
NuxtJS template | Best Nuxt development environment to focus only on new website |
|
Processing |
Vue component | The best Vue component development environment to set up the best module structure |
|
Processing |
JS Package | Best development environment for building a JS package with module structure |
|
Processing |
Laravel + Mongo = API | Development environment where necessary settings are made to develop your backend quickly |
|
Processing |