package.json 1.79 KB
{
  "name": "@zb100/${projectName}",
  "version": "1.0.0",
  "description": "${description}",
  "dependencies": {},
  "devDependencies": {
    "@commitlint/cli": "^8.2.0",
    "@commitlint/config-conventional": "^8.2.0",
    "@typescript-eslint/eslint-plugin": "^2.11.0",
    "@typescript-eslint/parser": "^2.11.0",
    "commitizen": "^4.0.3",
    "cz-conventional-changelog": "^3.0.2",
    "eslint": "^6.7.2",
    "eslint-config-airbnb-base": "^14.0.0",
    "eslint-plugin-import": "^2.19.1",
    "fsevents": "1.2.9",
    "gulp": "^4.0.2",
    "gulp-less": "^4.0.1",
    "gulp-rename": "^2.0.0",
    "gulp-typescript": "^6.0.0-alpha.1",
    "husky": "^3.1.0",
    "lint-staged": "^9.5.0",
    "miniprogram-api-typings": "^2.9.3",
    "standard-version": "^7.0.1",
    "typescript": "^3.7.3"
  },
  "scripts": {
    "dev": "gulp",
    "commit": "npx git-cz",
    "release": "standard-version",
    "lint-staged": "lint-staged",
    "lint-staged:js": "eslint --ext .ts --max-warnings 0"
  },
  "repository": {
    "type": "git",
    "url": "ssh://git@gitlab.zb100.com:10022/mui/${repo}.git"
  },
  "author": "${author}",
  "license": "ISC",
  "config": {
    "commitizen": {
      "path": "./node_modules/cz-conventional-changelog"
    }
  },
  "husky": {
    "hooks": {
      "pre-commit": "npm run lint-staged"
    }
  },
  "publishConfig": {
    "registry": "https://npm.registry.zb100.com"
  },
  "lint-staged": {
    "**/*.{ts}": "npm run lint-staged:js"
  },
  "standard-version": {
    "commitUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/commit/{{hash}}",
    "compareUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/compare/{{previousTag}}...{{currentTag}}",
    "issueUrlFormat": "https://gitlab.zb100.com/mui/{{repository}}/issues/{{id}}",
    "userUrlFormat": "https://gitlab.zb100.com/{{user}}"
  }
}