ios-simulator
Advanced tools
Comparing version 1.0.15 to 1.0.17
'use strict'; | ||
let fs = require('fs'); | ||
let xutil = require('xutil'); | ||
let plist = require('plist'); | ||
let childProcess = require('child_process'); | ||
const fs = require('fs'); | ||
const xutil = require('xutil'); | ||
const plist = require('plist'); | ||
const childProcess = require('child_process'); | ||
var _ = xutil.merge({}, xutil); | ||
const _ = xutil.merge({}, xutil); | ||
@@ -10,0 +10,0 @@ _.sleep = function(ms) { |
@@ -100,2 +100,9 @@ 'use strict'; | ||
Simulator.prototype.terminate = function() { | ||
var args = Array.prototype.slice.call(arguments); | ||
var appIdentifier = args[0]; | ||
var cmd = `xcrun simctl terminate "${this.deviceId}" "${appIdentifier}"`; | ||
return _.execPromiseGenerator(cmd, args[1]); | ||
}; | ||
Simulator.prototype.remove = function() { | ||
@@ -102,0 +109,0 @@ var cmd = `xcrun simctl delete "${this.deviceId}"`; |
'use strict'; | ||
var logger = require('xlogger'); | ||
const logger = require('xlogger'); | ||
@@ -5,0 +5,0 @@ module.exports = logger.Logger({ |
{ | ||
"name": "ios-simulator", | ||
"version": "1.0.15", | ||
"version": "1.0.17", | ||
"description": "iOS Simulator Node.js wrapper", | ||
@@ -16,3 +16,3 @@ "keywords": [ | ||
"type": "git", | ||
"url": "git://github.com/macacajs/ios-simulator.git" | ||
"url": "https://github.com/macacajs/ios-simulator" | ||
}, | ||
@@ -22,3 +22,3 @@ "dependencies": { | ||
"commander": "^2.9.0", | ||
"detect-port": "^1.2.1", | ||
"detect-port": "1", | ||
"plist": "~1.2.0", | ||
@@ -30,11 +30,13 @@ "xlogger": "^1.0.0", | ||
"co-mocha": "*", | ||
"git-contributor": "^1.0.8", | ||
"istanbul": "*", | ||
"jshint": "*", | ||
"mocha": "*", | ||
"should": "*", | ||
"jshint": "*", | ||
"istanbul": "*", | ||
"pre-commit": "*" | ||
"pre-commit": "*", | ||
"should": "*" | ||
}, | ||
"scripts": { | ||
"test": "mocha", | ||
"lint": "jshint ." | ||
"lint": "jshint .", | ||
"contributor": "git-contributor" | ||
}, | ||
@@ -44,4 +46,3 @@ "pre-commit": [ | ||
], | ||
"homepage": "https://github.com/macacajs/ios-simulator", | ||
"license": "MIT" | ||
} |
@@ -22,2 +22,14 @@ # ios-simulator | ||
<!-- GITCONTRIBUTOR_START --> | ||
## Contributors | ||
|[<img src="https://avatars1.githubusercontent.com/u/1011681?v=4" width="100px;"/><br/><sub><b>xudafeng</b></sub>](https://github.com/xudafeng)<br/>|[<img src="https://avatars1.githubusercontent.com/u/1044425?v=4" width="100px;"/><br/><sub><b>ziczhu</b></sub>](https://github.com/ziczhu)<br/>|[<img src="https://avatars0.githubusercontent.com/u/4576123?v=4" width="100px;"/><br/><sub><b>CodeToSurvive1</b></sub>](https://github.com/CodeToSurvive1)<br/> | ||
| :---: | :---: | :---: | | ||
This project follows the git-contributor [spec](https://github.com/xudafeng/git-contributor), auto upated at `Thu Nov 22 2018 22:30:54 GMT+0800`. | ||
<!-- GITCONTRIBUTOR_END --> | ||
## Installment | ||
@@ -24,0 +36,0 @@ |
19355
511
58
7
Updateddetect-port@1