0.1.2 • Published 1 year ago

@kozmonos/template-generator v0.1.2

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

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

NameDescriptionContentStatus
NuxtJS templateBest Nuxt development environment to focus only on new websitei18nGoogle Tag ManagerGoogle AnalyticsrouterYandex Metricacolors.scss filesitemaprobots.txtdotenvsvgpwaaxiosProcessing
Vue componentThe best Vue component development environment to set up the best module structure CI for NPMVuebasic folder structureEslintSonarProcessing
JS PackageBest development environment for building a JS package with module structure CI for NPMbasic folder structureProcessing
Laravel + Mongo = APIDevelopment environment where necessary settings are made to develop your backend quicklyMongoDBForce all response JSONdelete /api pathdelete frontend viewerProcessing