加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
package.json 4.17 KB
一键复制 编辑 原始数据 按行查看 历史
xcatliu 提交于 2022-07-08 07:57 . fix: run eslint in examples
{
"name": "eslint-config-alloy",
"version": "4.6.2",
"description": "AlloyTeam ESLint 规则",
"keywords": [
"eslint",
"eslintrc",
"eslintconfig",
"config",
"alloy",
"alloyteam",
"javascript",
"styleguide",
"react",
"vue",
"typescript"
],
"homepage": "https://alloyteam.github.io/eslint-config-alloy/",
"bugs": {
"url": "https://github.com/AlloyTeam/eslint-config-alloy/issues"
},
"license": "MIT",
"author": "xcatliu <xcatliu@gmail.com>",
"contributors": [
"heyli <lcxfs1991@gmail.com>",
"Xuing <admin@xuing.cn>",
"Dash Chen <dc3671@users.noreply.github.com>",
"DiamondYuan <admin@diamondyuan.com>",
"Roy Revelt <roy@codsen.com>",
"Swan <1021808625@qq.com>",
"kenve <zwei.xie@gmail.com>",
"lzw <mingxin2014@gmail.com>",
"ryoliu <sfesh@163.com>",
"sunhui04 <sunhui04@meituan.com>",
"zoubingwu <zoubingwu@gmail.com>"
],
"main": "index.js",
"repository": {
"type": "git",
"url": "git+https://github.com/AlloyTeam/eslint-config-alloy.git"
},
"scripts": {
"start": "pnpm dev",
"dev": "run-p dev:*",
"dev:eslintrc": "nodemon",
"dev:copyfiles": "pnpm build:copyfiles && chokidar \"site/public/**/*\" -c \"pnpm build:copyfiles\"",
"dev:webpack-dev-server": "webpack serve --open",
"build": "run-s build:*",
"build:eslintrc": "ts-node scripts/build.ts",
"build:clean": "rimraf dist",
"build:copyfiles": "copyfiles -u 2 \"site/public/**/*\" dist/public",
"build:site": "webpack",
"clean": "rimraf dist node_modules && pnpm -r exec rm -rf node_modules dist",
"test": "pnpm lint && ts-node ./test/index.ts",
"lint": "run-s eslint prettier",
"eslint": "eslint --ext .js,.jsx,.ts,.tsx,.vue --ignore-pattern \"bad.*\" .",
"prettier": "prettier -l \"./**/*\"",
"prettier:fix": "prettier --write -l \"./**/*\"",
"prepare": "husky install",
"update": "pnpm up --latest",
"rulesCoverage": "ts-node ./scripts/rulesCoverage.ts"
},
"devDependencies": {
"@babel/core": "^7.18.5",
"@babel/eslint-parser": "^7.18.2",
"@babel/preset-react": "^7.17.12",
"@types/cookie": "^0.5.1",
"@types/doctrine": "^0.0.5",
"@types/eslint": "^8.4.3",
"@types/node": "^18.0.0",
"@types/prettier": "^2.6.3",
"@types/react": "^18.0.14",
"@types/react-dom": "^18.0.5",
"@types/rimraf": "^3.0.2",
"@types/xml-escape": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"chokidar-cli": "^3.0.0",
"cookie": "^0.5.0",
"copyfiles": "^2.4.1",
"doctrine": "^3.0.0",
"eslint": "^8.18.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-vue": "^9.1.1",
"html-webpack-plugin": "^5.5.0",
"husky": "^8.0.1",
"insert-tag": "^0.1.2",
"mobi-plugin-color": "^1.0.0",
"mobi.css": "^3.1.1",
"nodemon": "^2.0.18",
"npm-run-all": "^4.1.5",
"prettier": "^2.7.1",
"querystring": "^0.2.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-tooltip": "^4.2.21",
"rimraf": "^3.0.2",
"ts-loader": "^9.3.1",
"ts-node": "^10.8.1",
"typescript": "^4.7.4",
"url": "^0.11.0",
"vue-eslint-parser": "^9.0.3",
"webpack": "^5.73.0",
"webpack-cli": "^4.10.0",
"webpack-dev-server": "^4.9.2",
"xml-escape": "^1.1.0"
},
"peerDependencies": {
"@babel/eslint-parser": "7.x",
"@babel/preset-react": "7.x",
"@typescript-eslint/eslint-plugin": ">=5.29.0",
"@typescript-eslint/parser": "5.x",
"eslint": ">=8.18.0",
"eslint-plugin-react": ">=7.30.1",
"eslint-plugin-vue": ">=9.1.1",
"typescript": "4.x",
"vue-eslint-parser": "9.x"
},
"peerDependenciesMeta": {
"@babel/eslint-parser": {
"optional": true
},
"@babel/preset-react": {
"optional": true
},
"@typescript-eslint/eslint-plugin": {
"optional": true
},
"@typescript-eslint/parser": {
"optional": true
},
"eslint-plugin-react": {
"optional": true
},
"eslint-plugin-vue": {
"optional": true
},
"typescript": {
"optional": true
},
"vue-eslint-parser": {
"optional": true
}
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化