@fox-js/fox 2.1.0 → 2.1.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.
Files changed (2) hide show
  1. package/READEME.md +57 -0
  2. package/package.json +7 -4
package/READEME.md ADDED
@@ -0,0 +1,57 @@
1
+ <!--
2
+ * @version: 1.0
3
+ * @Author: 江成
4
+ * @Date: 2021-12-19 22:08:30
5
+ -->
6
+
7
+ # Fox
8
+
9
+ Fox 交易流程控制框架
10
+
11
+ ## 安装
12
+
13
+ 正式版
14
+
15
+ ```js
16
+ npm install @fox-js/fox
17
+ ```
18
+
19
+ 测试版
20
+
21
+ ```js
22
+ npm install @fox-js/fox@beta
23
+ ```
24
+
25
+ ## 使用
26
+
27
+ ```js
28
+ import fox from '@fox-js/fox'
29
+ ```
30
+
31
+ ## 编译
32
+
33
+ 开发版本
34
+
35
+ ```js
36
+ npm run dev
37
+ ```
38
+
39
+ 正式版本
40
+
41
+ ```js
42
+ npm run prod
43
+ ```
44
+
45
+ ## 发布
46
+
47
+ 测试版本
48
+
49
+ ```js
50
+ npm run publish:beta
51
+ ```
52
+
53
+ 正式版本(慎重)
54
+
55
+ ```js
56
+ npm run publish:latest
57
+ ```
package/package.json CHANGED
@@ -1,14 +1,17 @@
1
1
  {
2
2
  "name": "@fox-js/fox",
3
- "version": "2.1.0",
3
+ "version": "2.1.1",
4
4
  "description": "Fox Router and commons Utils",
5
5
  "main": "main.js",
6
- "style":"libs/index.css",
6
+ "style": "libs/index.css",
7
7
  "typings": "",
8
8
  "publishConfig": {
9
9
  "access": "public"
10
10
  },
11
- "dependencies":{},
11
+ "scripts": {
12
+ "publish:beta": "npm version prerelease & npm publish --tag beta",
13
+ "publish:latest": "npm version patch & npm publish"
14
+ },
15
+ "dependencies": {},
12
16
  "repository": ""
13
17
  }
14
-