easy-templates
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -9,2 +9,4 @@ #!/usr/bin/env node | ||
import createAndInstallJsEslint from './src/presets/js-eslint/index.js'; | ||
import jsExpressSequeliseDotenvNodemonSucraseServerFolderStruct from './src/templates/js-express-sequelise-dotenv-nodemon-sucrase/index.js'; | ||
import tsExpressSequeliseDotenvNodemonServerFolderStruct from './src/templates/ts-express-sequelise-dotenv-nodemon/index.js'; | ||
inquirer.prompt(firstQuestion).then(function (answer) { | ||
@@ -33,2 +35,8 @@ var userFisrtInput = { | ||
break; | ||
case 'js-express-sequelise-dotenv-nodemon-sucrase': | ||
jsExpressSequeliseDotenvNodemonSucraseServerFolderStruct(userInput); | ||
break; | ||
case 'ts-express-sequelise-dotenv-nodemon-tsnode': | ||
tsExpressSequeliseDotenvNodemonServerFolderStruct(userInput); | ||
break; | ||
default: | ||
@@ -35,0 +43,0 @@ console.error("This template doesn't exist"); |
export var templateChoices = [ | ||
'reactjs_ts_webpack_react-router-dom_styled-components_babel', | ||
'simple-Html-Js-Css-Structure', | ||
'js-express-sequelise-dotenv-nodemon-sucrase', | ||
'ts-express-sequelise-dotenv-nodemon-tsnode', | ||
]; | ||
@@ -5,0 +7,0 @@ export var packageManager = ['npm', 'yarn']; |
{ | ||
"name": "easy-templates", | ||
"author": "Gabriel Logan", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"description": "easy-templates - A library for creating various templates easily and efficiently using NPX.", | ||
@@ -6,0 +6,0 @@ "bin": "bin/index.js", |
@@ -28,2 +28,6 @@ # easy-templates | ||
- **js-express-sequelise-dotenv-nodemon-sucrase**: Creates a server structure using pre-configured (express and javascript). | ||
- **ts-express-sequelise-dotenv-nodemon-tsnode**: Creates a server structure using pre-configured (express and typescript). | ||
Pre configs only | ||
@@ -30,0 +34,0 @@ |
51721
12
743
44
7
3