json-api-mocker 1.0.0 → 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 +5 -5
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.0",
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",
@@ -33,12 +33,12 @@
33
33
  "license": "MIT",
34
34
  "repository": {
35
35
  "type": "git",
36
- "url": "git+https://github.com/你的用户名/json-mock-server.git"
36
+ "url": "git+https://github.com/Selteve/json-api-mocker.git"
37
37
  },
38
38
  "bugs": {
39
- "url": "https://github.com/你的用户名/json-mock-server/issues"
39
+ "url": "https://github.com/Selteve/json-api-mocker/issues"
40
40
  },
41
- "homepage": "https://github.com/你的用户名/json-mock-server#readme",
41
+ "homepage": "https://github.com/Selteve/json-api-mocker#readme",
42
42
  "dependencies": {
43
43
  "cors": "^2.8.5",
44
44
  "express": "^4.17.1"