|
59 | 59 | "validate": "yarn run format:check && yarn run lint:check && yarn run build && yarn run test:coverage",
|
60 | 60 | "fix": "yarn run format:fix && yarn run lint:fix",
|
61 | 61 | "preversion": "yarn run validate",
|
62 | | - "version": "git add -A package.json" |
| 62 | + "version": "git add -A package.json", |
| 63 | + "prepare": "husky install" |
63 | 64 | },
|
64 | 65 | "bin": {
|
65 | 66 | "diff2html": "./bin/diff2html"
|
66 | 67 | },
|
67 | 68 | "main": "./lib/diff2html.js",
|
68 | 69 | "types": "./lib/diff2html.d.ts",
|
69 | | - "husky": { |
70 | | - "hooks": { |
71 | | - "pre-commit": "lint-staged" |
72 | | - } |
73 | | - }, |
74 | 70 | "lint-staged": {
|
75 | 71 | "**/*.+(js|jsx|ts|tsx|json)": [
|
76 | 72 | "prettier --write",
|
|
85 | 81 | },
|
86 | 82 | "dependencies": {
|
87 | 83 | "clipboardy": "^2.3.0",
|
88 | | - "diff2html": "^3.4.14", |
89 | | - "node-fetch": "^2.6.0", |
90 | | - "open": "^7.0.3", |
91 | | - "yargs": "^16.1.0" |
| 84 | + "diff2html": "^3.4.19", |
| 85 | + "node-fetch": "^2.6.7", |
| 86 | + "open": "^8.4.0", |
| 87 | + "yargs": "^17.6.0" |
92 | 88 | },
|
93 | 89 | "devDependencies": {
|
94 | | - "@types/hogan.js": "^3.0.0", |
95 | | - "@types/jest": "26.0.14", |
96 | | - "@types/node": "14.11.10", |
97 | | - "@types/node-fetch": "^2.5.6", |
98 | | - "@types/request": "2.48.5", |
99 | | - "@typescript-eslint/eslint-plugin": "4.4.1", |
100 | | - "@typescript-eslint/parser": "4.4.1", |
101 | | - "eslint": "7.11.0", |
102 | | - "eslint-config-prettier": "6.13.0", |
103 | | - "eslint-plugin-import": "2.22.1", |
104 | | - "eslint-plugin-jest": "24.1.0", |
105 | | - "eslint-plugin-json": "2.1.2", |
| 90 | + "@types/hogan.js": "^3.0.1", |
| 91 | + "@types/jest": "29.1.2", |
| 92 | + "@types/node": "18.11.0", |
| 93 | + "@types/node-fetch": "^2.6.2", |
| 94 | + "@types/request": "2.48.8", |
| 95 | + "@typescript-eslint/eslint-plugin": "5.40.0", |
| 96 | + "@typescript-eslint/parser": "5.40.0", |
| 97 | + "eslint": "8.25.0", |
| 98 | + "eslint-config-prettier": "8.5.0", |
| 99 | + "eslint-plugin-import": "2.26.0", |
| 100 | + "eslint-plugin-jest": "27.1.2", |
| 101 | + "eslint-plugin-json": "3.1.0", |
106 | 102 | "eslint-plugin-node": "11.1.0",
|
107 | | - "eslint-plugin-optimize-regex": "1.2.0", |
108 | | - "eslint-plugin-promise": "4.2.1", |
109 | | - "eslint-plugin-sonarjs": "0.5.0", |
110 | | - "husky": "4.3.0", |
111 | | - "is-ci-cli": "2.1.2", |
112 | | - "jest": "26.5.3", |
113 | | - "lint-staged": "10.4.1", |
| 103 | + "eslint-plugin-optimize-regex": "1.2.1", |
| 104 | + "eslint-plugin-promise": "6.1.0", |
| 105 | + "eslint-plugin-sonarjs": "0.16.0", |
| 106 | + "husky": "8.0.1", |
| 107 | + "is-ci-cli": "2.2.0", |
| 108 | + "jest": "29.2.0", |
| 109 | + "lint-staged": "13.0.3", |
114 | 110 | "markdown-toc": "^1.2.0",
|
115 | | - "prettier": "2.1.2", |
116 | | - "ts-jest": "26.4.1", |
117 | | - "typescript": "4.0.3" |
| 111 | + "prettier": "2.7.1", |
| 112 | + "ts-jest": "29.0.3", |
| 113 | + "typescript": "4.8.4" |
118 | 114 | },
|
119 | 115 | "license": "MIT",
|
120 | 116 | "files": [
|
|
0 commit comments