@akash.dev/react-start 1.0.3 → 1.0.4

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 +2 -0
  2. package/package.json +1 -1
  3. package/readme +2 -0
package/bin/cli.js CHANGED
@@ -10,6 +10,7 @@ const runCommand = command =>{
10
10
  return true;
11
11
  }
12
12
  const repoName = process.argv[2];
13
+ const repoName1 = process.argv[1];
13
14
  console.log(repoName);
14
15
  const gitCheckoutCommand = `git clone --dept 1 https://github.com/arakash-developer/reactjs-start ${repoName}`;
15
16
  const installDepsCommand = `cd ${repoName} && npm install`;
@@ -22,4 +23,5 @@ const installedDeps = runCommand(installDepsCommand);
22
23
  if(!installedDeps) process.exit(-1);
23
24
  console.log(`Congratulation!! You are Ready @akash.dev`);
24
25
  console.log(`cd ${repoName} && npm run dev or npm start @akash.dev`);
26
+ console.log(repoName1);
25
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@akash.dev/react-start",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "main": "index.js",
5
5
  "bin": "./bin/cli.js",
6
6
  "scripts": {
package/readme CHANGED
@@ -0,0 +1,2 @@
1
+ npm version patch
2
+ npm publish --access=public