huxy-node-server 1.0.0-beta.7 → 1.0.0

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -88,7 +88,7 @@ const server = await startStatic({
88
88
  | `port` | number | 3000 | 服务器端口 |
89
89
  | `host` | string | '0.0.0.0' | 服务器主机 |
90
90
  | `basepath` | string | '/' | 基础路径前缀 |
91
- | `apiPrefix` | string | '/api' | 基础路径前缀 |
91
+ | `apiPrefix` | string | '/api' | API前缀 |
92
92
  | `nodeEnv` | string | 'development' | 运行环境 |
93
93
  | `appName` | string | 'HuxyServer' | 应用名称 |
94
94
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "huxy-node-server",
3
- "version": "1.0.0-beta.7",
3
+ "version": "1.0.0",
4
4
  "description": "一个精炼、高性能的 Express.js 服务器模板,为现代 Node.js 应用程序设计,提供灵活的功能和最佳实践。",
5
5
  "type": "module",
6
6
  "module": "./src/index.js",
@@ -13,8 +13,8 @@
13
13
  }
14
14
  },
15
15
  "scripts": {
16
- "start": "node ./src/index.js",
17
- "dev": "NODE_ENV=development node --watch ./src/index.js"
16
+ "start": "NODE_ENV=production node ./example.js",
17
+ "dev": "NODE_ENV=development node --watch ./example.js"
18
18
  },
19
19
  "keywords": [
20
20
  "express",