yot-cdk-runner
Advanced tools
Comparing version 0.0.14 to 0.0.15
@@ -1,7 +0,11 @@ | ||
const { Server, ensureModule } = require("yot-cdk-core"); | ||
const { Server, moduleExists } = require("yot-cdk-core"); | ||
module.exports = function simulate(name) { | ||
ensureModule('yot-cdk-simulator') | ||
if (!moduleExists("yot-cdk-simulator")) { | ||
logErrorMessage("Package 'yot-cdk-simulator' is not installed."); | ||
process.exit(); | ||
} | ||
require("./serve")(name); | ||
new Server().openSimulator(name); | ||
}; |
{ | ||
"name": "yot-cdk-runner", | ||
"version": "0.0.14", | ||
"version": "0.0.15", | ||
"description": "", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "echo \"Error: no test specified\" && exit 1" | ||
}, | ||
"author": "", | ||
@@ -16,4 +13,4 @@ "license": "ISC", | ||
"peerDependencies": { | ||
"yot-cdk-core": "^0.0.14" | ||
"yot-cdk-core": "^0.0.15" | ||
} | ||
} |
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No tests
QualityPackage does not have any tests. This is a strong signal of a poorly maintained or low quality package.
Found 1 instance in 1 package
5499
7
133
2
1
56