@rzl-zone/utils-js 0.0.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.
- package/LICENSE.md +21 -0
- package/README.md +215 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +4309 -0
- package/dist/index.js +1 -0
- package/dist/next/index.cjs +1 -0
- package/dist/next/index.d.ts +184 -0
- package/dist/next/index.js +1 -0
- package/dist/next/server/index.cjs +1 -0
- package/dist/next/server/index.d.ts +42 -0
- package/dist/next/server/index.js +1 -0
- package/dist/rzl-utils.global.js +1 -0
- package/dist/types/index.d.ts +2057 -0
- package/package.json +148 -0
package/package.json
ADDED
|
@@ -0,0 +1,148 @@
|
|
|
1
|
+
{
|
|
2
|
+
"contributors": [
|
|
3
|
+
"Rizalvin Dwiky <rizalvindwiky1998@gmail.com>"
|
|
4
|
+
],
|
|
5
|
+
"bugs": {
|
|
6
|
+
"url": "https://github.com/rzl-zone/utils-js/issues"
|
|
7
|
+
},
|
|
8
|
+
"author": "Rizalvin Dwiky <rizalvindwiky1998@gmail.com>",
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"date-fns": "^4.1.0",
|
|
11
|
+
"server-only": "^0.0.1"
|
|
12
|
+
},
|
|
13
|
+
"description": "A modern, lightweight set of JavaScript utility functions for everyday development, crafted to enhance code readability and maintainability.",
|
|
14
|
+
"devDependencies": {
|
|
15
|
+
"@eslint/js": "^9.31.0",
|
|
16
|
+
"@rollup/plugin-typescript": "^12.1.4",
|
|
17
|
+
"@types/node": "^20.19.4",
|
|
18
|
+
"@types/rollup": "^0.51.4",
|
|
19
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
20
|
+
"barrelsby": "^2.8.1",
|
|
21
|
+
"del-cli": "^6.0.0",
|
|
22
|
+
"dts-bundle-generator": "^9.5.1",
|
|
23
|
+
"eslint": "^9.31.0",
|
|
24
|
+
"globals": "^16.3.0",
|
|
25
|
+
"jsdom": "^26.1.0",
|
|
26
|
+
"next": "^15.4.5",
|
|
27
|
+
"release-please": "^17.1.1",
|
|
28
|
+
"rimraf": "^6.0.1",
|
|
29
|
+
"rollup": "^4.45.1",
|
|
30
|
+
"rollup-plugin-dts": "^6.2.1",
|
|
31
|
+
"rollup-plugin-tsconfig-paths": "^1.5.2",
|
|
32
|
+
"tsup": "^8.5.0",
|
|
33
|
+
"tsx": "^4.20.3",
|
|
34
|
+
"type-samurai": "^1.1.1",
|
|
35
|
+
"typescript": "^5.8.3",
|
|
36
|
+
"typescript-eslint": "^8.37.0",
|
|
37
|
+
"vitest": "^3.2.4"
|
|
38
|
+
},
|
|
39
|
+
"engineStrict": true,
|
|
40
|
+
"engines": {
|
|
41
|
+
"node": ">=16"
|
|
42
|
+
},
|
|
43
|
+
"exports": {
|
|
44
|
+
".": {
|
|
45
|
+
"import": {
|
|
46
|
+
"types": "./dist/index.d.ts",
|
|
47
|
+
"default": "./dist/index.js"
|
|
48
|
+
},
|
|
49
|
+
"require": {
|
|
50
|
+
"types": "./dist/index.d.ts",
|
|
51
|
+
"default": "./dist/index.cjs"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"./next": {
|
|
55
|
+
"import": {
|
|
56
|
+
"types": "./dist/next/index.d.ts",
|
|
57
|
+
"default": "./dist/next/index.js"
|
|
58
|
+
},
|
|
59
|
+
"require": {
|
|
60
|
+
"types": "./dist/next/index.d.ts",
|
|
61
|
+
"default": "./dist/next/index.cjs"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"./next/server": {
|
|
65
|
+
"import": {
|
|
66
|
+
"types": "./dist/next/server/index.d.ts",
|
|
67
|
+
"default": "./dist/next/server/index.js"
|
|
68
|
+
},
|
|
69
|
+
"require": {
|
|
70
|
+
"types": "./dist/next/server/index.d.ts",
|
|
71
|
+
"default": "./dist/next/server/index.cjs"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"./types": {
|
|
75
|
+
"types": "./dist/types/index.d.ts"
|
|
76
|
+
}
|
|
77
|
+
},
|
|
78
|
+
"files": [
|
|
79
|
+
"dist",
|
|
80
|
+
"README.md",
|
|
81
|
+
"LICENSE.md"
|
|
82
|
+
],
|
|
83
|
+
"homepage": "https://github.com/rzl-zone/utils-js#readme",
|
|
84
|
+
"jsdelivr": "./dist/rzl-utils.global.js",
|
|
85
|
+
"keywords": [
|
|
86
|
+
"javascript",
|
|
87
|
+
"typescript",
|
|
88
|
+
"utils",
|
|
89
|
+
"helpers",
|
|
90
|
+
"library",
|
|
91
|
+
"@rzl-zone/utils-js",
|
|
92
|
+
"rzl",
|
|
93
|
+
"rzl-zone",
|
|
94
|
+
"utils-js",
|
|
95
|
+
"utility",
|
|
96
|
+
"rzl-utils",
|
|
97
|
+
"helper",
|
|
98
|
+
"functions"
|
|
99
|
+
],
|
|
100
|
+
"license": "MIT",
|
|
101
|
+
"main": "./dist/index.cjs",
|
|
102
|
+
"module": "./dist/index.js",
|
|
103
|
+
"name": "@rzl-zone/utils-js",
|
|
104
|
+
"publishConfig": {
|
|
105
|
+
"access": "public"
|
|
106
|
+
},
|
|
107
|
+
"repository": {
|
|
108
|
+
"type": "git",
|
|
109
|
+
"url": "git+https://github.com/rzl-zone/utils-js.git"
|
|
110
|
+
},
|
|
111
|
+
"scripts": {
|
|
112
|
+
"barrel": "npx barrelsby --config barrelsby.config.json",
|
|
113
|
+
"build": "npm run clean && npm run barrel && tsup && npm run build:types && npm run minify-dist && npm run postbuild",
|
|
114
|
+
"build:types": "npm run build:types-dts && npm run build:types:bundle",
|
|
115
|
+
"build:types-all": "npm run build:types-dts && npm run build:types:bundle",
|
|
116
|
+
"build:types-dts": "dts-bundle-generator --config dts-config.cjs --silent --external-imports next",
|
|
117
|
+
"build:types:bundle": "rollup -c",
|
|
118
|
+
"check-publish": "npm pack --dry-run",
|
|
119
|
+
"clean": "rimraf dist",
|
|
120
|
+
"coverage": "vitest run --coverage",
|
|
121
|
+
"dev": "tsc --watch",
|
|
122
|
+
"format": "prettier --check .",
|
|
123
|
+
"lint": "eslint . --ext .ts,.js",
|
|
124
|
+
"lint:fix": "eslint . --ext .ts,.js --fix",
|
|
125
|
+
"minify-dist": "tsx scripts/minify-dist.ts",
|
|
126
|
+
"postbuild": "del-cli \"dist/**/*.d.cts\"",
|
|
127
|
+
"prepare": "npm run build",
|
|
128
|
+
"release-patch": "npm version patch && git push && git push --tags && npm publish"
|
|
129
|
+
},
|
|
130
|
+
"sideEffects": false,
|
|
131
|
+
"type": "module",
|
|
132
|
+
"types": "./dist/index.d.ts",
|
|
133
|
+
"typesVersions": {
|
|
134
|
+
"*": {
|
|
135
|
+
"next": [
|
|
136
|
+
"dist/next/index.d.ts"
|
|
137
|
+
],
|
|
138
|
+
"next/server": [
|
|
139
|
+
"dist/next/server/index.d.ts"
|
|
140
|
+
],
|
|
141
|
+
"types": [
|
|
142
|
+
"dist/types/index.d.ts"
|
|
143
|
+
]
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"unpkg": "./dist/rzl-utils.global.js",
|
|
147
|
+
"version": "0.0.1"
|
|
148
|
+
}
|