Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ej-cli

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ej-cli - npm Package Compare versions

Comparing version 1.0.12 to 1.0.13

11

lib/cli.js

@@ -33,8 +33,8 @@ var fs = require('fs');

global.create = function (options) {
console.log('Creating ' + options.app + ' application');
console.log(chalk.yellow('Creating ' + options.app + ' application...'));
download(options.baseUrl + options.app, "./", {}, function (err) {
if (err) {
console.log('Unable to download.' + err);
console.log(chalk.red('Unable to download.' + err));
} else {
console.log(options.app + ' application created successfully');
console.log(chalk.green(options.app + ' application created successfully.'));
}

@@ -60,4 +60,3 @@ });

availableSeed: ['ngEmpty', 'ngButton', 'ngTab']
}
console.log(JSON.stringify(this.options));
}
if (process.argv.length > 2) {

@@ -70,3 +69,3 @@ command = (process.argv[2]).toString().trim();

else if(!(appName.indexOf("--")) > -1) {
console.log("The template application '" + appName + "' is not availabe");
console.log(chalk.red("The template application '" + appName + "' is not availabe"));
process.exit();

@@ -73,0 +72,0 @@ }

@@ -5,2 +5,3 @@ var http = require("http"),

fs = require("fs"),
chalk = require("chalk"),
open = require("./open");

@@ -54,3 +55,3 @@

var server = http.createServer(onRequest).on('listening', function () {
console.log('Static file server running on port ' + port + ' (i.e. http://localhost:' + port + ')\nCTRL + C to shut down');
console.log(chalk.green('Static file server running on port ' + port + ' (i.e. http://localhost:' + port + ')\nCTRL + C to shut down'));
open('http://localhost:' + port);

@@ -62,5 +63,5 @@ }).on('error', function (e) {

} else {
console.log('An error occured starting static file server: ' + e);
console.log(chalk.red('An error occured starting static file server: ' + e));
}
}).listen(port);
}
{
"name": "ej-cli",
"version": "1.0.12",
"version": "1.0.13",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/cli.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc