Mirroar/hivemind

View on GitHub
package.json

Summary

Maintainability
Test Coverage
{
    "name": "screeps-bot-hivemind",
    "version": "2.0.1",
    "description": "",
    "main": "dist/main.js",
    "screeps_bot": true,
    "repository": {
        "type": "git",
        "url": "git://github.com/Mirroar/hivemind.git"
    },
    "author": "David Franke",
    "license": "MIT",
    "bugs": {
        "url": "https://github.com/Mirroar/hivemind/issues"
    },
    "engines": {
        "node": "^16.0"
    },
    "scripts": {
        "build": "rollup -c",
        "test": "xo"
    },
    "devDependencies": {
        "@babel/core": "^7.15.0",
        "@rollup/plugin-commonjs": "^20.0.0",
        "@rollup/plugin-node-resolve": "^13.0.4",
        "@types/lodash": "^3.10.6",
        "@types/node": "^13.13.52",
        "@types/screeps": "^3.3.3",
        "eslint-import-resolver-typescript": "^2.7.1",
        "grunt": "^1.4.1",
        "grunt-screeps": "^1.5.0",
        "grunt-ts": "^6.0.0-beta.22",
        "lodash": "^3.0.0",
        "prettier": "^2.3.2",
        "rollup": "^2.56.2",
        "rollup-plugin-clear": "^2.0.7",
        "rollup-plugin-screeps": "^1.0.1",
        "rollup-plugin-typescript2": "^0.30.0",
        "source-map": "~0.6.1",
        "ts-node": "^10.2.1",
        "typescript": "^4.3.5",
        "xo": "~0.43.0"
    },
    "xo": {
        "rules": {
            "brace-style": "off",
            "@typescript-eslint/brace-style": [
                "error",
                "stroustrup"
            ],
            "comma-dangle": [
                "error",
                "always-multiline"
            ],
            "curly": [
                "error",
                "multi-line"
            ],
            "import/no-unresolved": [
                "error",
                {
                    "ignore": [
                        "relations.local",
                        "settings.local"
                    ]
                }
            ],
            "import/no-unassigned-import": [
                "error",
                {
                    "allow": [
                        "prototype/*",
                        "**/constants"
                    ]
                }
            ],
            "prefer-destructuring": [
                "error",
                {
                    "array": false,
                    "object": false
                }
            ],
            "unicorn/prefer-node-protocol": [
                "off"
            ],
            "unicorn/no-array-callback-reference": [
                "off"
            ],
            "unicorn/no-array-method-this-argument": [
                "off"
            ]
        },
        "globals": [
            "_",
            "Game",
            "Memory"
        ],
        "ignores": [
            "snippets.js",
            "mock/constants.ts",
            "src/utils/Profiler"
        ],
        "settings": {
            "import/resolver": {
                "typescript": {}
            }
        }
    }
}