Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Zoltan committed Nov 1, 2018
1 parent f6b6334 commit 9ecd31b
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 28 deletions.
2 changes: 1 addition & 1 deletion packages/launcher/lib/detect.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ function detectBrowsers(): Bluebird<Browser[]> {
const removeDuplicates = uniqBy(prop('version'))
return Bluebird.mapSeries(browsers, checkOneBrowser)
.then(_.compact)
.then(removeDuplicates) as Bluebird<Browser[]>
.then(removeDuplicates)
}

export default detectBrowsers
53 changes: 27 additions & 26 deletions packages/launcher/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"scripts": {
"pretest": "npm run check-deps-pre && npm run lint",
"test": "npm run unit",
"unit": "bin-up mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json",
"unit": "bin-up mocha --reporter mocha-multi-reporters --reporter-options configFile=../../mocha-reporter-config.json --opts ./test/support/mocha.opts test/**/*.ts",
"check-deps": "node ../../scripts/check-deps.js --verbose",
"check-deps-pre": "npm run check-deps -- --prescript",
"clean-deps": "rm -rf node_modules",
Expand All @@ -25,34 +25,35 @@
"lib"
],
"devDependencies": {
"@cypress/releaser": "0.1.12",
"@types/bluebird": "3.5.21",
"@types/chai": "^3.5.2",
"@types/debug": "0.0.29",
"@types/execa": "^0.7.0",
"@types/fs-extra": "3.0.0",
"@types/lodash": "^4.14.64",
"@types/mocha": "^2.2.41",
"@types/node": "^7.0.18",
"@cypress/releaser": "0.2.2",
"@types/bluebird": "3.5.24",
"@types/chai": "^4.1.7",
"@types/debug": "0.0.31",
"@types/execa": "^0.9.0",
"@types/fs-extra": "5.0.4",
"@types/lodash": "^4.14.117",
"@types/mocha": "^5.2.5",
"@types/node": "^10.12.1",
"@types/ramda": "0.25.40",
"bin-up": "^1.1.0",
"chai": "^3.5.0",
"prettier": "^1.7.0",
"shelljs": "^0.7.8",
"sinon": "^1.17.3",
"sinon-chai": "^2.8.0",
"tslint": "5.8.0",
"tslint-config-standard": "7.0.0",
"typescript": "2.6.2",
"@types/ramda": "0.24.14"
"chai": "^4.2.0",
"prettier": "^1.14.3",
"shelljs": "^0.8.2",
"sinon": "^7.1.1",
"sinon-chai": "^3.2.0",
"tslint": "5.11.0",
"tslint-config-standard": "8.0.1",
"typescript": "3.1.5"
},
"dependencies": {
"bluebird": "^3.5.0",
"debug": "^2.6.6",
"execa": "^0.6.3",
"fs-extra": "^3.0.0",
"lodash": "^4.11.1",
"plist": "^2.1.0",
"@types/jest": "^23.3.9",
"bluebird": "^3.5.2",
"debug": "^4.1.0",
"execa": "^1.0.0",
"fs-extra": "^7.0.0",
"lodash": "^4.17.11",
"plist": "^3.0.1",
"pluralize": "^7.0.0",
"ramda": "^0.24.1"
"ramda": "^0.25.0"
}
}
15 changes: 14 additions & 1 deletion packages/launcher/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,18 @@
],
"files": [
"./../ts/index.d.ts"
]
],
"c": {
// types option has been previously configured
"types": [
// add node as an option
"node",
"jest"
],
// typeRoots option has been previously configured
"typeRoots": [
// add path to @types
"node_modules/@types"
]
}
}

0 comments on commit 9ecd31b

Please sign in to comment.