|
@ -15,11 +15,12 @@ every time you run it, you get a new URL (unless nothing's changed). |
|
|
|
|
|
|
|
|
### Conventions |
|
|
### Conventions |
|
|
|
|
|
|
|
|
- Only files that would be included in `npm publish` are synchronized. |
|
|
1. `package.json` must contain a `start` task inside `scripts`. |
|
|
- `package.json` `files`, `.npmignore`, `.gitignore` supported |
|
|
If a `now` script is defined, that's used instead. |
|
|
- `package.json` must contain a `start` task inside `scripts`. |
|
|
2. Only files that would be included in `npm publish` are synchronized. |
|
|
If a `now` script is defined, that's used instead. |
|
|
`package.json` `files` field, `.npmignore` and `.gitignore` are supported. |
|
|
- Your HTTP server is expected to run in port `3000`. |
|
|
3. If a build step is needed, specify a `build` task in `scripts`. |
|
|
|
|
|
If `now-build` is defined, that's used instead. |
|
|
|
|
|
|
|
|
## Installing |
|
|
## Installing |
|
|
|
|
|
|
|
@ -31,9 +32,10 @@ $ npm install -g now |
|
|
|
|
|
|
|
|
## Features |
|
|
## Features |
|
|
|
|
|
|
|
|
- No reliance on Git. |
|
|
- **Slim**. No reliance on Git. |
|
|
- File de-duping. |
|
|
- **Fast**. Blazing fast sync with deduping. |
|
|
- Respects NPM conventions. |
|
|
- **Standard**. Respects npm and Node.JS conventions. |
|
|
|
|
|
- **Easy**. No need to specify ports, `Dockerfile` or config. |
|
|
|
|
|
|
|
|
## Options |
|
|
## Options |
|
|
|
|
|
|
|
|