UNPKG

react-chess-analysis-board

Version:

React component for a fully featured, stylable chess analysis board.

96 lines (95 loc) 2.45 kB
{ "name": "react-chess-analysis-board", "version": "0.0.21", "description": "React component for a fully featured, stylable chess analysis board.", "license": "GPL-3.0-or-later", "author": "Anurag Angara", "keywords": [ "pgn", "chess", "react", "analysis" ], "files": [ "dist", "README.md" ], "main": "./dist/react-chess-analysis-board.umd.js", "types": "./dist/react-chess-analysis-board.d.ts", "module": "./dist/react-chess-analysis-board.mjs", "exports": { ".": { "import": "./dist/react-chess-analysis-board.mjs", "require": "./dist/react-chess-analysis-board.umd.js", "types": "./dist/react-chess-analysis-board.d.ts" } }, "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview", "test": "vitest run", "watch": "vitest", "coverage": "vitest run --coverage" }, "browserslist": { "production": [ ">0.2%", "not dead", "not op_mini all" ], "development": [ "last 1 chrome version", "last 1 firefox version", "last 1 safari version" ] }, "eslintConfig": { "env": { "browser": true, "node": true, "es2020": true }, "extends": [ "eslint:recommended", "plugin:react/recommended", "typescript" ], "parserOptions": { "sourceType": "module" }, "rules": { "react/react-in-jsx-scope": "off", "@typescript-eslint/ban-types": "off", "@typescript-eslint/no-empty-function": "off" } }, "devDependencies": { "@rollup/plugin-typescript": "^10.0.1", "@testing-library/dom": "^8.19.1", "@testing-library/react": "^13.4.0", "@types/react-test-renderer": "^18.0.0", "@vitejs/plugin-react": "^3.0.0", "c8": "^7.12.0", "eslint": "^8.30.0", "eslint-config-typescript": "^3.0.0", "eslint-plugin-react": "^7.31.11", "jsdom": "^20.0.3", "react": "^18.2.0", "react-dom": "^18.2.0", "react-test-renderer": "^18.2.0", "sass": "^1.57.1", "vite": "^4.0.3", "vite-plugin-dts": "^1.7.1", "vite-plugin-linter": "^2.0.2", "vite-tsconfig-paths": "^4.0.3", "vitest": "^0.26.2" }, "dependencies": { "@fortawesome/fontawesome-svg-core": "^6.5.1", "@fortawesome/free-solid-svg-icons": "^6.5.1", "@fortawesome/react-fontawesome": "^0.2.0", "chess.js": "1.0.0-alpha.0", "react-chessboard": "^1.3.1" } }