代码拉取完成,页面将自动刷新
{
"name": "miniprogram-ts-less-quickstart",
"version": "1.0.0",
"description": "微信小程序模板",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"eslint": "eslint . --ext .ts,.wxs",
"eslint:fix": "eslint --fix . --ext .ts,.wxs",
"prettier:fix": "prettier --config .prettierrc.js --write \"./miniprogram/**/*.{ts,wxs,wxss,wxml,scss,json,md}\"",
"format:fix": "npm-run-all -s prettier:fix eslint:fix",
"commit": "git-cz",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0 && git add CHANGELOG.md"
},
"devDependencies": {
"babel-eslint": "10.0.3",
"commitizen": "4.2.1",
"conventional-changelog-cli": "2.1.0",
"cz-conventional-changelog": "3.3.0",
"eslint": "6.7.1",
"eslint-config-alloy": "3.7.1",
"eslint-config-prettier": "6.10.0",
"eslint-plugin-prettier": "3.1.4",
"husky": "4.3.0",
"lint-staged": "10.3.0",
"npm-run-all": "4.1.5",
"prettier": "2.0.5",
"prettier-eslint-cli": "5.0.0"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.{ts,wxs,sjs}": [
"prettier --config .prettierrc.js --write",
"eslint --fix --ext .ts"
],
"*.{json,wxml,axml,css,wxss,acss,wxml,axml,less,scss,md}": "prettier --config .prettierrc.js --write"
},
"config": {
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
}
}
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。