{
    "name": "@yicode/yiapi-template",
    "version": "3.18.0",
    "description": "易接口模板",
    "main": "yiapi.js",
    "type": "module",
    "private": false,
    "publishConfig": {
        "access": "public",
        "registry": "https://registry.npmjs.org"
    },
    "scripts": {
        "release": "release-it",
        "dev": "nodemon --config=nodemon.json",
        "build": "pm2 start pm2.config.cjs",
        "syncCoreDb:dev": "node --env-file=env/.development.env ./scripts/syncCoreDatabase.js",
        "syncCoreDb:build": "node --env-file=env/.production.env ./scripts/syncCoreDatabase.js",
        "flamegraph": "pnpm dlx rimraf .cache/0x & pnpm dlx 0x --output-dir=.cache/0x --output-html={outputDir}/index.html -- node --env-file=env/.development.env yiapi.js"
    },
    "keywords": [
        "api",
        "nodejs",
        "fastify"
    ],
    "author": "chensuiyi <bimostyle@qq.com>",
    "homepage": "https://yicode.tech",
    "repository": {
        "type": "git",
        "url": "https://github.com/yicode-team/yicode.git"
    },
    "dependencies": {
        "@yicode/yiapi": "^3.18.0",
        "lodash-es": "^4.17.21"
    },
    "devDependencies": {
        "@commitlint/cli": "^19.2.1",
        "@yicode/commit-lint": "^1.1.0",
        "lint-staged": "^15.2.2",
        "nodemon": "^3.1.0",
        "prettier": "^3.2.5",
        "release-it": "^17.1.1",
        "simple-git-hooks": "^2.11.0"
    },
    "simple-git-hooks": {
        "commit-msg": "pnpm commitlint --edit ${1}",
        "pre-commit": "pnpm lint-staged"
    },
    "lint-staged": {
        "*.{js,css,scss,less,ts,jsx,vue,html,json,md,yaml}": "prettier --write"
    },
    "commitlint": {
        "extends": [
            "@yicode/commit-lint"
        ]
    }
}
