thaw-reversi-engine.ts
Version:
A Node.js Reversi (Othello) game engine with alpha-beta pruning and a heuristic, packaged for npm.
106 lines (105 loc) • 3.47 kB
JSON
{
"name": "thaw-reversi-engine.ts",
"version": "0.3.0",
"description": "A Node.js Reversi (Othello) game engine with alpha-beta pruning and a heuristic, packaged for npm.",
"keywords": [
"Othello",
"Reversi",
"TypeScript"
],
"private": false,
"homepage": "https://github.com/tom-weatherhead/thaw-reversi-engine.ts#readme",
"repository": "github:tom-weatherhead/thaw-reversi-engine.ts",
"bugs": {
"url": "https://github.com/tom-weatherhead/thaw-reversi-engine.ts/issues"
},
"// browser": "",
"main": "lib/main.js",
"types": "lib/main.d.ts",
"files": [
"lib/**/*"
],
"bin": {},
"man": [],
"directories": {
"lib": "lib",
"// bin": "It is an error to specify both bin and directories.bin",
"man": "man",
"// doc": "Put markdown files in the directories.doc directory",
"doc": "doc",
"example": "examples",
"test": "test"
},
"scripts": {
"all": "npm run travis && npm pack && npm run deploy",
"// allw": "rmdir /Q /S coverage & rmdir /Q /S lib & npm run lint & npm run build & npm test & npm pack & move /Y thaw-reversi-engine.ts-*.tgz C:\\git\\npm-packages\\",
"travis": "npm run rebuild-online",
"rebuild-offline": "npm run clean-offline && npm run build-and-test",
"clean-offline": "rm -rf coverage && rm -rf lib",
"rebuild-online": "npm run clean-online && npm i && npm run build-and-test",
"clean-online": "npm run clean-offline && rm -rf node_modules && rm -f package-lock.json",
"build-and-test": "npm run lint && npm run prettiercheck && npm run build && npm test",
"prettiercheck": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\"",
"format": "prettier --write \"src/**/*.ts\" \"test/**/*.ts\"",
"lint": "eslint . --ext .js --ext .ts",
"build": "rm -rf lib; tsc",
"test": "jest",
"deploy": "eval mv $npm_package_name-$npm_package_version.tgz $(echo $npm_package_config_deploy_target_dir)/",
"prepare": "npm run build",
"prepublishOnly": "npm run lint && npm run prettiercheck && npm test",
"preversion": "npm run lint && npm run prettiercheck",
"version": "npm run format && git add -A src",
"postversion": "git push && git push --tags",
"loc": "git ls-files | grep -v package-lock.json | tr -d '\\r' | tr '\\n' '\\0' | xargs -0 wc -l",
"f": "npm run format && npm run all",
"start": "npm run all"
},
"config": {
"deploy_target_dir": "$NPM_PKG_DIR"
},
"publishConfig": {},
"dependencies": {
"thaw-common-utilities.ts": "^0.0.2"
},
"devDependencies": {
"@babel/core": "^7.11.1",
"@babel/preset-env": "^7.11.0",
"@babel/preset-typescript": "^7.10.4",
"@types/eslint": "^7.2.0",
"@types/jest": "^26.0.10",
"@types/node": "^14.6.0",
"@typescript-eslint/eslint-plugin": "^3.9.1",
"@typescript-eslint/parser": "^3.9.1",
"codecov": "^3.7.2",
"eslint": "^7.7.0",
"jest": "^26.4.0",
"prettier": "^2.0.5",
"semver": "^7.3.2",
"typescript": "^3.9.7"
},
"peerDependencies": {},
"// bundledDependencies": "... is an array of package names",
"bundledDependencies": [],
"optionalDependencies": {},
"engines": {
"node": ">= 8"
},
"os": [
"darwin",
"linux",
"win32"
],
"cpu": [
"ia32",
"x64"
],
"contributors": [
"Autonomous Weapons Systems Unlimited <killer@robots.com>",
"Buddy Guy <deadbeef@decafbad.gov>",
"Deprecated <deadc0de@obso1337.org>",
"Locutus <cube@cyb.org>",
"Sgt. Pepper <shoot1st@thinkl8r.mil>"
],
"author": "Tom Weatherhead <thaw@2hrd4u.org> (https://github.com/tom-weatherhead)",
"license": "MIT"
}