UNPKG

svelte4-chess

Version:

Fully playable chess component for Svelte 4. Powered by Chess.js logic, Chessground chessboard and optionally Stockfish chess AI.

74 lines (73 loc) 2.15 kB
{ "name": "svelte4-chess", "description": "Fully playable chess component for Svelte 4. Powered by Chess.js logic, Chessground chessboard and optionally Stockfish chess AI.", "keywords": [ "chess", "svelte", "chessground", "chess.js", "stockfish", "chess-engine", "chessboard", "lichess", "ui", "typescript" ], "version": "1.2.9", "license": "GPL-3.0", "homepage": "https://github.com/LiamKrenn/svelte4-chess", "bugs": "https://github.com/LiamKrenn/svelte4-chess/issues", "scripts": { "dev": "vite dev", "build": "vite build && npm run package", "preview": "vite preview", "package": "svelte-kit sync && svelte-package && publint", "prepublishOnly": "npm run package", "check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json", "check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch", "lint": "eslint .", "test": "vitest", "coverage": "vitest run --coverage" }, "exports": { ".": { "types": "./dist/index.d.ts", "svelte": "./dist/index.js" } }, "files": [ "dist", "!dist/**/*.test.*", "!dist/**/*.spec.*" ], "peerDependencies": {}, "devDependencies": { "@sveltejs/adapter-static": "^2.0.3", "@sveltejs/kit": "^1.30.4", "@sveltejs/package": "^2.3.9", "@testing-library/svelte": "^4.2.3", "@testing-library/user-event": "^14.6.1", "@typescript-eslint/eslint-plugin": "^5.62.0", "@typescript-eslint/parser": "^5.62.0", "@vitest/coverage-v8": "^0.34.6", "@vitest/web-worker": "^0.33.0", "eslint": "^8.57.1", "eslint-plugin-svelte": "^2.46.1", "jsdom": "^22.1.0", "publint": "^0.2.12", "svelte-check": "^3.8.6", "tslib": "^2.8.1", "typescript": "^5.7.3", "vite": "^4.5.9", "vitest": "^0.33.0" }, "svelte": "./dist/index.js", "types": "./dist/index.d.ts", "type": "module", "dependencies": { "chess.js": "1.0.0", "chessground": "^9.1.1", "svelte": "4.2.19", "svelte4-chessground": "^3.0.1" } }