Updated scripts.

This commit is contained in:
Mike Cao 2020-07-19 13:11:08 -07:00
parent ed22d33d97
commit e58aa9e90f
3 changed files with 4 additions and 3 deletions

View File

@ -9,7 +9,9 @@
"dev": "next dev -p 8000",
"build": "next build",
"start": "next start",
"build-script": "rollup -c"
"build-script": "rollup -c",
"build-schema": "prisma introspect",
"build-client": "prisma generate"
},
"lint-staged": {
"**/*.js": [

File diff suppressed because one or more lines are too long

View File

@ -106,7 +106,6 @@ if (script) {
const removeEvents = () => {
listeners.forEach(([element, type, listener]) => {
console.log('removed', element.tagName, type);
element.removeEventListener(type, listener, true);
});
listeners.length = 0;