shogi.js

v5.4.1
simple shogi library for JavaScript
shogi library

clean

rm -rf ./dist ./bundle

build

npm run build:cjs && npm run bundle

bundle

webpack --mode=production

bundle:analyze

webpack --mode=production --env analyze=1

bundle:watch

webpack --mode=development --watch

build:cjs

tsc

lint

eslint ./ && prettier --check .

lint:fix

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

test

jest

test:watch

jest --watch

typecheck

tsc --project tsconfig.typecheck.json

docs

typedoc --exclude '**/__tests__/**/*' ./src/shogi.ts

ghpages

rm -rf ./public && mkdir -p ./public && npm run docs && mv ./docs ./public/
npm i shogi.js

Metadata

  • MIT
  • Whatever
  • na2hiro
  • released 6/10/2024

Downloads

Maintainers