UNPKG

bgio-effects

Version:

📤 Helpers for managing state effects in boardgame.io

115 lines (114 loc) • 3.11 kB
{ "name": "bgio-effects", "version": "0.7.1", "description": "📤 Helpers for managing state effects in boardgame.io", "main": "dist/index.js", "types": "dist/index.d.ts", "files": [ "client/**/*", "dist/**/*", "plugin/**/*", "react/**/*" ], "scripts": { "clean": "rimraf dist", "prebuild": "npm run clean", "build": "tsc", "prerelease": "npm t && npm run build", "release": "standard-version -s", "lint": "eslint src", "prettier": "prettier --write --single-quote src", "pretest": "npm run lint", "test": "jest --coverage --collectCoverageFrom=src/**/*", "prepare": "husky install", "predocs:build": "rm -f bgio-effects-*.tgz && npm run build && npm pack && cd docs && npm i ../bgio-effects-*.tgz && npm i", "docs:build": "cd docs && npm run build" }, "eslintConfig": { "parser": "@typescript-eslint/parser", "plugins": [ "@typescript-eslint" ], "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier", "plugin:react/recommended", "plugin:react-hooks/recommended" ], "rules": { "@typescript-eslint/no-empty-function": "off", "@typescript-eslint/no-explicit-any": "off", "@typescript-eslint/no-non-null-assertion": "off", "@typescript-eslint/no-unused-vars": [ "warn", { "vars": "all", "args": "after-used", "ignoreRestSiblings": false, "argsIgnorePattern": "_.+" } ] }, "settings": { "react": { "version": "detect" } } }, "repository": { "type": "git", "url": "git+https://github.com/delucis/bgio-effects.git" }, "keywords": [ "side-effect", "actor-model", "event", "emitter", "react", "boardgame-io", "plugin" ], "author": "Chris Swithinbank <swithinbank@gmail.com> (http://chrisswithinbank.net/)", "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/delucis/bgio-effects/issues" }, "homepage": "https://delucis.github.io/bgio-effects/", "devDependencies": { "@testing-library/jest-dom": "^5.11.1", "@testing-library/react": "^12.0.0", "@types/jest": "^27.0.1", "@types/react": "^16.9.34", "@typescript-eslint/eslint-plugin": "^5.6.0", "@typescript-eslint/parser": "^5.6.0", "boardgame.io": "^0.49.0", "cz-conventional-changelog": "^3.2.0", "eslint": "^8.4.1", "eslint-config-prettier": "^8.1.0", "eslint-plugin-react": "^7.22.0", "eslint-plugin-react-hooks": "^4.2.0", "husky": "^7.0.0", "jest": "^27.2.0", "prettier": "^2.0.4", "react": "^16.13.1", "react-dom": "^16.13.1", "rimraf": "^3.0.2", "standard-version": "^9.0.0", "ts-jest": "^27.0.5", "typescript": "^4.2" }, "dependencies": { "mitt": "^3.0.0", "ts-toolbelt": "^9" }, "peerDependencies": { "boardgame.io": ">=0.42.0", "react": "^16 || ^17" }, "config": { "commitizen": { "path": "./node_modules/cz-conventional-changelog" } } }