eslint-formatter-summary
Version:
ESLint summary formatter aggregating results by rule
103 lines (102 loc) • 2.47 kB
JSON
{
"name": "eslint-formatter-summary",
"version": "1.1.0",
"description": "ESLint summary formatter aggregating results by rule",
"main": "index.js",
"author": "Marton Hipszki <mhipszki@gmail.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/mhipszki/eslint-summary-formatter.git"
},
"bugs": {
"url": "https://github.com/mhipszki/eslint-summary-formatter/issues"
},
"engines": {
"node": ">=12"
},
"scripts": {
"lint": "eslint lib/",
"test": "jest",
"test-ci": "yarn lint && jest --coverage && cat ./coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
"clean-dist": "rm -rf dist",
"build": "yarn clean-dist && babel lib/ --out-dir dist/ --ignore lib/__tests__",
"dev": "yarn clean-dist && yarn build -- --watch",
"try": "eslint -f ./index.js",
"release": "np",
"prepublish": "yarn build",
"prettier-write": "prettier --write '**/*.js{,on}'",
"prettier-diff": "prettier --list-different '**/*.js{,on}'"
},
"keywords": [
"eslint",
"eslint-formatter",
"summary",
"formatter",
"javascript",
"linting",
"report"
],
"publishConfig": {
"registry": "https://registry.npmjs.org/"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged",
"pre-push": "yarn lint && yarn test --collectCoverage"
}
},
"lint-staged": {
"*.js": [
"prettier --write",
"eslint",
"jest --forceExit --findRelatedTests"
]
},
"eslintConfig": {
"extends": "eslint:recommended",
"env": {
"node": true,
"es6": true,
"jest": true
},
"parserOptions": {
"ecmaVersion": 10,
"sourceType": "module"
},
"rules": {
"no-console": 0
}
},
"jest": {
"testEnvironment": "node",
"testMatch": [
"**/__tests__/**/*.spec.js"
],
"testPathIgnorePatterns": [
"node_modules",
"dist"
]
},
"dependencies": {
"chalk": "^4.1.0",
"core-js": "^3.9.1"
},
"devDependencies": {
"@babel/cli": "^7.13.10",
"@babel/core": "^7.13.10",
"@babel/preset-env": "^7.13.10",
"babel-jest": "^26.6.3",
"babel-plugin-add-module-exports": "^1.0.2",
"coveralls": "^3.1.0",
"eslint": "^7.21.0",
"husky": "^4.3.0",
"jest": "^26.6.3",
"lint-staged": "^10.5.4",
"prettier": "^2.2.1",
"strip-ansi": "^6.0.0"
},
"optionalDependencies": {
"np": "^7.4.0"
}
}