From db77259f83f05af397b9ed52cf2953d8196187ec Mon Sep 17 00:00:00 2001 From: jaywcjlove <398188662@qq.com> Date: Wed, 12 Jan 2022 16:27:24 +0800 Subject: [PATCH] chore(deps): update dependency kkt to v7. https://github.com/kktjs/kkt/issues/198 Upgrade react-scripts to v5, Support Webpack 5.x --- package.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/package.json b/package.json index 1949c91..e961f75 100644 --- a/package.json +++ b/package.json @@ -5,10 +5,11 @@ "description": "A simple web page that responds to the pressed key and returns information about the JavaScript'on-key press' key.", "private": true, "scripts": { + "prepare": "husky install", "start": "kkt start", "build": "kkt build", "test": "kkt test --env=jsdom", - "test:coverage": "kkt test --env=jsdom --coverage", + "test:coverage": "kkt test --env=jsdom --coverage --bail", "prettier": "prettier --write '**/*.{js,jsx,tsx,ts,less,md,json}'" }, "repository": { @@ -25,14 +26,13 @@ "react-json-view": "1.21.3" }, "devDependencies": { - "@kkt/less-modules": "6.11.0", - "@types/jest": "27.0.2", - "@types/react": "17.0.24", - "@types/react-dom": "17.0.9", - "husky": "7.0.2", - "kkt": "6.11.0", - "lint-staged": "11.1.2", - "prettier": "2.4.1" + "@kkt/less-modules": "7.0.5", + "@types/react": "17.0.38", + "@types/react-dom": "17.0.11", + "husky": "7.0.4", + "kkt": "7.0.5", + "lint-staged": "12.1.7", + "prettier": "2.5.1" }, "lint-staged": { "*.{js,jsx,tsx,ts,less,md,json}": [