Skip to content

Commit

Permalink
FIXES in new js flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mustafashykh committed Jun 3, 2021
1 parent 91c083b commit 2d0cec1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ps-cli/express",
"version": "2.1.3",
"version": "2.1.4",
"description": "Express Boilerplate Boilerplate based upto express-generator",
"main": "src/index.js",
"scripts": {
Expand All @@ -20,7 +20,6 @@
"commander": "^7.2.0",
"cookie-parser": "^1.4.5",
"cp-file": "^9.0.0",
"debug": "^4.3.1",
"enquirer": "^2.3.6",
"figlet": "^1.5.0",
"make-dir": "^3.1.0",
Expand Down
2 changes: 2 additions & 0 deletions src/utils/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ module.exports = async (name, $install) => {
shell.exec(`npm i ${devDependancies} --save-dev`);
shell.cd('..')
} else {
shell.cd(name)
console.log(`\n${chalk.yellow(`ADDING DEPENDANCIES 🏄🏻‍♂️`)}\n `)
shell.exec(`npx add-dependencies ./package.json ${dependancies}`);
shell.exec(`npx add-dependencies ./package.json ${devDependancies} --save-dev`);
shell.cd('..')
}
}

0 comments on commit 2d0cec1

Please sign in to comment.