Commit c92bdef8 authored by Arunoda Susiripala's avatar Arunoda Susiripala

Merge master into v3-beta.

parents 4c33c6b9 3d162d9d
...@@ -87,7 +87,7 @@ ...@@ -87,7 +87,7 @@
"send": "^0.15.3", "send": "^0.15.3",
"source-map-support": "0.4.15", "source-map-support": "0.4.15",
"strip-ansi": "3.0.1", "strip-ansi": "3.0.1",
"styled-jsx": "1.0.5", "styled-jsx": "1.0.6",
"touch": "1.0.0", "touch": "1.0.0",
"uglifyjs-webpack-plugin": "0.4.6", "uglifyjs-webpack-plugin": "0.4.6",
"unfetch": "2.1.2", "unfetch": "2.1.2",
...@@ -116,6 +116,7 @@ ...@@ -116,6 +116,7 @@
"coveralls": "2.13.1", "coveralls": "2.13.1",
"cross-env": "5.0.1", "cross-env": "5.0.1",
"express": "4.15.2", "express": "4.15.2",
"taskr": "1.0.5",
"husky": "0.13.3", "husky": "0.13.3",
"jest-cli": "20.0.4", "jest-cli": "20.0.4",
"lint-staged": "^3.4.0", "lint-staged": "^3.4.0",
......
...@@ -7,7 +7,7 @@ export async function compile (task) { ...@@ -7,7 +7,7 @@ export async function compile (task) {
} }
export async function bin (task, opts) { export async function bin (task, opts) {
await task.source(opts.src || 'bin/*').babel().target('dist/bin', {mode: parseInt('0755', 8)}) await task.source(opts.src || 'bin/*').babel().target('dist/bin', {mode: '0755'})
notify('Compiled binaries') notify('Compiled binaries')
} }
...@@ -54,8 +54,7 @@ export async function release (task) { ...@@ -54,8 +54,7 @@ export async function release (task) {
export async function pretest (task) { export async function pretest (task) {
const processName = isWindows ? 'chromedriver.cmd' : 'chromedriver' const processName = isWindows ? 'chromedriver.cmd' : 'chromedriver'
// eslint-disable-next-line childProcess.spawn(processName, { stdio: 'inherit' })
const chromedriver = childProcess.spawn(processName, { stdio: 'inherit' })
// We need to do this, otherwise this task's process will keep waiting. // We need to do this, otherwise this task's process will keep waiting.
setTimeout(() => process.exit(0), 2000) setTimeout(() => process.exit(0), 2000)
} }
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment