shogi.js
v5.4.1 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/