mockaton 0.0.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/package.json +3 -1
package/README.md
CHANGED
|
@@ -52,12 +52,12 @@ way, the milliseconds for the delay is globally configurable via `Config.delay`.
|
|
|
52
52
|
|
|
53
53
|
## Basic Usage (see [_usage_example.js](./_usage_example.js))
|
|
54
54
|
```
|
|
55
|
-
npm install
|
|
55
|
+
npm install mockaton
|
|
56
56
|
```
|
|
57
57
|
Create a `my-mockaton.js` file
|
|
58
58
|
```js
|
|
59
59
|
import { resolve } from 'node:path'
|
|
60
|
-
import { Mockaton } from '
|
|
60
|
+
import { Mockaton } from 'mockaton'
|
|
61
61
|
|
|
62
62
|
Mockaton({ // Config options
|
|
63
63
|
port: 2345,
|
package/package.json
CHANGED
|
@@ -2,9 +2,11 @@
|
|
|
2
2
|
"name": "mockaton",
|
|
3
3
|
"description": "A deterministic server-side for developing frontend clients",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.9.1",
|
|
6
6
|
"main": "index.js",
|
|
7
7
|
"types": "index.d.ts",
|
|
8
|
+
"license": "MIT",
|
|
9
|
+
"repository": "https://github.com/ericfortis/mockaton",
|
|
8
10
|
"scripts": {
|
|
9
11
|
"test": "./Tests.js",
|
|
10
12
|
"demo": "_usage_example.js"
|