UNPKG

board-state

Version:

build turn-based board game state machines with hidden information

47 lines (46 loc) 1.43 kB
{ "name": "board-state", "version": "0.1.3", "description": "build turn-based board game state machines with hidden information", "keywords": [ "boardgames" ], "main": "./dist/main/game.js", "browser": "./dist/browser/game.js", "module": "./dist/module/game.js", "directories": { "example": "examples" }, "files": [ "/dist", "/vendor" ], "scripts": { "build-browser": "cross-env BABEL_ENV=browser babel ./game.js ./vendor-json-delta.js --out-dir ./dist/browser/ --source-maps", "build-module": "cross-env BABEL_ENV=module babel ./game.js ./vendor-json-delta.js --out-dir ./dist/module --source-maps", "build-node": "babel ./game.js ./vendor-json-delta.js --out-dir ./dist/main --source-maps", "build": "npm run clean && npm run build-node && npm run build-browser && npm run build-module", "clean": "shx rm -rf dist", "test": "jest" }, "author": "Adam Biltcliffe", "license": "ISC", "repository": { "type": "git", "url": "https://github.com/adambiltcliffe/board-state.git" }, "dependencies": { "deepcopy": "^2.0.0", "immer": "^3.1.2" }, "devDependencies": { "@babel/cli": "^7.6.0", "@babel/core": "^7.4.5", "@babel/preset-env": "^7.4.5", "babel-jest": "^24.8.0", "cross-env": "^5.2.1", "jest": "^24.8.0", "prettier": "^1.17.1", "shx": "^0.3.2" } }