|
26 | 26 | }, |
27 | 27 | "repository": { |
28 | 28 | "type": "git", |
29 | | - "url": "https://www.github.com/rtfpessoa/diff2html.git" |
| 29 | + "url": "git://github.com/rtfpessoa/diff2html.git" |
30 | 30 | }, |
31 | 31 | "bugs": { |
32 | 32 | "url": "https://www.github.com/rtfpessoa/diff2html/issues" |
|
48 | 48 | "build:css": "rm -rf ./bundles/css; postcss --config ./postcss.config.js --no-map -o ./bundles/css/diff2html.min.css ./src/ui/css/diff2html.css", |
49 | 49 | "build:templates": "ts-node ./scripts/hulk.ts --wrapper ts --variable 'defaultTemplates' ./src/templates/*.mustache > ./src/diff2html-templates.ts", |
50 | 50 | "build:website": "rm -rf docs; webpack ---display-reasons --display-modules --mode production --config webpack.website.ts", |
51 | | - "build:toc-base": "markdown-toc --maxdepth 3 --bullets='-' -i", |
52 | | - "build:toc": "yarn run build:toc-base README.md", |
| 51 | + "gen": "yarn run gen:toc", |
| 52 | + "gen:toc-base": "markdown-toc --maxdepth 3 --bullets='-' -i", |
| 53 | + "gen:toc": "yarn run gen:toc-base README.md", |
53 | 54 | "test": "is-ci 'test:coverage' 'test:watch'", |
54 | 55 | "test:coverage": "jest --coverage", |
55 | 56 | "test:watch": "jest --watch", |
|
74 | 75 | "lint-staged": { |
75 | 76 | "**/*.+(js|jsx|ts|tsx|json)": [ |
76 | 77 | "prettier --write", |
77 | | - "eslint --fix", |
78 | | - "git add" |
| 78 | + "eslint --fix" |
79 | 79 | ], |
80 | 80 | "**/*.+(css|html|md|mdx)": [ |
81 | | - "prettier --write", |
82 | | - "git add" |
| 81 | + "prettier --write" |
83 | 82 | ], |
84 | 83 | "README.md": [ |
85 | | - "yarn run build:toc-base", |
86 | | - "git add" |
| 84 | + "yarn run gen:toc-base" |
87 | 85 | ] |
88 | 86 | }, |
89 | 87 | "dependencies": { |
90 | 88 | "diff": "4.0.2", |
91 | 89 | "hogan.js": "3.0.2" |
92 | 90 | }, |
93 | 91 | "optionalDependencies": { |
94 | | - "highlight.js": "9.17.1" |
| 92 | + "highlight.js": "9.18.1" |
95 | 93 | }, |
96 | 94 | "devDependencies": { |
97 | 95 | "@types/clipboard": "2.0.1", |
98 | 96 | "@types/copy-webpack-plugin": "5.0.0", |
99 | 97 | "@types/diff": "4.0.2", |
100 | 98 | "@types/highlight.js": "9.12.3", |
101 | 99 | "@types/hogan.js": "3.0.0", |
102 | | - "@types/html-webpack-plugin": "3.2.1", |
103 | | - "@types/jest": "24.9.0", |
| 100 | + "@types/html-webpack-plugin": "3.2.2", |
| 101 | + "@types/jest": "25.1.1", |
104 | 102 | "@types/mini-css-extract-plugin": "0.9.0", |
105 | 103 | "@types/mkdirp": "0.5.2", |
106 | | - "@types/node": "13.1.8", |
| 104 | + "@types/node": "13.7.0", |
107 | 105 | "@types/nopt": "3.0.29", |
108 | | - "@types/webpack": "4.41.2", |
109 | | - "@typescript-eslint/eslint-plugin": "2.16.0", |
110 | | - "@typescript-eslint/parser": "2.16.0", |
| 106 | + "@types/webpack": "4.41.5", |
| 107 | + "@typescript-eslint/eslint-plugin": "2.19.0", |
| 108 | + "@typescript-eslint/parser": "2.19.0", |
111 | 109 | "autoprefixer": "9.7.4", |
112 | 110 | "bulma": "^0.8.0", |
113 | 111 | "clipboard": "2.0.4", |
|
116 | 114 | "css-loader": "3.4.2", |
117 | 115 | "cssnano": "4.1.10", |
118 | 116 | "eslint": "6.8.0", |
119 | | - "eslint-config-prettier": "6.9.0", |
120 | | - "eslint-plugin-import": "2.20.0", |
| 117 | + "eslint-config-prettier": "6.10.0", |
| 118 | + "eslint-plugin-import": "2.20.1", |
121 | 119 | "eslint-plugin-jest": "23.6.0", |
122 | 120 | "eslint-plugin-json": "2.0.1", |
123 | 121 | "eslint-plugin-node": "11.0.0", |
124 | 122 | "eslint-plugin-optimize-regex": "1.1.7", |
125 | 123 | "eslint-plugin-promise": "4.2.1", |
126 | 124 | "eslint-plugin-sonarjs": "0.5.0", |
127 | 125 | "file-loader": "5.0.2", |
128 | | - "handlebars": "4.7.2", |
| 126 | + "handlebars": "4.7.3", |
129 | 127 | "handlebars-loader": "1.7.1", |
130 | 128 | "html-webpack-plugin": "3.2.0", |
131 | | - "husky": "4.0.10", |
| 129 | + "husky": "4.2.1", |
132 | 130 | "image-webpack-loader": "6.0.0", |
133 | 131 | "is-ci-cli": "2.0.0", |
134 | | - "jest": "24.9.0", |
135 | | - "lint-staged": "9.5.0", |
| 132 | + "jest": "25.1.0", |
| 133 | + "lint-staged": "10.0.7", |
136 | 134 | "markdown-toc": "^1.2.0", |
137 | 135 | "mini-css-extract-plugin": "0.9.0", |
138 | | - "mkdirp": "0.5.1", |
| 136 | + "mkdirp": "1.0.3", |
139 | 137 | "nopt": "4.0.1", |
140 | 138 | "postcss": "7.0.26", |
141 | 139 | "postcss-cli": "7.1.0", |
142 | 140 | "postcss-import": "12.0.1", |
143 | 141 | "postcss-loader": "3.0.0", |
144 | 142 | "postcss-preset-env": "6.7.0", |
145 | 143 | "prettier": "1.19.1", |
146 | | - "ts-jest": "24.3.0", |
| 144 | + "ts-jest": "25.2.0", |
147 | 145 | "ts-loader": "6.2.1", |
148 | 146 | "ts-node": "8.6.2", |
149 | 147 | "typescript": "3.7.5", |
150 | 148 | "url-loader": "3.0.0", |
151 | 149 | "webpack": "4.41.5", |
152 | 150 | "webpack-cli": "3.3.10", |
153 | | - "webpack-dev-server": "3.10.1", |
| 151 | + "webpack-dev-server": "3.10.3", |
154 | 152 | "whatwg-fetch": "3.0.0" |
155 | 153 | }, |
156 | 154 | "resolutions": { |
|
0 commit comments