Comparing version 0.0.9 to 0.0.10
@@ -6,3 +6,3 @@ #!/usr/bin/env node | ||
' croc deps [--lenient --json] \n'+ | ||
' croc ( link [--lenient] | install | test | build ) \n'+ | ||
' croc ( link [--lenient] | install | test | build | publish ) \n'+ | ||
' \n'+ | ||
@@ -83,7 +83,9 @@ 'Options: \n'+ | ||
} else if (args.test) { | ||
exec.exec({ cmd: 'npm test'}); | ||
exec.exec('npm test'); | ||
} else if (args.build) { | ||
exec.exec({ cmd: 'npm run build' }); | ||
exec.exec('npm run build'); | ||
} else if (args.install) { | ||
exec.exec({ cmd: 'npm install' }); | ||
exec.exec('npm install'); | ||
} else if (args.publish) { | ||
exec.exec('npm show %PKG_NAME% versions --json | grep -q \\"%PKG_VERSION%\\" || npm publish'); | ||
} |
{ | ||
"name": "croc", | ||
"version": "0.0.9", | ||
"version": "0.0.10", | ||
"description": "monolithic repository manager", | ||
@@ -9,5 +9,3 @@ "bin": { | ||
"scripts": { | ||
"pretest": "npm run lint && npm run build", | ||
"test": "echo \"No test is available.\"", | ||
"lint": "eslint --ignore-path .gitignore bin lib ", | ||
"build": "echo \"No need for build.\"" | ||
@@ -14,0 +12,0 @@ }, |
@@ -21,3 +21,3 @@ # croc | ||
croc deps [--lenient --json] | ||
croc ( link [--lenient] | install | test | build ) | ||
croc ( link [--lenient] | install | test | build | publish ) | ||
@@ -24,0 +24,0 @@ Options: |
76
4799
4