UNPKG

chess-legal-moves

Version:

Analyses a given chess game position in Fen notation to return legal moves and provides the next game position after a given move

56 lines (55 loc) 1.71 kB
{ "name": "chess-legal-moves", "version": "2.3.2", "description": "Analyses a given chess game position in Fen notation to return legal moves and provides the next game position after a given move", "main": "dist/index.js", "files": [ "dist/*" ], "types": "dist/index.d.ts", "author": { "name": "Colin Faivre", "email": "colin.faivre@gmail.com", "url": "https://lelaboratoiredespossibles.com" }, "license": "MIT", "repository": { "type": "git", "url": "https://github.com/colinfaivre/chess-legal-moves.git" }, "bugs": { "url": "https://github.com/colinfaivre/chess-legal-moves/issues", "email": "colin.faivre@gmail.com" }, "homepage": "https://github.com/colinfaivre/chess-legal-moves", "scripts": { "build": "tsc", "dev": "npm run build --watch --preserveWatchOutput", "test:unit": "jest", "lint": "eslint src --ext js,ts", "format": "prettier --ignore-path .gitignore --write \"**/*.+(js|ts|json)\"", "extract:local": "npm run build && api-extractor run --local", "document": "npm run build && api-documenter markdown -i temp -o docs" }, "devDependencies": { "@babel/core": "^7.15.8", "@babel/preset-env": "^7.15.8", "@babel/preset-typescript": "^7.15.0", "@microsoft/api-documenter": "^7.13.63", "@microsoft/api-extractor": "^7.18.16", "@types/jest": "^27.0.2", "@typescript-eslint/eslint-plugin": "^5.0.0", "@typescript-eslint/parser": "^5.0.0", "babel-jest": "^27.2.4", "eslint": "^7.32.0", "eslint-config-prettier": "^8.5.0", "jest": "^27.2.4", "prettier": "^2.6.2", "typescript": "^4.6.4" }, "keywords": [ "Chess", "Game", "FEN" ] }