|
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": {
|
56 | 51 | "arrowParens": "avoid",
|
|
99 | 94 | "@commitlint/cli": "^8.2.0",
|
100 | 95 | "@commitlint/config-conventional": "^8.2.0",
|
101 | 96 | "@schemastore/package": "^0.0.5",
|
102 |
| - "@semantic-release/changelog": "^3.0.5", |
103 |
| - "@semantic-release/git": "^7.0.17", |
| 97 | + "@semantic-release/changelog": "^5.0.1", |
| 98 | + "@semantic-release/git": "^9.0.0", |
104 | 99 | "@types/dedent": "^0.7.0",
|
105 |
| - "@types/jest": "^25.1.0", |
106 |
| - "@types/node": "^12.6.6", |
107 |
| - "@types/prettier": "^1.19.0", |
| 100 | + "@types/jest": "^26.0.0", |
| 101 | + "@types/node": "^14.0.0", |
| 102 | + "@types/prettier": "^2.0.0", |
108 | 103 | "@typescript-eslint/eslint-plugin": "^2.5.0",
|
109 | 104 | "@typescript-eslint/parser": "^2.5.0",
|
110 |
| - "babel-jest": "^25.2.0", |
| 105 | + "babel-jest": "^26.0.1", |
111 | 106 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
112 | 107 | "dedent": "^0.7.0",
|
113 |
| - "eslint": "^5.1.0 || ^6.0.0", |
| 108 | + "eslint": "^5.1.0 || ^6.0.0 || ^7.0.0", |
114 | 109 | "eslint-config-prettier": "^6.5.0",
|
115 | 110 | "eslint-plugin-eslint-comments": "^3.1.2",
|
116 | 111 | "eslint-plugin-eslint-config": "^1.0.2",
|
117 | 112 | "eslint-plugin-eslint-plugin": "^2.0.0",
|
118 | 113 | "eslint-plugin-import": "^2.20.2",
|
119 | 114 | "eslint-plugin-node": "^11.0.0",
|
120 | 115 | "eslint-plugin-prettier": "^3.0.0",
|
121 |
| - "husky": "^3.0.9", |
122 |
| - "jest": "^25.2.0", |
| 116 | + "husky": "^4.2.5", |
| 117 | + "jest": "^26.0.1", |
123 | 118 | "jest-runner-eslint": "^0.9.0",
|
124 |
| - "lint-staged": "^9.4.2", |
125 |
| - "prettier": "^1.19.1", |
126 |
| - "prettylint": "^1.0.0", |
| 119 | + "lint-staged": "^10.2.2", |
| 120 | + "prettier": "^2.0.5", |
127 | 121 | "resolve-from": "^5.0.0",
|
128 | 122 | "rimraf": "^3.0.0",
|
129 |
| - "semantic-release": "^15.13.28", |
| 123 | + "semantic-release": "^17.0.7", |
130 | 124 | "ts-node": "^8.10.1",
|
131 | 125 | "typescript": "^3.5.3"
|
132 | 126 | },
|
|
0 commit comments