|
25 | 25 | "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
26 | 26 | "prepare": "yarn build && yarn postbuild",
|
27 | 27 | "prepublishOnly": "yarn build",
|
28 |
| - "prettylint": "prettylint docs/**/*.md README.md package.json", |
| 28 | + "prettier:check": "prettier --check docs/**/*.md README.md package.json renovate.json", |
| 29 | + "prettier:write": "prettier --write docs/**/*.md README.md package.json renovate.json", |
29 | 30 | "pretest": "yarn build",
|
30 | 31 | "test": "jest",
|
31 | 32 | "tools:generate-rules-table": "ts-node -T tools/generate-rules-table",
|
|
43 | 44 | ]
|
44 | 45 | },
|
45 | 46 | "lint-staged": {
|
46 |
| - "*.{js,ts}": [ |
47 |
| - "eslint --fix", |
48 |
| - "git add" |
49 |
| - ], |
50 |
| - "*.{md,json}": [ |
51 |
| - "prettier --write", |
52 |
| - "git add" |
53 |
| - ] |
| 47 | + "*.{js,ts}": "eslint --fix", |
| 48 | + "*.{md,json}": "prettier --write" |
54 | 49 | },
|
55 | 50 | "prettier": {
|
| 51 | + "arrowParens": "avoid", |
| 52 | + "endOfLine": "auto", |
56 | 53 | "proseWrap": "always",
|
57 | 54 | "singleQuote": true,
|
58 | 55 | "trailingComma": "all"
|
|
97 | 94 | "@commitlint/cli": "^8.2.0",
|
98 | 95 | "@commitlint/config-conventional": "^8.2.0",
|
99 | 96 | "@schemastore/package": "^0.0.5",
|
100 |
| - "@semantic-release/changelog": "^3.0.5", |
101 |
| - "@semantic-release/git": "^7.0.17", |
| 97 | + "@semantic-release/changelog": "^5.0.1", |
| 98 | + "@semantic-release/git": "^9.0.0", |
102 | 99 | "@types/eslint": "^6.1.3",
|
103 | 100 | "@types/jest": "^25.1.0",
|
104 |
| - "@types/node": "^12.6.6", |
| 101 | + "@types/node": "^13.13.5", |
105 | 102 | "@typescript-eslint/eslint-plugin": "^2.5.0",
|
106 | 103 | "@typescript-eslint/parser": "^2.5.0",
|
107 |
| - "babel-jest": "^25.2.0", |
| 104 | + "babel-jest": "^26.0.1", |
108 | 105 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
109 |
| - "eslint": "^5.1.0 || ^6.0.0", |
| 106 | + "eslint": "^5.1.0 || ^6.0.0 || ^7.0.0", |
110 | 107 | "eslint-config-prettier": "^6.5.0",
|
111 | 108 | "eslint-plugin-eslint-comments": "^3.1.2",
|
112 | 109 | "eslint-plugin-eslint-plugin": "^2.0.0",
|
113 | 110 | "eslint-plugin-import": "^2.20.2",
|
114 | 111 | "eslint-plugin-node": "^11.0.0",
|
115 | 112 | "eslint-plugin-prettier": "^3.0.0",
|
116 |
| - "husky": "^3.0.9", |
117 |
| - "jest": "^25.2.0", |
| 113 | + "husky": "^4.2.5", |
| 114 | + "jest": "^26.0.1", |
118 | 115 | "jest-runner-eslint": "^0.8.0",
|
119 |
| - "lint-staged": "^9.4.2", |
120 |
| - "prettier": "^1.19.1", |
121 |
| - "prettylint": "^1.0.0", |
| 116 | + "lint-staged": "^10.2.2", |
| 117 | + "prettier": "^2.0.5", |
122 | 118 | "resolve-from": "^5.0.0",
|
123 | 119 | "rimraf": "^3.0.0",
|
124 |
| - "semantic-release": "^15.13.28", |
| 120 | + "semantic-release": "^17.0.7", |
125 | 121 | "ts-node": "^8.10.1",
|
126 | 122 | "typescript": "^3.5.3"
|
127 | 123 | },
|
|
0 commit comments