Comparing version 0.0.1 to 0.0.2
14
index.js
@@ -6,2 +6,3 @@ 'use strict'; | ||
var program = require('commander'); | ||
var path = require('path'); | ||
var spawnSync = require('child_process').spawnSync; | ||
@@ -50,11 +51,11 @@ | ||
if (program.build) { | ||
handle_task(run_task('build', __dirname)); | ||
handle_task(run_task('build', path.join(__dirname, '../../'))); | ||
} else if (program.development) { | ||
handle_task(run_task('development', __dirname)); | ||
handle_task(run_task('development', path.join(__dirname, '../../'))); | ||
} else if (program.docs) { | ||
handle_task(run_task('docs', __dirname)); | ||
handle_task(run_task('docs', path.join(__dirname, '../../'))); | ||
} else if (program.lint) { | ||
handle_task(run_task('lint', __dirname)); | ||
handle_task(run_task('lint', path.join(__dirname, '../../'))); | ||
} else if (program.test) { | ||
handle_task(run_task('test', __dirname)); | ||
handle_task(run_task('test', path.join(__dirname, '../../'))); | ||
} else if (program.generate) { | ||
@@ -65,3 +66,4 @@ console.log(chalk.underline.cyan.bold('Not yet implemented :(')); | ||
program.outputHelp(); | ||
process.exit(1); | ||
} | ||
process.exit(1); |
{ | ||
"name": "cml-cli", | ||
"version": "0.0.1", | ||
"description": "Simple wrapper for build scripts to stabilize API and to scaffold views and common patterns of cml-frontend boilerplate. Not for standalone usage.", | ||
"private": false, | ||
"bin": { | ||
"cml-cli": "./bin/cml-cli" | ||
}, | ||
"scripts": {}, | ||
"author": { | ||
"name": "Viktor Bezdek", | ||
"email": "viktor.bezdek@gmail.com", | ||
"url": "https://github.com/viktorbezdek" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/viktorbezdek/cml-cli" | ||
}, | ||
"license": "MIT", | ||
"bugs": "https://github.com/viktorbezdek/cml-cli/issues", | ||
"dependencies": { | ||
"autocmdr": "~0.0.4", | ||
"chalk": "^1.0.0", | ||
"commander": "~2.0.0" | ||
}, | ||
"devDependencies": {} | ||
"name": "cml-cli", | ||
"version": "0.0.2", | ||
"description": "Simple wrapper for build scripts to stabilize API and to scaffold views and common patterns of cml-frontend boilerplate. Not for standalone usage.", | ||
"private": false, | ||
"bin": { | ||
"cml-cli": "./bin/cml-cli" | ||
}, | ||
"scripts": {}, | ||
"author": { | ||
"name": "Viktor Bezdek", | ||
"email": "viktor.bezdek@gmail.com", | ||
"url": "https://github.com/viktorbezdek" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/viktorbezdek/cml-cli" | ||
}, | ||
"license": "MIT", | ||
"bugs": "https://github.com/viktorbezdek/cml-cli/issues", | ||
"dependencies": { | ||
"autocmdr": "~0.0.4", | ||
"chalk": "^1.0.0", | ||
"commander": "~2.0.0" | ||
}, | ||
"devDependencies": {} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4612
95