package.json 1.04 KB
{
  "name": "yoho-limited-sell",
  "version": "1.0.0",
  "description": "yoho-limited-sell",
  "main": "app.js",
  "scripts": {
    "lint-css": "stylelint -s scss --cache --custom-formatter ./node_modules/stylelint-formatter-table ./**/*.wxss",
    "lint-js": "eslint --fix --format table --ext .js,.wxs --cache .",
    "lint-all": "echo \"JS: \";npm run -s lint-js;echo \"CSS: \";npm run -s lint-css",
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "*.{js,wxs}": [
      "lint-js -- --fix",
      "git add"
    ],
    "*.{wxss,scss,css}": [
      "lint-css -- --fix",
      "git add"
    ]
  },
  "repository": {
    "type": "git",
    "url": "git@git.yoho.cn:fe/yoho-limited-sell.git"
  },
  "keywords": [
    "yoho"
  ],
  "author": "yoho <fe@yoho.cn> (http://yoho.cn/)",
  "license": "UNLICENSED",
  "devDependencies": {
    "eslint": "^4.16.0",
    "eslint-config-yoho": "^1.0.9",
    "husky": "^0.14.3",
    "lint-staged": "^6.0.1",
    "stylelint": "^8.4.0",
    "stylelint-config-yoho": "^1.2.12",
    "stylelint-formatter-table": "^1.0.4"
  }
}