build(deps): add hyperscript
This commit is contained in:
parent
4508150e30
commit
c830704fa4
@ -39,6 +39,10 @@ fn main() -> std::io::Result<()> {
|
|||||||
nm_path.join("sweetalert2-neutral/dist/sweetalert2.min.js"),
|
nm_path.join("sweetalert2-neutral/dist/sweetalert2.min.js"),
|
||||||
dist_path.join("sweetalert2.min.js"),
|
dist_path.join("sweetalert2.min.js"),
|
||||||
)?;
|
)?;
|
||||||
|
copy(
|
||||||
|
nm_path.join("hyperscript.org/dist/_hyperscript.min.js"),
|
||||||
|
dist_path.join("_hyperscript.min.js"),
|
||||||
|
)?;
|
||||||
copy(
|
copy(
|
||||||
Path::new("./static/utils.js"),
|
Path::new("./static/utils.js"),
|
||||||
dist_path.join("utils.js"),
|
dist_path.join("utils.js"),
|
||||||
|
22
web/static/package-lock.json
generated
22
web/static/package-lock.json
generated
@ -8,6 +8,7 @@
|
|||||||
"bulma": "^1.0.2",
|
"bulma": "^1.0.2",
|
||||||
"feather-icons": "^4.29.2",
|
"feather-icons": "^4.29.2",
|
||||||
"htmx.org": "^1.9.12",
|
"htmx.org": "^1.9.12",
|
||||||
|
"hyperscript.org": "^0.9.14",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.77.8",
|
||||||
"sweetalert2-neutral": "^11.14.1-neutral-fix6"
|
"sweetalert2-neutral": "^11.14.1-neutral-fix6"
|
||||||
}
|
}
|
||||||
@ -960,6 +961,20 @@
|
|||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "0BSD"
|
"license": "0BSD"
|
||||||
},
|
},
|
||||||
|
"node_modules/hyperscript.org": {
|
||||||
|
"version": "0.9.14",
|
||||||
|
"resolved": "https://registry.npmjs.org/hyperscript.org/-/hyperscript.org-0.9.14.tgz",
|
||||||
|
"integrity": "sha512-ugmojsQQUMmXcnwaXYiYf8L3GbeANy/m59EmE/0Z6C5eQ52fOuSrvFkuEIejG9BdpbYB4iTtoYGqV99eYqDVMA==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "BSD 2-Clause",
|
||||||
|
"dependencies": {
|
||||||
|
"markdown-it-deflist": "^2.1.0",
|
||||||
|
"terser": "^5.14.1"
|
||||||
|
},
|
||||||
|
"bin": {
|
||||||
|
"_hyperscript": "src/node-hyperscript.js"
|
||||||
|
}
|
||||||
|
},
|
||||||
"node_modules/immutable": {
|
"node_modules/immutable": {
|
||||||
"version": "5.0.3",
|
"version": "5.0.3",
|
||||||
"resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz",
|
"resolved": "https://registry.npmjs.org/immutable/-/immutable-5.0.3.tgz",
|
||||||
@ -1042,6 +1057,13 @@
|
|||||||
"node": ">=6.11.5"
|
"node": ">=6.11.5"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"node_modules/markdown-it-deflist": {
|
||||||
|
"version": "2.1.0",
|
||||||
|
"resolved": "https://registry.npmjs.org/markdown-it-deflist/-/markdown-it-deflist-2.1.0.tgz",
|
||||||
|
"integrity": "sha512-3OuqoRUlSxJiuQYu0cWTLHNhhq2xtoSFqsZK8plANg91+RJQU1ziQ6lA2LzmFAEes18uPBsHZpcX6We5l76Nzg==",
|
||||||
|
"dev": true,
|
||||||
|
"license": "MIT"
|
||||||
|
},
|
||||||
"node_modules/merge-stream": {
|
"node_modules/merge-stream": {
|
||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz",
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
"bulma": "^1.0.2",
|
"bulma": "^1.0.2",
|
||||||
"feather-icons": "^4.29.2",
|
"feather-icons": "^4.29.2",
|
||||||
"htmx.org": "^1.9.12",
|
"htmx.org": "^1.9.12",
|
||||||
|
"hyperscript.org": "^0.9.14",
|
||||||
"sass": "^1.77.8",
|
"sass": "^1.77.8",
|
||||||
"sweetalert2-neutral": "^11.14.1-neutral-fix6"
|
"sweetalert2-neutral": "^11.14.1-neutral-fix6"
|
||||||
},
|
},
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
<script src="/static/htmx.min.js"></script>
|
<script src="/static/htmx.min.js"></script>
|
||||||
<script src="/static/response-targets.js"></script>
|
<script src="/static/response-targets.js"></script>
|
||||||
<script src="/static/sweetalert2.min.js"></script>
|
<script src="/static/sweetalert2.min.js"></script>
|
||||||
|
<script src="/static/_hyperscript.min.js"></script>
|
||||||
<script type="module" src="/static/utils.js"></script>
|
<script type="module" src="/static/utils.js"></script>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user