@maoshizhong/chess
Version:
Simple code-only Chessboard written in TypeScript. Handles FEN and PGN.
52 lines (51 loc) • 1.49 kB
JSON
{
"name": "@maoshizhong/chess",
"version": "2.2.1",
"author": "MaoShizhong",
"description": "Simple code-only Chessboard written in TypeScript. Handles FEN and PGN.",
"repository": {
"type": "git",
"url": "git+https://github.com/MaoShizhong/chess.git"
},
"license": "MIT",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"files": [
"./dist/*"
],
"engines": {
"node": ">=18"
},
"keywords": [
"chess",
"chessboard",
"FEN",
"PGN"
],
"scripts": {
"build": "npm run lint && npm run format:check -- . && tsc -p tsconfig.prod.json && vite build",
"check": "npm run lint && npm run format:check -- . && tsc --noEmit",
"dev": "vite-node --watch ./src/index.ts",
"format": "prettier --write",
"format:check": "prettier --check",
"lint": "eslint .",
"prepublishOnly": "npm run build",
"start": "node ./dist/index.js",
"test": "vitest",
"test:once": "vitest run"
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@types/node": "^22.10.5",
"eslint": "^9.17.0",
"globals": "^15.14.0",
"prettier": "^3.4.2",
"ts-cleaner": "^1.0.5",
"typescript": "^5.7.2",
"typescript-eslint": "^8.19.1",
"vite": "^6.2.2",
"vite-node": "^3.0.5",
"vite-plugin-dts": "^4.5.0",
"vitest": "^3.0.5"
}
}