add mini build

This commit is contained in:
Felix Roos 2023-01-28 22:16:04 +01:00
parent 657091307e
commit be44c28fd3
3 changed files with 28 additions and 1 deletions

View file

@ -4,9 +4,14 @@
"description": "Mini notation for strudel",
"main": "index.mjs",
"type": "module",
"publishConfig": {
"main": "dist/index.js",
"module": "dist/index.mjs"
},
"scripts": {
"test": "vitest run",
"build:parser": "peggy -o krill-parser.js --format es ./krill.pegjs"
"build:parser": "peggy -o krill-parser.js --format es ./krill.pegjs",
"build": "vite build"
},
"repository": {
"type": "git",
@ -30,6 +35,7 @@
},
"devDependencies": {
"peggy": "^2.0.1",
"vite": "^3.2.2",
"vitest": "^0.25.7"
}
}