minutool 1.0.15 → 1.0.16
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/index.d.ts +23 -13
- package/dist/minutool.js +233 -226
- package/dist/minutool.js.map +1 -1
- package/dist/minutool.umd.cjs +3 -3
- package/dist/minutool.umd.cjs.map +1 -1
- package/package.json +58 -59
package/package.json
CHANGED
|
@@ -1,59 +1,58 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "minutool",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "A collection of utility functions for time, string, object and more",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"main": "./dist/minutool.umd.cjs",
|
|
7
|
-
"module": "./dist/minutool.js",
|
|
8
|
-
"types": "./dist/index.d.ts",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": {
|
|
11
|
-
"import": "./dist/minutool.js",
|
|
12
|
-
"require": "./dist/minutool.umd.cjs",
|
|
13
|
-
"types": "./dist/index.d.ts"
|
|
14
|
-
}
|
|
15
|
-
},
|
|
16
|
-
"files": [
|
|
17
|
-
"dist"
|
|
18
|
-
],
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "minutool",
|
|
3
|
+
"version": "1.0.16",
|
|
4
|
+
"description": "A collection of utility functions for time, string, object and more",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/minutool.umd.cjs",
|
|
7
|
+
"module": "./dist/minutool.js",
|
|
8
|
+
"types": "./dist/index.d.ts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": "./dist/minutool.js",
|
|
12
|
+
"require": "./dist/minutool.umd.cjs",
|
|
13
|
+
"types": "./dist/index.d.ts"
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"files": [
|
|
17
|
+
"dist"
|
|
18
|
+
],
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"keywords": [
|
|
21
|
+
"utility",
|
|
22
|
+
"utils",
|
|
23
|
+
"time",
|
|
24
|
+
"string",
|
|
25
|
+
"object",
|
|
26
|
+
"helpers"
|
|
27
|
+
],
|
|
28
|
+
"author": "Your Name <your-email@example.com>",
|
|
29
|
+
"license": "MIT",
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/your-username/minutool.git"
|
|
33
|
+
},
|
|
34
|
+
"bugs": {
|
|
35
|
+
"url": "https://github.com/your-username/minutool/issues"
|
|
36
|
+
},
|
|
37
|
+
"homepage": "https://github.com/your-username/minutool#readme",
|
|
38
|
+
"devDependencies": {
|
|
39
|
+
"@vitest/coverage-v8": "^1.2.0",
|
|
40
|
+
"@vitest/ui": "^1.2.0",
|
|
41
|
+
"jsdom": "^24.0.0",
|
|
42
|
+
"typescript": "^5.3.3",
|
|
43
|
+
"vite": "^5.0.11",
|
|
44
|
+
"vite-plugin-dts": "^3.7.0",
|
|
45
|
+
"vitest": "^1.2.0"
|
|
46
|
+
},
|
|
47
|
+
"scripts": {
|
|
48
|
+
"dev": "vite",
|
|
49
|
+
"build": "tsc && vite build",
|
|
50
|
+
"prebuild": "npm run generate:index",
|
|
51
|
+
"preview": "vite preview",
|
|
52
|
+
"generate:index": "node scripts/generate-index.js",
|
|
53
|
+
"test": "vitest",
|
|
54
|
+
"test:ui": "vitest --ui",
|
|
55
|
+
"test:run": "vitest run",
|
|
56
|
+
"test:coverage": "vitest run --coverage"
|
|
57
|
+
}
|
|
58
|
+
}
|