build(demo): build package before demo

This commit is contained in:
Rafael Bardini 2021-11-05 19:13:33 +01:00
parent eafab9d8a5
commit eb17bcfdd5
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@
"scripts": {
"build": "microbundle build --target node",
"postbuild": "cp -r resume.hbs partials style.css dist",
"prebuild:demo": "npm run build",
"build:demo": "mkdir -p public && cat node_modules/resume-schema/sample.resume.json | ./bin/cli.js > public/index.html",
"format": "prettier --ignore-path .gitignore .",
"lint": "eslint --ignore-path .gitignore .",