加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
package.json 2.20 KB
一键复制 编辑 原始数据 按行查看 历史
X.Q. Chen 提交于 2021-08-01 12:43 . feat: 增加lint限制
{
"name": "vue-devui",
"version": "0.0.1",
"license": "MIT",
"description": "DevUI components based on Vite and Vue3",
"main": "vue-devui.umd.js",
"module": "vue-devui.es.js",
"style": "style.css",
"scripts": {
"dev": "vite",
"build": "vite build",
"build:lib": "vite build --config vite.config.build.ts && cp package.json dist",
"test": "jest --config jest.config.js",
"ls-lint": "ls-lint",
"lint": "eslint \"{src,devui}/**/*.{vue,js,ts,jsx,tsx}\"",
"lint:fix": "eslint --fix \"{src,devui}/**/*.{vue,js,ts,jsx,tsx}\"",
"stylelint": "stylelint --fix \"{devui,src}/**/*.{scss,css}\"",
"convert:route": "node ./scripts/convert-component-route.js",
"publish": "cd dist && npm publish"
},
"dependencies": {
"@types/lodash-es": "^4.17.4",
"lodash-es": "^4.17.20",
"vue": "^3.1.1",
"vue-router": "^4.0.3"
},
"devDependencies": {
"@babel/preset-env": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@commitlint/cli": "^11.0.0",
"@commitlint/config-conventional": "^11.0.0",
"@ls-lint/ls-lint": "^1.10.0",
"@types/jest": "^26.0.23",
"@typescript-eslint/eslint-plugin": "^4.27.0",
"@typescript-eslint/parser": "^4.27.0",
"@vitejs/plugin-vue": "^1.0.4",
"@vitejs/plugin-vue-jsx": "^1.1.0",
"@vue/babel-plugin-jsx": "^1.0.6",
"@vue/compiler-sfc": "^3.0.5",
"@vue/test-utils": "^2.0.0-rc.9",
"@vuedx/typecheck": "^0.4.1",
"@vuedx/typescript-plugin-vue": "^0.4.1",
"babel-jest": "^27.0.2",
"commander": "^7.1.0",
"eslint": "^7.28.0",
"eslint-plugin-vue": "^7.11.1",
"husky": "^4.3.7",
"jest": "^27.0.4",
"lint-staged": "^11.0.0",
"sass": "^1.32.2",
"shelljs": "^0.8.4",
"stylelint": "^13.13.1",
"stylelint-config-recommended-scss": "^4.3.0",
"stylelint-config-standard": "^22.0.0",
"stylelint-scss": "^3.20.1",
"typescript": "^4.1.3",
"vite": "^2.0.5",
"vite-plugin-md": "^0.6.0"
},
"husky": {
"hooks": {
"pre-commit": "ls-lint && lint-staged",
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
},
"lint-staged": {
"{src,devui}/**/*.{js,ts,jsx,tsx,vue}": "eslint --fix",
"{src,devui}/**/*.{scss,css}": "stylelint --fix"
}
}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化