json-kifu-format

v5.4.1
JSON棋譜フォーマット(JKF)の定義とその関連ライブラリ
shogi json kifu format jkf

clean

rm -rf ./bundle ./dist

build

webpack --mode=production

build:analyze

npm run build -- --env analyze

build:watch

webpack --watch

lint

eslint ./ && prettier --check .

lint:fix

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

test

jest

test:watch

jest --watch

typecheck

tsc --project tsconfig.typecheck.json --noEmit

docs

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

ghpages

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

schema:compile

ajv compile --spec=draft2020 --strict-tuples=false -s specification/json-kifu-format.schema.json

schema:validate

ajv validate --spec=draft2020 --strict-tuples=false -s specification/json-kifu-format.schema.json -d 'specification/files/*.json'
npm i json-kifu-format

Metadata

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

Downloads

Maintainers