@akash.dev/react-start 1.0.5 → 1.0.11

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