mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 09:57:00 +01:00
Updated scripts.
This commit is contained in:
parent
ed22d33d97
commit
e58aa9e90f
@ -9,7 +9,9 @@
|
|||||||
"dev": "next dev -p 8000",
|
"dev": "next dev -p 8000",
|
||||||
"build": "next build",
|
"build": "next build",
|
||||||
"start": "next start",
|
"start": "next start",
|
||||||
"build-script": "rollup -c"
|
"build-script": "rollup -c",
|
||||||
|
"build-schema": "prisma introspect",
|
||||||
|
"build-client": "prisma generate"
|
||||||
},
|
},
|
||||||
"lint-staged": {
|
"lint-staged": {
|
||||||
"**/*.js": [
|
"**/*.js": [
|
||||||
|
File diff suppressed because one or more lines are too long
@ -106,7 +106,6 @@ if (script) {
|
|||||||
|
|
||||||
const removeEvents = () => {
|
const removeEvents = () => {
|
||||||
listeners.forEach(([element, type, listener]) => {
|
listeners.forEach(([element, type, listener]) => {
|
||||||
console.log('removed', element.tagName, type);
|
|
||||||
element.removeEventListener(type, listener, true);
|
element.removeEventListener(type, listener, true);
|
||||||
});
|
});
|
||||||
listeners.length = 0;
|
listeners.length = 0;
|
||||||
|
Loading…
Reference in New Issue
Block a user