lyb-js 1.2.9 → 1.2.10

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 +3 -3
  2. package/package.json +1 -5
package/README.md CHANGED
@@ -20,7 +20,7 @@ console.log(t); //"string"
20
20
  > 按需引入,打包时就不会把整个库打进去
21
21
 
22
22
  ```ts
23
- import { libJsGetDataType } from "lyb-js/dist/Base/LibJsGetDataType";
23
+ import { libJsGetDataType } from "lyb-js/Base/LibJsGetDataType";
24
24
 
25
25
  const t = libJsGetDataType("Hellow World!");
26
26
  console.log(t); //"string"
@@ -30,8 +30,8 @@ console.log(t); //"string"
30
30
 
31
31
  ```ts
32
32
  //你的公共工具函数文件 utils.ts
33
- export * from "lyb-js/dist/Base/LibJsGetDataType";
34
- export * from "lyb-js/dist/Math/LibJsCalculateExpression";
33
+ export * from "lyb-js/Base/LibJsGetDataType";
34
+ export * from "lyb-js/Math/LibJsCalculateExpression";
35
35
 
36
36
  //你的项目文件 index.ts
37
37
  import { libJsGetDataType,libJsCalculateExpression } from "utils";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "lyb-js",
3
- "version": "1.2.9",
3
+ "version": "1.2.10",
4
4
  "description": "自用JS方法库",
5
5
  "license": "ISC",
6
6
  "type": "module",
@@ -32,10 +32,6 @@
32
32
  "lyb",
33
33
  "lyb-js"
34
34
  ],
35
- "devDependencies": {
36
- "@types/node": "^22.10.5",
37
- "typescript": "^5.7.2"
38
- },
39
35
  "dependencies": {
40
36
  "dayjs": "^1.11.13",
41
37
  "decimal.js": "^10.4.3",