weihuo-util 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.
package/package.json ADDED
@@ -0,0 +1,98 @@
1
+ {
2
+ "name": "weihuo-util",
3
+ "version": "1.0.0",
4
+ "description": "weihuo 通用工具函数库",
5
+ "type": "module",
6
+ "author": "xuesaimin",
7
+ "license": "UNLICENSED",
8
+ "homepage": "https://www.npmjs.com/package/weihuo-util",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+ssh://git@gitee.com/weihuo_1/gxxc_util.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://gitee.com/weihuo_1/gxxc_util/issues"
15
+ },
16
+ "publishConfig": {
17
+ "access": "public",
18
+ "registry": "https://registry.npmjs.org/"
19
+ },
20
+ "main": "./dist/cjs/index.js",
21
+ "module": "./dist/esm/index.js",
22
+ "types": "./dist/types/index.d.ts",
23
+ "scripts": {
24
+ "lint": "eslint --ext .js,.ts ./ --fix",
25
+ "dev": "rollup -c --watch",
26
+ "build": "rollup -c && npm run doc",
27
+ "test": "vitest",
28
+ "doc": "api-extractor run --local --verbose && api-documenter markdown -i temp -o doc",
29
+ "doc:debug": "api-extractor run --local --verbose --diagnostics && api-documenter markdown -i temp -o doc",
30
+ "trace": "tsc dist/types/index.d.ts --traceResolution > trace.log",
31
+ "docs:dev": "vitepress dev",
32
+ "docs:build": "vitepress build",
33
+ "docs:preview": "vitepress preview",
34
+ "prepublishOnly": "rimraf dist && npm run build"
35
+ },
36
+ "exports": {
37
+ ".": {
38
+ "types": "./dist/types/index.d.ts",
39
+ "import": "./dist/esm/index.js",
40
+ "require": "./dist/cjs/index.js"
41
+ }
42
+ },
43
+ "sideEffects": false,
44
+ "files": [
45
+ "dist"
46
+ ],
47
+ "keywords": [
48
+ "weihuo",
49
+ "util",
50
+ "utils",
51
+ "toolkit"
52
+ ],
53
+ "npm": {
54
+ "peerDependencyRules": {
55
+ "ignoreMissing": [
56
+ "@algolia/client-search",
57
+ "search-insights"
58
+ ]
59
+ }
60
+ },
61
+ "dependencies": {
62
+ "@babel/core": "^7.25.2",
63
+ "china-division": "^2.7.0",
64
+ "crypto-js": "^4.2.0",
65
+ "dayjs": "^1.11.11",
66
+ "detect-browser": "^5.3.0",
67
+ "jsencrypt": "^3.3.2",
68
+ "number-precision": "^1.6.0",
69
+ "print-js": "^1.6.0",
70
+ "uuid": "^9.0.1"
71
+ },
72
+ "devDependencies": {
73
+ "@microsoft/api-documenter": "^7.24.2",
74
+ "@microsoft/api-extractor": "^7.43.1",
75
+ "@rollup/plugin-babel": "^6.0.4",
76
+ "@rollup/plugin-commonjs": "^25.0.7",
77
+ "@rollup/plugin-json": "^6.1.0",
78
+ "@rollup/plugin-node-resolve": "^15.2.3",
79
+ "@rollup/plugin-terser": "^0.4.4",
80
+ "@rollup/plugin-typescript": "^12.3.0",
81
+ "@types/crypto-js": "^4.2.2",
82
+ "@types/node": "^20.12.7",
83
+ "@types/uuid": "^9.0.8",
84
+ "eslint": "^9.0.0",
85
+ "fast-glob": "^3.3.2",
86
+ "jsdom": "^26.1.0",
87
+ "rimraf": "^5.0.10",
88
+ "rollup": "^4.14.3",
89
+ "rollup-plugin-dts": "^6.1.0",
90
+ "rollup-plugin-import-export": "^0.0.1",
91
+ "rollup-plugin-node-builtins": "^2.1.2",
92
+ "rollup-plugin-node-globals": "^1.4.0",
93
+ "tslib": "^2.8.1",
94
+ "typescript": "^5.4.5",
95
+ "vitepress": "^1.1.0",
96
+ "vitest": "^1.5.0"
97
+ }
98
+ }