UNPKG

eslint-config-mts

Version:
104 lines (103 loc) 4.07 kB
{ "name": "eslint-config-mts", "version": "0.0.2", "description": "MLT ESLint 规则", "main": "index.js", "scripts": { "start": "npm run dev", "dev": "run-p dev:eslintrc dev:site", "dev:eslintrc": "nodemon", "dev:site": "parcel site/index.html --out-dir .cache", "build": "run-s build:eslintrc build:site", "build:eslintrc": "ts-node scripts/build.ts", "build:site": "run-s clear:dist build:html", "clear:dist": "rimraf ./dist", "build:html": "parcel build site/index.html --public-url ./", "test": "npm run lint && ts-node ./test/index.ts && npm run test:rulesCoverage", "test:rulesCoverage": "ts-node ./scripts/rulesCoverage.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 \"./**/*\"", "update": "npm install --save-dev @types/cookie@latest @types/doctrine@latest @types/eslint@latest @types/node@latest @types/prettier@latest @types/react@latest @types/react-dom@latest @types/react-tooltip@latest @types/rimraf@latest @types/xml-escape@latest @typescript-eslint/eslint-plugin@latest @typescript-eslint/parser@latest babel-eslint@latest cookie@latest doctrine@latest eslint@latest eslint-config-prettier@latest eslint-plugin-react@latest eslint-plugin-vue@latest husky@latest insert-tag@latest mobi-plugin-color@latest mobi.css@latest nodemon@latest npm-run-all@latest parcel-bundler@latest prettier@latest react@latest react-dom@latest react-tooltip@latest rimraf@latest ts-node@latest typescript@latest vue-eslint-parser@latest xml-escape@latest" }, "repository": { "type": "git", "url": "git+https://git-ext.mininglamp.com/sia-bi/fe/eslint-config-mlt.git" }, "keywords": [ "eslint", "eslintrc", "eslintconfig", "config", "alloy", "alloyteam", "javascript", "styleguide", "react", "vue", "typescript" ], "author": "Aubree <ruoweiys14@gmail.com>", "contributors": [], "license": "MIT", "bugs": { "url": "https://git-ext.mininglamp.com/sia-bi/fe/eslint-config-mlt/issues" }, "homepage": "http://test.hulu.team/eslint/config/alloy", "publishConfig": { "access": "public" }, "husky": { "hooks": { "pre-commit": "npm test", "pre-push": "npm test" } }, "dependencies": {}, "devDependencies": { "@types/cookie": "^0.4.0", "@types/doctrine": "0.0.3", "@types/eslint": "^7.2.4", "@types/node": "^14.11.8", "@types/prettier": "^2.1.2", "@types/react": "^16.9.52", "@types/react-dom": "^16.9.8", "@types/react-tooltip": "^4.2.4", "@types/rimraf": "^3.0.0", "@types/xml-escape": "^1.1.0", "@typescript-eslint/eslint-plugin": "^4.4.1", "@typescript-eslint/parser": "^4.4.1", "babel-eslint": "^10.1.0", "cookie": "^0.4.1", "doctrine": "^3.0.0", "eslint": "^7.11.0", "eslint-config-prettier": "^6.12.0", "eslint-plugin-jsdoc": "^30.7.8", "eslint-plugin-prettier": "^3.1.4", "eslint-plugin-react": "^7.21.4", "eslint-plugin-react-hooks": "^4.2.0", "eslint-plugin-vue": "^6.2.2", "husky": "^4.3.0", "insert-tag": "^0.1.2", "mobi-plugin-color": "^1.0.0", "mobi.css": "^3.1.1", "nodemon": "^2.0.5", "npm-run-all": "^4.1.5", "parcel-bundler": "^1.12.4", "prettier": "^2.2.0", "react": "^16.14.0", "react-dom": "^16.14.0", "react-tooltip": "^4.2.10", "rimraf": "^3.0.2", "ts-node": "^9.0.0", "typescript": "^4.0.3", "vue-eslint-parser": "^7.1.1", "xml-escape": "^1.1.0" }, "greenkeeper": { "ignore": [ "ts-node" ] } }