UNPKG

goban

Version:

[![License: Apache-2.0](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/online-go/goban)

115 lines (114 loc) 3.91 kB
{ "name": "goban", "version": "8.3.226", "description": "", "main": "build/goban.js", "types": "build/src/index.d.ts", "files": [ "build/" ], "keywords": [ "go", "baduk", "igo", "weiqi", "online-go", "ogs", "goban" ], "scripts": { "dev": "webpack-cli serve", "build-debug": "webpack", "build-production": "webpack --mode production", "dts": "dts-bundle-generator -o lib/goban.d.ts src/index.ts", "dts-engine": "dts-bundle-generator -o engine/goban-engine.d.ts src/engine/index.ts", "detect-duplicate-code": "jscpd --ignore '**/board_woods.ts' --ignore-pattern '.*place.*StoneSVG.*' --min-tokens 50 src/", "lint": "eslint src/", "lint:fix": "eslint --fix src/", "typedoc": "typedoc --plugin typedoc-plugin-missing-exports src/index.ts ", "typedoc:watch": "typedoc --watch src/index.ts", "prettier": "prettier --write \"src/**/*.{ts,tsx}\"", "prettier:check": "prettier --check \"src/**/*.{ts,tsx}\"", "checks": "npm run lint && npm run prettier:check", "test": "jest", "spellcheck": "cspell \"src/**/*.{ts,tsx}\"", "test-coverage-summary": "jest --coverage --coverageReporters=text-summary" }, "repository": { "type": "git", "url": "git+https://github.com/online-go/goban.git" }, "author": "Akita Noek <anoek@online-go.com> (https://online-go.com/)", "license": "Apache-2.0", "bugs": { "url": "https://github.com/online-go/goban/issues" }, "homepage": "https://github.com/online-go/goban#readme", "devDependencies": { "@eslint/compat": "^1.4.0", "@eslint/eslintrc": "^3.3.1", "@eslint/js": "9.38.0", "@stylistic/eslint-plugin": "^5.5.0", "@tony.ganchev/eslint-plugin-header": "^3.1.8", "@types/cli-color": "^2.0.6", "@types/jest": "^29.5.12", "@types/node": "^24.9.1", "@types/react": "^19.2.13", "@types/react-dom": "^19.2.3", "@typescript-eslint/eslint-plugin": "^8.46.2", "@typescript-eslint/parser": "^8.46.2", "bufferutil": "^4.0.7", "canvas": "^3.1.0", "cli-color": "^2.0.4", "cspell": "^9.2.2", "dts-bundle-generator": "^9.5.1", "eslint": "9.38.0", "eslint-config-prettier": "10.1.8", "eslint-plugin-jsdoc": "^61.1.9", "eslint-plugin-prefer-arrow": "^1.2.3", "eslint-plugin-prettier": ">=5.2.1", "eslint-plugin-react-hooks": "^7.0.1", "eslint-plugin-unicorn": "^62.0.0", "fork-ts-checker-webpack-plugin": "^9.0.0", "globals": "^16.4.0", "husky": "^9.1.7", "jest": "^29.7.0", "jest-environment-jsdom": "^29.7.0", "jest-transform-stub": "^2.0.0", "jest-websocket-mock": "^2.5.0", "jscpd": "^4.0.1", "lint-staged": "^16.2.6", "prettier": "3.6.2", "prettier-eslint": "^16.4.2", "react": "19.2.4", "react-dom": "19.2.4", "react-router": "^7.9.4", "react-router-dom": "7.9.4", "svg-inline-loader": "0.8.2", "thread-loader": "^3.0.4", "ts-jest": "^29.4.5", "ts-loader": "^9.5.1", "ts-node": "^10.9.2", "tsconfig-paths": "^4.2.0", "typedoc": "^0.25.13", "typedoc-plugin-missing-exports": "^2.3.0", "typescript": "=5.5.4", "utf-8-validate": "^6.0.3", "webpack": "^5.89.0", "webpack-cli": "^5.1.4", "webpack-dev-server": "^4.13.1" }, "overrides": { "react": "$react", "react-dom": "$react-dom" }, "dependencies": { "eventemitter3": "^5.0.0" }, "lint-staged": { "src/**/*.{ts,tsx}": [ "eslint", "cspell" ] } }