kifu-for-js

v3.0.4
Shogi Kifu viewer for JavaScript
shogi kifu viewer player kifuforjs jkf

ci

run-s lint ci:build ci:test

lint

tslint -p ./

test

jest

build

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

start

webpack-dev-server --open example.html --mode development

ci:test

run-p --aggregate-output test ci:test:cypress

ci:build

npm run build -- --env ci

lint:fix

prettier ./src/** --write && tslint -p ./ --fix

test:watch

jest --watch

build:watch

webpack --watch

cypress:run

cypress run

cypress:open

cypress open

build:analyze

webpack --env production --env analyze

build:ghpages

webpack --env production --env ghpages

cypress:run:ci

cypress run --config-file cypress.ci.json

deploy:ghpages

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

prepublishOnly

npm run build

ci:start-server

http-server . -p 8081

ci:test:cypress

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

postdeploy:ghpages

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

Metadata

  • MIT
  • Whatever
  • na2hiro
  • released 10/2/2022

Downloads

Maintainers