remotedev-server
Advanced tools
Comparing version 0.2.6 to 0.2.7
@@ -13,4 +13,5 @@ module.exports = function getOptions(argv) { | ||
dbOptions: argv.dbOptions || process.env.npm_package_remotedev_db, | ||
logLevel: argv.logLevel || 3 | ||
logLevel: argv.logLevel || 3, | ||
wsEngine: argv.wsEngine || process.env.npm_package_remotedev_wsengine || 'uws' | ||
}; | ||
} |
{ | ||
"name": "remotedev-server", | ||
"version": "0.2.6", | ||
"version": "0.2.7", | ||
"description": "Run the RemoteDev monitor on your local server.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -47,2 +47,18 @@ RemoteDev Server | ||
#### Available options | ||
| Console argument | description | default value | | ||
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | | ||
| `--hostname` | hostname | localhost | | ||
| `--port` | port | 8000 | | ||
| `--protocol` | protocol | http | | ||
| `--key` | the key file for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - | | ||
| `--cert` | the cert file for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - | | ||
| `--passphrase` | the key passphrase for [running an https server](https://github.com/SocketCluster/socketcluster#using-over-https) (`--protocol` must be set to 'https') | - | | ||
| `--adapter` | the [database adapter](https://github.com/zalmoxisus/remotedev-server#save-reports-and-logs) name | - | | ||
| `--dbOptions` | the [database adapter](https://github.com/zalmoxisus/remotedev-server#save-reports-and-logs) options string to pass | - | | ||
| `--logLevel` | the socket server log level - 0=none, 1=error, 2=warn, 3=info | 3 | | ||
| `--wsEngine` | the socket server web socket engine - ws or uws | uws | | ||
### Inject to React Native local server | ||
@@ -93,3 +109,3 @@ | ||
| Storage | `adapter` | `dbOptions` argument example (optional) | install | | ||
|-----------|-----------|------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------| | ||
| --------- | --------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------- | | ||
| Firebase | firebase | `{ basePath: 'https://my-app.firebase.io' }` | `npm install --save js-data-firebase` | | ||
@@ -96,0 +112,0 @@ | HTTP | http | `{ basePath: 'https://my-rest-server/api' }` | `npm install --save js-data-http` | |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
24264
397
124
0