|
28 | 28 | "scripts": {
|
29 | 29 | "prepare": "yarn build && yarn postbuild",
|
30 | 30 | "lint": "eslint . --ignore-pattern '!.eslintrc.js' --ext js,ts",
|
31 |
| - "prettylint": "prettylint docs/**/*.md README.md package.json", |
| 31 | + "prettier:check": "prettier --check docs/**/*.md README.md package.json renovate.json", |
| 32 | + "prettier:write": "prettier --write docs/**/*.md README.md package.json renovate.json", |
32 | 33 | "prepublishOnly": "yarn build",
|
33 | 34 | "pretest": "yarn build",
|
34 | 35 | "test": "jest",
|
|
47 | 48 | "@commitlint/cli": "^8.2.0",
|
48 | 49 | "@commitlint/config-conventional": "^8.2.0",
|
49 | 50 | "@schemastore/package": "^0.0.5",
|
50 |
| - "@semantic-release/changelog": "^3.0.5", |
51 |
| - "@semantic-release/git": "^7.0.17", |
| 51 | + "@semantic-release/changelog": "^5.0.1", |
| 52 | + "@semantic-release/git": "^9.0.0", |
52 | 53 | "@types/eslint": "^6.1.3",
|
53 | 54 | "@types/jest": "^25.1.0",
|
54 |
| - "@types/node": "^12.6.6", |
| 55 | + "@types/node": "^13.13.5", |
55 | 56 | "@typescript-eslint/eslint-plugin": "^2.5.0",
|
56 | 57 | "@typescript-eslint/parser": "^2.5.0",
|
57 |
| - "babel-jest": "^25.2.0", |
| 58 | + "babel-jest": "^26.0.1", |
58 | 59 | "babel-plugin-replace-ts-export-assignment": "^0.0.2",
|
59 |
| - "eslint": "^5.1.0 || ^6.0.0", |
| 60 | + "eslint": "^5.1.0 || ^6.0.0 || ^7.0.0", |
60 | 61 | "eslint-config-prettier": "^6.5.0",
|
61 | 62 | "eslint-plugin-eslint-comments": "^3.1.2",
|
62 | 63 | "eslint-plugin-eslint-plugin": "^2.0.0",
|
63 | 64 | "eslint-plugin-import": "^2.20.2",
|
64 | 65 | "eslint-plugin-node": "^11.0.0",
|
65 | 66 | "eslint-plugin-prettier": "^3.0.0",
|
66 |
| - "husky": "^3.0.9", |
67 |
| - "jest": "^25.2.0", |
68 |
| - "jest-runner-eslint": "^0.7.1", |
69 |
| - "lint-staged": "^9.4.2", |
70 |
| - "prettier": "^1.19.1", |
71 |
| - "prettylint": "^1.0.0", |
| 67 | + "husky": "^4.2.5", |
| 68 | + "jest": "^26.0.1", |
| 69 | + "jest-runner-eslint": "^0.8.0", |
| 70 | + "lint-staged": "^10.2.2", |
| 71 | + "prettier": "^2.0.5", |
72 | 72 | "resolve-from": "^5.0.0",
|
73 | 73 | "rimraf": "^3.0.0",
|
74 |
| - "semantic-release": "^15.13.28", |
| 74 | + "semantic-release": "^17.0.7", |
75 | 75 | "typescript": "^3.5.3"
|
76 | 76 | },
|
77 | 77 | "prettier": {
|
| 78 | + "arrowParens": "avoid", |
| 79 | + "endOfLine": "auto", |
78 | 80 | "proseWrap": "always",
|
79 | 81 | "singleQuote": true,
|
80 | 82 | "trailingComma": "all"
|
81 | 83 | },
|
82 | 84 | "lint-staged": {
|
83 |
| - "*.{js,ts}": [ |
84 |
| - "eslint --fix", |
85 |
| - "git add" |
86 |
| - ], |
87 |
| - "*.{md,json}": [ |
88 |
| - "prettier --write", |
89 |
| - "git add" |
90 |
| - ] |
| 85 | + "*.{js,ts}": "eslint --fix", |
| 86 | + "*.{md,json}": "prettier --write" |
91 | 87 | },
|
92 | 88 | "jest": {
|
93 | 89 | "coverageThreshold": {
|
|
0 commit comments