* Remove babel as a dependency
* Migrate from import foo from foo to const foo = require('foo')
* Update module.exports
* Update commander syntax
* Update pkg config and fix stuff
* Make XO happy
* Fix path in tests
* Fix typo
* Fix cleanup
* Debug pkg
* Fix pkg
* Fix process.argv for subcommands
* Run with --harmony-async-await when supported thx igor for help with this trick :D
* Use bash
* Set engines.node in package.json
A small superficial change to bin/now-deploy.js so that we can specify one or more aliases whilst deploying.
**Examples**
```
now --alias a.com
now --alias a.com --alias b.com
```
We handle the alias assignment serially so that the CLI output makes sense.
**Some thoughts**
- I’m hoping this PR can close out #172
- Aware this PR likely affects #68
- This is a superficial change, really we should update the lib/alias.js to handle multiple domains
This adds package.json as new source for environment variables, which
are merged with `-e` CLI arguments (CLI args take precedence).
With the ability to specify environment variables in package.json,
developers don't need to remember which `-e` arguments to add, and
can simply run `now`.
```json
"now": {
"env": {
"foo": "bar"
}
}
```
The above is the same as running:
```
now -e foo=bar
```
Fixes#116
* Fix key and value checks
- key can't be empty string nor undefined or null
- value is always undefined if it's not set
* Fix crash if env key and value are missing when using -e