Browse Source
Added a missing newline before checking support of async/await
master
Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
3 changed files with
3 additions and
2 deletions
-
.gitignore
-
bin/now
-
package.json
|
|
@ -1,5 +1,5 @@ |
|
|
|
# build output |
|
|
|
out |
|
|
|
packed |
|
|
|
|
|
|
|
# dependencies |
|
|
|
node_modules |
|
|
|
|
|
@ -9,6 +9,7 @@ const minimist = require('minimist') |
|
|
|
const {spawn} = require('cross-spawn') |
|
|
|
const nodeVersion = require('node-version') |
|
|
|
const isAsyncSupported = require('is-async-supported') |
|
|
|
|
|
|
|
if (!isAsyncSupported()) { |
|
|
|
require('async-to-gen/register') |
|
|
|
} |
|
|
|
|
|
@ -10,7 +10,7 @@ |
|
|
|
], |
|
|
|
"scripts": { |
|
|
|
"test": "xo && ava", |
|
|
|
"pack": "pkg . --out-dir out --options harmony-async-await" |
|
|
|
"pack": "pkg . --out-dir packed --options harmony-async-await" |
|
|
|
}, |
|
|
|
"pkg": { |
|
|
|
"scripts": [ |
|
|
|