We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d77457e + fa9f42b commit 5bebb4dCopy full SHA for 5bebb4d
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "ios-sim-portable",
3
- "version": "1.1.3",
+ "version": "1.1.4",
4
"description": "",
5
"main": "./lib/ios-sim.js",
6
"scripts": {
prepublish.js
@@ -1,7 +1,11 @@
-var fs = require("fs");
-var grunt = require("grunt");
+var fs = require("fs"),
+ path = require("path");
-var callback = function(err) {};
+var pathToTypeScriptEntryPoint = path.join(__dirname, "lib", "ios-sim.ts");
+if (fs.existsSync(pathToTypeScriptEntryPoint)) {
+ var callback = function(err) {},
7
+ grunt = require("grunt");
8
-grunt.cli.tasks = ["ts:devlib"];
-grunt.cli(null, callback);
9
+ grunt.cli.tasks = ["ts:devlib"];
10
+ grunt.cli(null, callback);
11
+}
0 commit comments