serverless-dynamodb-local
Advanced tools
Comparing version 1.0.1 to 1.0.2
{ | ||
"name": "serverless-dynamodb-local", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"engines": { | ||
@@ -5,0 +5,0 @@ "node": ">=4.0" |
@@ -19,7 +19,9 @@ serverless-dynamodb-local | ||
## Install Plugin | ||
`npm install --save serverless-dynamodb-local@v1` | ||
`npm install --save serverless-dynamodb-local` | ||
Then in `serverless.yml` add following entry to the plugins array: `serverless-dynamodb-local` | ||
e.g `plugins: | ||
- serverless-dynamodb-local` | ||
```yml | ||
plugins: | ||
- serverless-dynamodb-local | ||
``` | ||
@@ -54,3 +56,3 @@ ## Using the Plugin | ||
``` | ||
--port -p Port to listen on. Default: 8000 | ||
--port -p Port to listen on. Default: 8000 | ||
--cors -c Enable CORS support (cross-origin resource sharing) for JavaScript. You must provide a comma-separated "allow" list of specific domains. The default setting for -cors is an asterisk (*), which allows public access. | ||
@@ -57,0 +59,0 @@ --inMemory -i DynamoDB; will run in memory, instead of using a database file. When you stop DynamoDB;, none of the data will be saved. Note that you cannot specify both -dbPath and -inMemory at once. |
192
21196