Comparing version 0.0.24 to 0.1.1
17
index.js
@@ -16,2 +16,3 @@ 'use strict'; | ||
var handle_task = require('./lib/handle_task'); | ||
var generate = require('./lib/generate'); | ||
var remove_compiled_assets = require('./lib/remove_compiled_assets'); | ||
@@ -21,9 +22,9 @@ | ||
.version(pkg.version) | ||
.option('-b, --build', 'create production build') | ||
.option('-d, --development', 'start development') | ||
.option('-D, --docs', 'generate project docs') | ||
.option('-l, --lint', 'lint markup, styles and script sources') | ||
.option('-t, --test', 'run tests') | ||
.option('-R, --reset', 'reset project to empty state (removes every view, script, style and assets)') | ||
.option('-g, --generate', 'generate view, page or pattern') | ||
.option('--build', 'create production build') | ||
.option('--development', 'start development') | ||
.option('--docs', 'generate project docs') | ||
.option('--lint', 'lint markup, styles and script sources') | ||
.option('--test', 'run tests') | ||
.option('--reset', 'reset project to empty state (removes every view, script, style and assets)') | ||
.option('--generate <names>', 'generate view, page or pattern', generate) | ||
.parse(process.argv); | ||
@@ -73,3 +74,3 @@ | ||
else if (program.generate) { | ||
console.log(chalk.underline.cyan.bold('Not yet implemented :(')); | ||
console.log(chalk.underline.cyan.bold('Experimental feature.')); | ||
} | ||
@@ -76,0 +77,0 @@ else if (program.reset) { |
{ | ||
"name": "cml-cli", | ||
"version": "0.0.24", | ||
"description": "Simple wrapper for build scripts to stabilize API and to scaffold views and common patterns of cml-frontend boilerplate. Not for standalone usage.", | ||
"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": { | ||
"ansi-rainbow": "0.0.8", | ||
"autocmdr": "~0.0.4", | ||
"chalk": "^1.0.0", | ||
"commander": "~2.0.0", | ||
"fs-extra": "^0.18.3", | ||
"get-port": "^1.0.0", | ||
"sync": "^0.2.5" | ||
}, | ||
"devDependencies": {} | ||
"name": "cml-cli", | ||
"version": "0.1.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.", | ||
"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": { | ||
"ansi-rainbow": "0.0.8", | ||
"autocmdr": "~0.0.4", | ||
"chalk": "^1.0.0", | ||
"commander": "~2.0.0", | ||
"fs-extra": "^0.18.3", | ||
"get-port": "^1.0.0", | ||
"lodash": "^3.9.3", | ||
"pluralize": "^1.1.2", | ||
"sync": "^0.2.5" | ||
}, | ||
"devDependencies": { | ||
"gulp": "^3.9.0", | ||
"gulp-bump": "^0.3.1" | ||
} | ||
} |
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
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
13930
20
379
9
2
18
+ Addedlodash@^3.9.3
+ Addedpluralize@^1.1.2
+ Addedlodash@3.10.1(transitive)
+ Addedpluralize@1.2.1(transitive)