@akash.dev/react-start 1.0.4 → 1.0.5
Sign up to get free protection for your applications and to get access to all the features.
- package/bin/cli.js +2 -2
- package/package.json +1 -1
package/bin/cli.js
CHANGED
@@ -11,7 +11,7 @@ const runCommand = command =>{
|
|
11
11
|
}
|
12
12
|
const repoName = process.argv[2];
|
13
13
|
const repoName1 = process.argv[1];
|
14
|
-
console.log(repoName);
|
14
|
+
console.log(`repoName - ${repoName}`);
|
15
15
|
const gitCheckoutCommand = `git clone --dept 1 https://github.com/arakash-developer/reactjs-start ${repoName}`;
|
16
16
|
const installDepsCommand = `cd ${repoName} && npm install`;
|
17
17
|
// console.log(`Cloning the repository with name ${repoName}`);
|
@@ -23,5 +23,5 @@ const installedDeps = runCommand(installDepsCommand);
|
|
23
23
|
if(!installedDeps) process.exit(-1);
|
24
24
|
console.log(`Congratulation!! You are Ready @akash.dev`);
|
25
25
|
console.log(`cd ${repoName} && npm run dev or npm start @akash.dev`);
|
26
|
-
console.log(repoName1);
|
26
|
+
console.log(`repoName1 - ${repoName1}`);
|
27
27
|
|