kfg 0.0.1 → 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/LICENSE +21 -0
- package/README.md +112 -7
- package/dist/index.cjs +1126 -0
- package/dist/index.d.ts +579 -0
- package/dist/index.js +1078 -0
- package/package.json +71 -6
- package/index.ts +0 -1
- package/tsconfig.json +0 -29
package/package.json
CHANGED
|
@@ -1,12 +1,77 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kfg",
|
|
3
|
-
"module": "index.ts",
|
|
4
3
|
"type": "module",
|
|
5
|
-
"
|
|
4
|
+
"description": "Simple system of standardization of configurations for node js and bun.",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"main": "dist/index.cjs",
|
|
7
|
+
"module": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/drylian/kfg.git"
|
|
12
|
+
},
|
|
13
|
+
"typesVersions": {
|
|
14
|
+
"*": {
|
|
15
|
+
".": [
|
|
16
|
+
"./dist/index.d.ts"
|
|
17
|
+
]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"exports": {
|
|
21
|
+
".": {
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"import": "./dist/index.js",
|
|
24
|
+
"require": "./dist/index.cjs"
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"keywords": [
|
|
28
|
+
"backend",
|
|
29
|
+
"standardization",
|
|
30
|
+
"standard",
|
|
31
|
+
"env",
|
|
32
|
+
"config-js",
|
|
33
|
+
"json",
|
|
34
|
+
"kfg",
|
|
35
|
+
"kfgfs",
|
|
36
|
+
"kfg-fs",
|
|
37
|
+
"kfg-js",
|
|
38
|
+
"config",
|
|
39
|
+
"configjs",
|
|
40
|
+
"npm",
|
|
41
|
+
"node",
|
|
42
|
+
"bun",
|
|
43
|
+
"deno",
|
|
44
|
+
"typescript",
|
|
45
|
+
"debug",
|
|
46
|
+
"output",
|
|
47
|
+
"performance"
|
|
48
|
+
],
|
|
49
|
+
"author": "Drylian",
|
|
50
|
+
"license": "MIT",
|
|
51
|
+
"bugs": {
|
|
52
|
+
"url": "https://github.com/drylian/kfg/issues"
|
|
53
|
+
},
|
|
54
|
+
"homepage": "https://github.com/drylian/kfg#readme",
|
|
55
|
+
"files": [
|
|
56
|
+
"dist"
|
|
57
|
+
],
|
|
58
|
+
"scripts": {
|
|
59
|
+
"build": "tsc --project tsconfig.test.json && bun run build.ts",
|
|
60
|
+
"docs": "typedoc",
|
|
61
|
+
"test": "bun test",
|
|
62
|
+
"check": "biome check --write",
|
|
63
|
+
"prebuild": "tsc --project tsconfig.test.json"
|
|
64
|
+
},
|
|
6
65
|
"devDependencies": {
|
|
7
|
-
"@
|
|
66
|
+
"@biomejs/biome": "^2.2.4",
|
|
67
|
+
"@types/bun": "^1.2.21",
|
|
68
|
+
"@types/node": "^24.3.0",
|
|
69
|
+
"dts-bundle-generator": "^9.5.1",
|
|
70
|
+
"tsup": "^8.4.0",
|
|
71
|
+
"typedoc": "^0.28.14",
|
|
72
|
+
"typescript": "^5.8.3"
|
|
8
73
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
74
|
+
"dependencies": {
|
|
75
|
+
"@sinclair/typebox": "^0.34.41"
|
|
11
76
|
}
|
|
12
|
-
}
|
|
77
|
+
}
|
package/index.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
console.log("Hello via Bun!");
|
package/tsconfig.json
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"compilerOptions": {
|
|
3
|
-
// Environment setup & latest features
|
|
4
|
-
"lib": ["ESNext"],
|
|
5
|
-
"target": "ESNext",
|
|
6
|
-
"module": "Preserve",
|
|
7
|
-
"moduleDetection": "force",
|
|
8
|
-
"jsx": "react-jsx",
|
|
9
|
-
"allowJs": true,
|
|
10
|
-
|
|
11
|
-
// Bundler mode
|
|
12
|
-
"moduleResolution": "bundler",
|
|
13
|
-
"allowImportingTsExtensions": true,
|
|
14
|
-
"verbatimModuleSyntax": true,
|
|
15
|
-
"noEmit": true,
|
|
16
|
-
|
|
17
|
-
// Best practices
|
|
18
|
-
"strict": true,
|
|
19
|
-
"skipLibCheck": true,
|
|
20
|
-
"noFallthroughCasesInSwitch": true,
|
|
21
|
-
"noUncheckedIndexedAccess": true,
|
|
22
|
-
"noImplicitOverride": true,
|
|
23
|
-
|
|
24
|
-
// Some stricter flags (disabled by default)
|
|
25
|
-
"noUnusedLocals": false,
|
|
26
|
-
"noUnusedParameters": false,
|
|
27
|
-
"noPropertyAccessFromIndexSignature": false
|
|
28
|
-
}
|
|
29
|
-
}
|