{
  "name": "sand-bff",
  "version": "1.0.0",
  "description": "sand通用的bff应用",
  "main": "./src/app.js",
  "author": "jianghe",
  "license": "MIT",
  "engines": {
    "node": ">=10.16.0"
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run ci",
      "commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
    }
  },
  "scripts": {
    "init": "npm run clean && npm i && npm run start",
    "clean": "rm -rf ./node_modules ./dist ./package-lock.json ./coverage ./logs",
    "start": "npm-run-all --parallel --print-label dev:pc dev:bff",
    "dev:bff": "cross-env NODE_ENV=development PORT=9539 nodemon ./app/index.js",
    "prod:bff": "pm2 start ecosystem.config.js --env production",
    "dev:pc": "sand-build start -t webpack",
    "build:bc": "sand-build build -t webpack",
    "lint": "eslint ./src ./app --ext .js,.ts",
    "lint:fix": "npm run lint -- --fix",
    "lint:style": "stylelint \"src/**/*.less\" --syntax less",
    "lint:style:fix": "npm run lint:style -- --fix",
    "test": "jest",
    "ci": "npm run lint:fix && npm run lint:style:fix && npm run lint && npm run lint:style && npm run test"
  },
  "devDependencies": {
    "@commitlint/cli": "^11.0.0",
    "@jianghe/sand-build": "^2.1.0",
    "@jianghe/sand-lint": "^2.1.0",
    "cross-env": "^7.0.2",
    "eslint": "^7.11.0",
    "jest": "^26.5.3",
    "npm-run-all": "^4.1.5",
    "husky": "^4.3.0",
    "stylelint": "^13.7.2"
  },
  "dependencies": {
    "@ant-design/icons": "^4.2.2",
    "@jianghe/sand-core": "^2.1.0",
    "@jianghe/sand-noco": "^2.1.0",
    "antd": "^4.7.0",
    "axios": "^0.20.0",
    "crypto-js": "^4.0.0",
    "debug": "^4.2.0",
    "ioredis": "^4.17.3",
    "jsencrypt": "^3.0.0-rc.1",
    "mysql2": "2.2.5",
    "sequelize": "5.21.13",
    "uuid": "^8.3.1"
  }
}
