@alchemycodelab/create-app
Advanced tools
Comparing version 5.0.0 to 5.0.1
@@ -12,3 +12,4 @@ const path = require('path'); | ||
'jest@latest', | ||
'nodemon@latest' | ||
'nodemon@latest', | ||
'prettier@latest' | ||
]; | ||
@@ -15,0 +16,0 @@ |
const path = require('path'); | ||
const { copyFiles, init, installDependencies } = require('./helpers'); | ||
const dependencies = [ | ||
'dotenv@latest', | ||
'express@latest', | ||
'pg@latest' | ||
]; | ||
const dependencies = ['dotenv@latest', 'express@latest', 'pg@latest']; | ||
@@ -18,10 +14,15 @@ const devDependencies = [ | ||
'nodemon@latest', | ||
'supertest@latest' | ||
'prettier@latest', | ||
'supertest@latest', | ||
]; | ||
module.exports = async(config) => { | ||
module.exports = async (config) => { | ||
const { applicationFolder } = config; | ||
await copyFiles(path.join(__dirname, '../express-sql'), applicationFolder, config); | ||
await copyFiles( | ||
path.join(__dirname, '../express-sql'), | ||
applicationFolder, | ||
config | ||
); | ||
await init(applicationFolder); | ||
await installDependencies(applicationFolder, devDependencies, dependencies); | ||
}; |
@@ -36,2 +36,3 @@ const path = require('path'); | ||
'postcss-nested@latest', | ||
'prettier@latest', | ||
'prop-types@latest', | ||
@@ -45,2 +46,3 @@ 'style-loader@latest', | ||
module.exports = async (config) => { | ||
@@ -47,0 +49,0 @@ const { applicationFolder } = config; |
{ | ||
"name": "@alchemycodelab/create-app", | ||
"version": "5.0.0", | ||
"version": "5.0.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "repository": { |
20472
374