New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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

to
1.0.18

15

lib/cli.js

@@ -42,6 +42,9 @@ var fs = require('fs');

}
global.serve = function (options) {
if(options.tsc == 'true')
tsc();
serve(options);
global.serve = function (options) {
if (options.tsc == 'true')
tsc(function () {
serve(options);
});
else
serve(options);
}

@@ -60,3 +63,3 @@

availableSeed: ['ngEmpty', 'ngButton', 'ngTab', 'tsEmpty', 'tsTab', 'tsButton', 'empty', 'button', 'tab', 'koEmpty', 'koButton', 'koTab']
}
}
if (process.argv.length > 2) {

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

this.options.app = (process.argv[3]);
else if(!(appName.indexOf("--") > -1)) {
else if (!(appName.indexOf("--") > -1)) {
console.log(chalk.red("The template application '" + appName + "' is not availabe"));

@@ -71,0 +74,0 @@ process.exit();

6

lib/tsc.js

@@ -5,3 +5,3 @@ var exec = require('child_process').exec;

function tsc() {
function tsc(fn) {

@@ -17,3 +17,7 @@ var commands = 'dir *.ts /b /s > ts-files.txt & tsc @ts-files.txt & del ts-files.txt';

}
else {
fn();
}
});
}
{
"name": "ej-cli",
"version": "1.0.17",
"version": "1.0.18",
"description": "",

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