{
    "name": "alloy-worker",
    "version": "1.4.0",
    "description": "面向事务的高可用 Web Worker 通信框架",
    "keywords": [
        "Web",
        "Worker",
        "Channel",
        "Message"
    ],
    "author": "AlloyTeam",
    "license": "MIT",
    "main": "index.js",
    "types": "lib/typings/index.d.ts",
    "bin": {
        "alloy-worker": "src/command/index.js"
    },
    "scripts": {
        "test": "cross-env NODE_ENV=test jest -c script/test/base.js",
        "test:lint-staged": "cross-env NODE_ENV=test jest -c script/test/base.js --findRelatedTests",
        "dev": "cross-env NODE_ENV=development node ./script/build.js",
        "dist": "cross-env NODE_ENV=production node ./script/build.js",
        "type": "mkdir -p lib && cp -r src/typings lib/",
        "plugin": "mkdir -p lib && cp -r src/plugin lib/",
        "prepublishOnly": "npm run plugin && npm run type",
        "release": "standard-version",
        "ts-check": "tsc --noEmit",
        "commit": "git-cz",
        "prettier": "prettier --write 'src/**/*.{js,ts}'",
        "eslint": "eslint 'src/**/*.{js,ts}'"
    },
    "devDependencies": {
        "@babel/core": "^7.9.0",
        "@babel/plugin-transform-runtime": "^7.9.0",
        "@babel/preset-env": "^7.9.0",
        "@commitlint/cli": "^8.3.5",
        "@commitlint/config-conventional": "^8.3.4",
        "@types/jest": "^26.0.21",
        "@types/node": "^14.14.10",
        "@typescript-eslint/eslint-plugin": "^4.4.1",
        "@typescript-eslint/parser": "^4.4.1",
        "babel-loader": "^8.1.0",
        "commitizen": "^4.0.3",
        "cross-env": "^7.0.2",
        "cz-conventional-changelog": "^3.1.0",
        "eslint": "^7.3.1",
        "eslint-config-alloy": "^3.7.3",
        "html-webpack-plugin": "^3.2.0",
        "husky": "^4.2.3",
        "jest": "^26.6.3",
        "lint-staged": "^10.0.9",
        "loader-utils": "^2.0.0",
        "prettier": "^2.0.2",
        "standard-version": "^9.1.1",
        "ts-jest": "^26.4.4",
        "ts-loader": "^6.2.1",
        "typescript": "^3.8.3",
        "webpack": "^4.42.0"
    },
    "dependencies": {
        "commander": "^2.7.0",
        "core-js": "^3.6.4",
        "regenerator-runtime": "^0.13.5"
    },
    "lint-staged": {
        "src/**/*.{js,ts}": [
            "prettier --write",
            "eslint --fix",
            "npm run test:lint-staged"
        ]
    },
    "husky": {
        "hooks": {
            "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
            "pre-commit": "npm run ts-check && lint-staged"
        }
    },
    "config": {
        "commitizen": {
            "path": "cz-conventional-changelog"
        }
    }
}
