@@ -1,6 +1,6 @@
{
"name": "@mi11er/eslint-config",
- "version": "2.2.2",
+ "version": "2.4.1",
"description": "@mi11er/eslint-config combines various plugins and rulesets for use in mi11er.net projects",
"keywords": [
"eslint",
@@ -10,6 +10,10 @@
"bugs": {
"url": "https://github.com/mi11er-net/eslint-config/issues"
},
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/mi11er-net/eslint-config.git"
+ },
"license": "MIT",
"author": "Matthew Miller <matthew@mi11er.net> (https://mi11er.net)",
"contributors": [],
@@ -23,18 +27,17 @@
"rules"
],
"main": "index.js",
- "repository": {
- "type": "git",
- "url": "https://github.com/mi11er-net/eslint-config.git"
- },
"scripts": {
- "precommit": "run-s lint-staged pretty-quick nsp",
+ "audit": "npm-audit-ci -m",
"lint": "eslint --fix .",
"lint-staged": "lint-staged",
- "nsp": "nsp check",
- "semantic-release": "semantic-release",
- "test": "run-s lint",
- "pretty-quick": "pretty-quick --staged"
+ "pretty-quick": "pretty-quick --staged",
+ "test": "run-s lint audit"
+ },
+ "husky": {
+ "hooks": {
+ "pre-commit": "run-s lint-staged pretty-quick audit"
+ }
},
"config": {
"commitizen": {
@@ -42,38 +45,41 @@
}
},
"dependencies": {
- "eslint-config-airbnb": "16.1.0",
- "eslint-config-airbnb-base": "12.1.0",
- "eslint-config-prettier": "2.9.0"
+ "eslint-config-airbnb": "17.1.0",
+ "eslint-config-airbnb-base": "13.1.0",
+ "eslint-config-prettier": "4.1.0"
},
"devDependencies": {
- "@semantic-release/changelog": "2.0.1",
- "@semantic-release/git": "4.0.1",
- "commitizen": "2.9.6",
+ "@capaj/npm-audit-ci": "1.0.5",
+ "@semantic-release/changelog": "3.0.2",
+ "@semantic-release/exec": "3.3.2",
+ "@semantic-release/git": "7.0.8",
+ "commitizen": "3.0.7",
"cz-conventional-changelog": "2.1.0",
- "eslint": "4.19.1",
- "eslint-index": "1.4.0",
- "eslint-plugin-import": "2.10.0",
- "eslint-plugin-jsx-a11y": "6.0.3",
+ "eslint": "5.16.0",
+ "eslint-index": "1.5.0",
+ "eslint-plugin-import": "2.16.0",
+ "eslint-plugin-jsx-a11y": "6.2.1",
"eslint-plugin-no-unsafe-innerhtml": "1.0.16",
- "eslint-plugin-optimize-regex": "1.1.5",
- "eslint-plugin-react": "7.7.0",
+ "eslint-plugin-node": "8.0.1",
+ "eslint-plugin-optimize-regex": "1.1.6",
+ "eslint-plugin-react": "7.12.4",
"eslint-plugin-scanjs-rules": "0.2.1",
"eslint-plugin-security": "1.4.0",
- "husky": "0.14.3",
- "lint-staged": "7.0.2",
- "npm-run-all": "4.1.2",
- "nsp": "3.2.1",
- "prettier": "1.11.1",
- "pretty-quick": "1.4.1",
- "semantic-release": "15.1.4",
- "sort-package-json": "1.11.0"
+ "husky": "1.3.1",
+ "lint-staged": "8.1.5",
+ "npm-run-all": "4.1.5",
+ "prettier": "1.16.4",
+ "pretty-quick": "1.10.0",
+ "semantic-release": "15.13.3",
+ "sort-package-json": "1.22.1"
},
"peerDependencies": {
- "eslint": "^4.19.1",
+ "eslint": "^4.19.1 || ^5.0.0",
"eslint-plugin-import": "^2.10.0",
"eslint-plugin-jsx-a11y": "^6.0.3",
"eslint-plugin-no-unsafe-innerhtml": "^1.0.16",
+ "eslint-plugin-node": "^6.0.1 || ^7.0.0 || ^8.0.0",
"eslint-plugin-optimize-regex": "^1.1.5",
"eslint-plugin-react": "^7.7.0",
"eslint-plugin-scanjs-rules": "^0.2.1",
@@ -94,9 +100,19 @@
"tarballDir": "release"
},
{
+ "path": "@semantic-release/exec",
+ "cmd": "npx sort-package-json"
+ },
+ {
+ "path": "@semantic-release/exec",
+ "cmd": "npx pretty-quick"
+ },
+ {
"path": "@semantic-release/git",
"assets": [
- "**"
+ "package.json",
+ "package-lock.json",
+ "CHANGELOG.md"
]
}
],