@freelog/tools-lib 0.1.157 → 0.1.158
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/dist/tools-lib.cjs.development.js +2 -2
- package/dist/tools-lib.cjs.development.js.map +1 -1
- package/dist/tools-lib.cjs.production.min.js +1 -1
- package/dist/tools-lib.cjs.production.min.js.map +1 -1
- package/dist/tools-lib.esm.js +2 -2
- package/dist/tools-lib.esm.js.map +1 -1
- package/package.json +67 -67
- package/src/service-API/presentables.ts +293 -293
- package/src/utils/axios.ts +1 -1
- package/src/utils/format.ts +1 -1
- package/src/utils/tools.ts +102 -102
package/package.json
CHANGED
|
@@ -1,67 +1,67 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@freelog/tools-lib",
|
|
3
|
-
"version": "0.1.
|
|
4
|
-
"license": "MIT",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"typings": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"dist",
|
|
9
|
-
"src"
|
|
10
|
-
],
|
|
11
|
-
"engines": {
|
|
12
|
-
"node": ">=10"
|
|
13
|
-
},
|
|
14
|
-
"scripts": {
|
|
15
|
-
"start": "tsdx watch",
|
|
16
|
-
"build": "tsdx build",
|
|
17
|
-
"test": "tsdx test",
|
|
18
|
-
"lint": "tsdx lint",
|
|
19
|
-
"prepare": "tsdx build",
|
|
20
|
-
"size": "size-limit",
|
|
21
|
-
"analyze": "size-limit --why",
|
|
22
|
-
"publish": "npm publish --access=public"
|
|
23
|
-
},
|
|
24
|
-
"husky": {
|
|
25
|
-
"hooks": {}
|
|
26
|
-
},
|
|
27
|
-
"prettier": {
|
|
28
|
-
"printWidth": 80,
|
|
29
|
-
"semi": true,
|
|
30
|
-
"singleQuote": true,
|
|
31
|
-
"trailingComma": "es5"
|
|
32
|
-
},
|
|
33
|
-
"author": "liu-kai-github",
|
|
34
|
-
"module": "dist/tools-lib.esm.js",
|
|
35
|
-
"size-limit": [
|
|
36
|
-
{
|
|
37
|
-
"path": "dist/tools-lib.cjs.production.min.js",
|
|
38
|
-
"limit": "10 KB"
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
"path": "dist/tools-lib.esm.js",
|
|
42
|
-
"limit": "10 KB"
|
|
43
|
-
}
|
|
44
|
-
],
|
|
45
|
-
"devDependencies": {
|
|
46
|
-
"@size-limit/preset-small-lib": "^4.11.0",
|
|
47
|
-
"@types/js-cookie": "^3.0.2",
|
|
48
|
-
"@types/node": "^18.7.16",
|
|
49
|
-
"@types/nprogress": "^0.2.0",
|
|
50
|
-
"@types/react": "^18.2.17",
|
|
51
|
-
"husky": "^6.0.0",
|
|
52
|
-
"size-limit": "^4.11.0",
|
|
53
|
-
"tsdx": "^0.14.1",
|
|
54
|
-
"tslib": "^2.2.0",
|
|
55
|
-
"typescript": "^4.7.4"
|
|
56
|
-
},
|
|
57
|
-
"dependencies": {
|
|
58
|
-
"@freelog/resource-policy-lang": "1.1.26",
|
|
59
|
-
"axios": "^0.21.1",
|
|
60
|
-
"html-react-parser": "^4.2.0",
|
|
61
|
-
"i18next": "^21.8.10",
|
|
62
|
-
"js-cookie": "^3.0.1",
|
|
63
|
-
"moment": "^2.29.1",
|
|
64
|
-
"nprogress": "^0.2.0",
|
|
65
|
-
"react": "^18.2.0"
|
|
66
|
-
}
|
|
67
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@freelog/tools-lib",
|
|
3
|
+
"version": "0.1.158",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"typings": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist",
|
|
9
|
+
"src"
|
|
10
|
+
],
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=10"
|
|
13
|
+
},
|
|
14
|
+
"scripts": {
|
|
15
|
+
"start": "tsdx watch",
|
|
16
|
+
"build": "tsdx build",
|
|
17
|
+
"test": "tsdx test",
|
|
18
|
+
"lint": "tsdx lint",
|
|
19
|
+
"prepare": "tsdx build",
|
|
20
|
+
"size": "size-limit",
|
|
21
|
+
"analyze": "size-limit --why",
|
|
22
|
+
"publish": "npm publish --access=public"
|
|
23
|
+
},
|
|
24
|
+
"husky": {
|
|
25
|
+
"hooks": {}
|
|
26
|
+
},
|
|
27
|
+
"prettier": {
|
|
28
|
+
"printWidth": 80,
|
|
29
|
+
"semi": true,
|
|
30
|
+
"singleQuote": true,
|
|
31
|
+
"trailingComma": "es5"
|
|
32
|
+
},
|
|
33
|
+
"author": "liu-kai-github",
|
|
34
|
+
"module": "dist/tools-lib.esm.js",
|
|
35
|
+
"size-limit": [
|
|
36
|
+
{
|
|
37
|
+
"path": "dist/tools-lib.cjs.production.min.js",
|
|
38
|
+
"limit": "10 KB"
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"path": "dist/tools-lib.esm.js",
|
|
42
|
+
"limit": "10 KB"
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@size-limit/preset-small-lib": "^4.11.0",
|
|
47
|
+
"@types/js-cookie": "^3.0.2",
|
|
48
|
+
"@types/node": "^18.7.16",
|
|
49
|
+
"@types/nprogress": "^0.2.0",
|
|
50
|
+
"@types/react": "^18.2.17",
|
|
51
|
+
"husky": "^6.0.0",
|
|
52
|
+
"size-limit": "^4.11.0",
|
|
53
|
+
"tsdx": "^0.14.1",
|
|
54
|
+
"tslib": "^2.2.0",
|
|
55
|
+
"typescript": "^4.7.4"
|
|
56
|
+
},
|
|
57
|
+
"dependencies": {
|
|
58
|
+
"@freelog/resource-policy-lang": "1.1.26",
|
|
59
|
+
"axios": "^0.21.1",
|
|
60
|
+
"html-react-parser": "^4.2.0",
|
|
61
|
+
"i18next": "^21.8.10",
|
|
62
|
+
"js-cookie": "^3.0.1",
|
|
63
|
+
"moment": "^2.29.1",
|
|
64
|
+
"nprogress": "^0.2.0",
|
|
65
|
+
"react": "^18.2.0"
|
|
66
|
+
}
|
|
67
|
+
}
|