Add npm script task for building the heynote lezer grammar

This commit is contained in:
Jonatan Heyman 2023-01-12 18:58:06 +01:00
parent fc8c4a55a0
commit 7a39cb44a4

View File

@ -21,7 +21,8 @@
"scripts": {
"dev": "vite",
"build": "vue-tsc --noEmit && vite build && electron-builder",
"preview": "vite preview"
"preview": "vite preview",
"build_grammar": "lezer-generator src/editor/lang-heynote/heynote.grammar -o src/editor/lang-heynote/parser.js"
},
"devDependencies": {
"@codemirror/commands": "^6.1.2",