json-api-mocker 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. package/README.ch.md +5 -5
  2. package/README.md +11 -11
  3. package/package.json +2 -2
package/README.ch.md CHANGED
@@ -1,4 +1,4 @@
1
- # JSON Mock Server
1
+ # JSON API Mocker
2
2
 
3
3
  一个轻量级且灵活的 Mock 服务器,通过 JSON 配置快速创建 RESTful API。
4
4
 
@@ -21,13 +21,13 @@
21
21
 
22
22
  ```bash
23
23
  # 使用 npm
24
- npm install json-mock-server
24
+ npm install json-api-mocker
25
25
 
26
26
  # 使用 yarn
27
- yarn add json-mock-server
27
+ yarn add json-api-mocker
28
28
 
29
29
  # 使用 pnpm
30
- pnpm add json-mock-server
30
+ pnpm add json-api-mocker
31
31
  ```
32
32
 
33
33
  ## 🚀 快速开始
@@ -71,7 +71,7 @@ pnpm add json-mock-server
71
71
  ### 2. 启动服务器
72
72
 
73
73
  ```bash
74
- npx json-mock-server
74
+ npx json-api-mocker
75
75
  ```
76
76
 
77
77
  现在你的 Mock 服务器已经在 `http://localhost:8080` 运行了!
package/README.md CHANGED
@@ -1,11 +1,11 @@
1
- # JSON Mock Server
1
+ # JSON API Mocker
2
2
 
3
3
  A lightweight and flexible mock server that uses JSON configuration to quickly create RESTful APIs.
4
4
 
5
5
  <p align="center">
6
- <img src="https://img.shields.io/npm/v/json-mock-server" alt="npm version" />
7
- <img src="https://img.shields.io/npm/l/json-mock-server" alt="license" />
8
- <img src="https://img.shields.io/npm/dt/json-mock-server" alt="downloads" />
6
+ <img src="https://img.shields.io/npm/v/json-api-mocker" alt="npm version" />
7
+ <img src="https://img.shields.io/npm/l/json-api-mocker" alt="license" />
8
+ <img src="https://img.shields.io/npm/dt/json-api-mocker" alt="downloads" />
9
9
  </p>
10
10
 
11
11
  ## ✨ Features
@@ -20,14 +20,14 @@ A lightweight and flexible mock server that uses JSON configuration to quickly c
20
20
  ## 📦 Installation
21
21
 
22
22
  ```bash
23
- # 使用 npm
24
- npm install json-mock-server
23
+ # Using npm
24
+ npm install json-api-mocker
25
25
 
26
- # 使用 yarn
27
- yarn add json-mock-server
26
+ # Using yarn
27
+ yarn add json-api-mocker
28
28
 
29
- # 使用 pnpm
30
- pnpm add json-mock-server
29
+ # Using pnpm
30
+ pnpm add json-api-mocker
31
31
  ```
32
32
 
33
33
  ## 🚀 Quick Start
@@ -71,7 +71,7 @@ Create a `data.json` file in your project root:
71
71
  ### 2. Start the Server
72
72
 
73
73
  ```bash
74
- npx json-mock-server
74
+ npx json-api-mocker
75
75
  ```
76
76
 
77
77
  Now your mock server is running at `http://localhost:8080`!
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "json-api-mocker",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "一个基于 JSON 配置的 Mock 服务器",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "bin": {
8
- "json-mock-server": "dist/cli.js"
8
+ "json-api-mocker": "./dist/cli.js"
9
9
  },
10
10
  "files": [
11
11
  "dist",