@rookie4show/onmyoji-flow
v0.1.4
Published
Onmyoji flow editor - standalone and embeddable component
Readme
onmyoji-flow
onmyoji-flow is a standalone flow editor and embeddable Vue component package.
Package
- npm name:
@rookie4show/onmyoji-flow - style entry:
@rookie4show/onmyoji-flow/style.css
Local Development
npm install
npm run devBuild
# library build for npm publish
npm run build:lib
# app build (output: dist-app)
npm run build:app
# app build for GitHub Pages (/onmyoji-flow/, output: dist-app)
npm run build:pagesQuality Gates
npm test
npm run lint
npm run typecheck
npm run format:checkUse as Vue Component
import { YysEditorEmbed, YysEditorPreview } from '@rookie4show/onmyoji-flow'
import '@rookie4show/onmyoji-flow/style.css'Publish to npm
npm login
npm run build:lib
npm publishDeploy to GitHub Pages
build-pages.yml is the only workflow now.
It builds on master branch push and deploys dist-app to GitHub Pages automatically.
In repository settings, set Pages source to GitHub Actions.
