加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 2.42 KB
一键复制 编辑 原始数据 按行查看 历史
东方小月 提交于 2023-05-24 13:53 . feat: add lint-staged
{
"name": "easyest",
"version": "1.0.0",
"description": "",
"main": "index.js",
"type": "module",
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,vue}": [
"eslint --ext .js,.jsx,.vue,.ts,.tsx --fix --quiet ./",
"stylelint --fix \"packages/components/src/**/*.{css,less}\""
]
},
"scripts": {
"build:easyest": "gulp -f packages/components/script/build/index.ts & pnpm run --filter ./packages/utils build",
"publish:easyest": "gulp -f packages/components/script/publish/index.ts",
"publish:easayestutils": "gulp -f packages/utils/publish/index.ts",
"docs:dev": "pnpm run --filter site docs:dev",
"docs:build": "pnpm run --filter site docs:build",
"docs:deploy": "pnpm run --filter site docs:deploy",
"easyest:dev": "pnpm run --filter ./play dev",
"lint:script": "eslint --ext .js,.jsx,.vue,.ts,.tsx --fix --quiet ./",
"lint:style": "stylelint --fix \"packages/components/src/**/*.{css,less}\"",
"prepare": "husky install",
"lint-staged": "lint-staged"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@commitlint/cli": "^17.6.3",
"@commitlint/config-conventional": "^17.6.3",
"@types/gulp": "^4.0.10",
"@types/gulp-autoprefixer": "^0.0.33",
"@types/gulp-less": "^0.0.32",
"@types/node": "^18.13.0",
"@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"@vitejs/plugin-legacy": "^4.0.1",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/runtime-core": "^3.2.47",
"@vue/test-utils": "^2.3.1",
"c8": "^7.13.0",
"eslint": "^8.35.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-vue": "^9.9.0",
"gulp": "^4.0.2",
"gulp-autoprefixer": "^8.0.0",
"gulp-less": "^5.0.0",
"happy-dom": "^8.9.0",
"husky": "^8.0.3",
"less": "^4.1.3",
"postcss-html": "^1.5.0",
"prettier": "^2.8.4",
"release-it": "^15.6.0",
"stylelint": "^15.2.0",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-recess-order": "^4.0.0",
"stylelint-config-recommended-less": "^1.0.4",
"stylelint-config-recommended-vue": "^1.4.0",
"stylelint-config-standard": "^30.0.1",
"stylelint-prettier": "^3.0.0",
"sucrase": "^3.29.0",
"typescript": "^4.9.5",
"unplugin-vue-define-options": "^1.2.1",
"vite": "^3.0.9",
"vite-plugin-dts": "^1.4.1",
"vitest": "^0.29.2",
"vue": "^3.2.36"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化