1 Star 0 Fork 0

模板工程/wx-mini-templet

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 1.42 KB
一键复制 编辑 原始数据 按行查看 历史
yuzhenjing 提交于 2024-06-24 18:58 . fix: js update to ts
{
"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"
}
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/template-engineering/wx-mini-templet.git
git@gitee.com:template-engineering/wx-mini-templet.git
template-engineering
wx-mini-templet
wx-mini-templet
master

搜索帮助