diff --git a/package.json b/package.json index ff710a4a..770fcdbd 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "repl": "cd website && npm run dev", "osc": "cd packages/osc && npm run server", "build": "cd website && npm run build", - "preview": "npx serve ./out", + "preview": "cd website && npm run preview", "deploy": "NODE_DEBUG=gh-pages gh-pages -d out", "jsdoc": "jsdoc packages/ -c jsdoc.config.json", "jsdoc-json": "jsdoc packages/ --template ./node_modules/jsdoc-json --destination doc.json -c jsdoc.config.json", diff --git a/packages/mini/krill-parser.js b/packages/mini/krill-parser.js index 3ebdba76..e37a3d05 100644 --- a/packages/mini/krill-parser.js +++ b/packages/mini/krill-parser.js @@ -282,9 +282,7 @@ function peg$parse(input, options) { var peg$f11 = function(a) { return x => x.options_['ops'].push({ type_: "degradeBy", arguments_ :{ amount:a } }) }; var peg$f12 = function(s, ops) { const result = new ElementStub(s, {ops: [], weight: 1, reps: 1}); for (const op of ops) { - console.log("hmm"); op(result); - console.log("ha"); } return result; };