Leo Lamprecht
8 years ago
No known key found for this signature in database
GPG Key ID: B08517883D5E0E10
10 changed files with
10 additions and
17 deletions
-
bin/now
-
bin/now-alias
-
bin/now-certs
-
bin/now-deploy
-
bin/now-dns
-
bin/now-domains
-
bin/now-list
-
bin/now-remove
-
bin/now-secrets
-
package.json
|
|
@ -1,22 +1,17 @@ |
|
|
|
#!/bin/bash |
|
|
|
// >&/dev/null; exec node $(node -p "process.version[1] >= 7 ? '--harmony-async-await' : '--lazy'") $0 $@ |
|
|
|
// vi:syntax=javascript |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
const {resolve} = require('path') |
|
|
|
|
|
|
|
// Packages |
|
|
|
const nodeVersion = require('node-version') |
|
|
|
const isAsyncSupported = require('is-async-supported') |
|
|
|
const updateNotifier = require('update-notifier') |
|
|
|
|
|
|
|
// Ours |
|
|
|
const {error} = require('../lib/error') |
|
|
|
const pkg = require('../package') |
|
|
|
|
|
|
|
if (!isAsyncSupported()) { |
|
|
|
require('async-to-gen/register') |
|
|
|
} |
|
|
|
require('async-to-gen/register') |
|
|
|
|
|
|
|
if (nodeVersion.major < 6) { |
|
|
|
error('Now requires at least version 6 of Node. Please upgrade!') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const chalk = require('chalk') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
const path = require('path') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Native |
|
|
|
const {resolve} = require('path') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const chalk = require('chalk') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const chalk = require('chalk') |
|
|
|
|
|
@ -1,5 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
|
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const fs = require('fs-promise') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const minimist = require('minimist') |
|
|
|
|
|
@ -1,4 +1,4 @@ |
|
|
|
#!/usr/bin/env node --harmony-async-await |
|
|
|
#!/usr/bin/env node |
|
|
|
|
|
|
|
// Packages |
|
|
|
const chalk = require('chalk') |
|
|
|
|
|
@ -72,7 +72,6 @@ |
|
|
|
"graceful-fs": "^4.1.11", |
|
|
|
"ignore": "^3.2.0", |
|
|
|
"ini": "^1.3.4", |
|
|
|
"is-async-supported": "^1.2.0", |
|
|
|
"is-url": "^1.2.2", |
|
|
|
"minimist": "^1.2.0", |
|
|
|
"ms": "^0.7.2", |
|
|
|