@kozmonos/template-generator
v0.1.2
Published
```bash npm i -g @kozmonos/template-generator ``` if you are using Linux or Mac, you may need to run the command with sudo. ```bash sudo npm i -g @kozmonos/template-generator ```
Downloads
6
Readme
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 | i18nGoogle Tag ManagerGoogle AnalyticsrouterYandex Metricacolors.scss filesitemaprobots.txtdotenvsvgpwaaxios| Processing | | Vue component | The best Vue component development environment to set up the best module structure | CI for NPMVuebasic folder structureEslintSonar | Processing | | JS Package | Best development environment for building a JS package with module structure | CI for NPMbasic folder structure | Processing | Laravel + Mongo = API | Development environment where necessary settings are made to develop your backend quickly | MongoDBForce all response JSONdelete /api pathdelete frontend viewer | Processing