kifu-for-js

v5.0.2
Shogi Kifu viewer for JavaScript
shogi kifu viewer player kifuforjs jkf

dev

webpack-dev-server --open examples/example-v5.html --mode development

lint

eslint ./ && prettier . --check

test

jest

build

NODE_ENV=production webpack --mode=production --env production

ci:cy

start-server-and-test ci:start-server :8081 cy:run:ci

clean

rm -rf ./bundle

cy:run

cypress run

cy:open

cypress open

ghpages

rm -rf ./public && mkdir -p ./public/src && mkdir -p ./public/out & npm run build

lint:fix

eslint ./ --fix && prettier . --write

cy:run:ci

echo "Running Cypress..." && cypress run --config-file cypress.ci.config.ts

typecheck

tsc --project tsconfig.typecheck.json

test:watch

jest --watch

build:watch

webpack --watch

postghpages

cp ./bundle/public-bookmarklet.min.js ./public/src/ && cp ./bundle/*.js ./public/out/ && cp -R examples ./public && cp -R bundle readme-ss public/

build:analyze

webpack --env production --env analyze

build:ghpages

webpack --env production --env ghpages

build:prodLocal

npm run build -- --env prodLocal

ci:start-server

http-server . -p 8081

Metadata

  • MIT
  • Whatever
  • na2hiro
  • released 9/3/2023

Downloads

Maintainers