1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2025-07-29 07:00:16 +02:00

🚧 types, linting, caching

♻️ add linting to codebase
♻️ Update prototype methods
🐛 update maxcomplexity in jshintConfig
♻️ Improve DOM element property handling
♻️ update setDelete function
 Add type annotation for signals()
♻️ Cleanup when signal removed
This commit is contained in:
2023-09-07 13:52:09 +02:00
parent a8ae99962e
commit 55a8f14b6b
11 changed files with 2721 additions and 2504 deletions

View File

@@ -1,6 +1,6 @@
{
"name": "deka-dom-el",
"version": "0.1.1",
"version": "0.1.2",
"description": "A low-code library that simplifies the creation of native DOM elements/components using small wrappers and tweaks.",
"author": "Jan Andrle <andrle.jan@centrum.cz>",
"license": "MIT",
@@ -58,13 +58,16 @@
"node": ">=18"
},
"jshintConfig": {
"esversion": 6,
"node": "true",
"esversion": 11,
"browser": true,
"undef": "true",
"latedef": "true",
"maxparams": 4,
"maxparams": 5,
"maxdepth": 3,
"maxcomplexity": 19
"maxcomplexity": 10,
"globals": {
"requestIdleCallback": false
}
},
"size-limit": [
{
@@ -93,6 +96,7 @@
"devDependencies": {
"@size-limit/preset-small-lib": "^8.2.6",
"esbuild": "^0.19.2",
"jshint": "^2.13.6",
"nodejsscript": "github:jaandrle/nodejsscript#dev-v1",
"size-limit-node-esbuild": "^0.2.0"
}