UNPKG

eslint-config-alloy

Version:
108 lines (107 loc) 4.1 kB
{ "name": "eslint-config-alloy", "version": "4.5.1", "description": "AlloyTeam ESLint 规则", "main": "index.js", "scripts": { "start": "npm run dev", "dev": "run-p dev:*", "dev:eslintrc": "nodemon", "dev:copyfiles": "npm run build:copyfiles && chokidar \"site/public/**/*\" -c \"npm run 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", "test": "npm run 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": "npm install --save-dev @babel/eslint-parser@latest @babel/preset-react@latest @types/cookie@latest @types/doctrine@latest @types/eslint@latest @types/node@latest @types/prettier@latest @types/react@latest @types/react-dom@latest @types/rimraf@latest @types/xml-escape@latest @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest chokidar-cli@latest cookie@latest copyfiles@latest doctrine@latest eslint@7 eslint-config-prettier@latest eslint-plugin-react@latest eslint-plugin-vue@latest html-webpack-plugin@latest husky@latest insert-tag@latest mobi-plugin-color@latest mobi.css@latest nodemon@latest npm-run-all@latest prettier@latest react@latest react-dom@latest react-tooltip@latest rimraf@latest ts-loader@latest ts-node@latest typescript@latest vue-eslint-parser@latest webpack@latest webpack-cli@latest webpack-dev-server@latest xml-escape@latest", "rulesCoverage": "ts-node ./scripts/rulesCoverage.ts" }, "repository": { "type": "git", "url": "git+https://github.com/AlloyTeam/eslint-config-alloy.git" }, "keywords": [ "eslint", "eslintrc", "eslintconfig", "config", "alloy", "alloyteam", "javascript", "styleguide", "react", "vue", "typescript" ], "author": "xcatliu <xcatliu@gmail.com>", "contributors": [ "heyli <lcxfs1991@gmail.com>", "Swan <noreply@github.com>", "DiamondYuan <admin@diamondyuan.com>", "Dash Chen <noreply@github.com>", "lzw <mingxin2014@gmail.com>", "ryoliu <sfesh@163.com>", "sunhui04 <sunhui04@meituan.com>" ], "license": "MIT", "bugs": { "url": "https://github.com/AlloyTeam/eslint-config-alloy/issues" }, "homepage": "https://alloyteam.github.io/eslint-config-alloy/", "publishConfig": { "access": "public" }, "devDependencies": { "@babel/core": "^7.15.5", "@babel/eslint-parser": "^7.17.0", "@babel/preset-react": "^7.16.7", "@types/cookie": "^0.4.1", "@types/doctrine": "^0.0.5", "@types/eslint": "^8.4.1", "@types/node": "^17.0.18", "@types/prettier": "^2.4.4", "@types/react": "^17.0.39", "@types/react-dom": "^17.0.11", "@types/rimraf": "^3.0.2", "@types/xml-escape": "^1.1.0", "@typescript-eslint/eslint-plugin": "^5.12.0", "@typescript-eslint/parser": "^5.12.0", "chokidar-cli": "^3.0.0", "cookie": "^0.4.2", "copyfiles": "^2.4.1", "doctrine": "^3.0.0", "eslint": "^7.32.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-react": "^7.28.0", "eslint-plugin-vue": "^8.4.1", "html-webpack-plugin": "^5.5.0", "husky": "^7.0.4", "insert-tag": "^0.1.2", "mobi-plugin-color": "^1.0.0", "mobi.css": "^3.1.1", "nodemon": "^2.0.15", "npm-run-all": "^4.1.5", "prettier": "^2.5.1", "querystring": "^0.2.1", "react": "^17.0.2", "react-dom": "^17.0.2", "react-tooltip": "^4.2.21", "rimraf": "^3.0.2", "ts-loader": "^9.2.6", "ts-node": "^10.5.0", "typescript": "^4.5.5", "url": "^0.11.0", "vue-eslint-parser": "^8.2.0", "webpack": "^5.69.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.7.4", "xml-escape": "^1.1.0" } }