From 626438b7b60363a75a86413eb90f9361d66db8ac Mon Sep 17 00:00:00 2001 From: Amphiluke Date: Sun, 28 Jan 2024 12:45:56 +0700 Subject: [PATCH] Remove extra dependency --- .husky/pre-commit | 1 - package-lock.json | 16 ---------------- package.json | 4 +--- 3 files changed, 1 insertion(+), 20 deletions(-) delete mode 100644 .husky/pre-commit diff --git a/.husky/pre-commit b/.husky/pre-commit deleted file mode 100644 index 3867a0f..0000000 --- a/.husky/pre-commit +++ /dev/null @@ -1 +0,0 @@ -npm run lint diff --git a/package-lock.json b/package-lock.json index 054b90c..61b90a4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,7 +11,6 @@ "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "eslint": "^8.56.0", - "husky": "^9.0.6", "rollup": "^4.9.6" } }, @@ -913,21 +912,6 @@ "node": ">=8" } }, - "node_modules/husky": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/husky/-/husky-9.0.6.tgz", - "integrity": "sha512-EEuw/rfTiMjOfuL7pGO/i9otg1u36TXxqjIA6D9qxVjd/UXoDOsLor/BSFf5hTK50shwzCU3aVVwdXDp/lp7RA==", - "dev": true, - "bin": { - "husky": "bin.js" - }, - "engines": { - "node": ">=18" - }, - "funding": { - "url": "https://github.com/sponsors/typicode" - } - }, "node_modules/ignore": { "version": "5.3.0", "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.0.tgz", diff --git a/package.json b/package.json index 44723cf..6c7aff3 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,7 @@ "scripts": { "lint": "eslint src/**/*.mjs test/**/*.mjs", "test": "node --test test/potprox.test.mjs test/potentials/", - "build": "rollup -c", - "prepare": "husky" + "build": "rollup -c" }, "files": [ "dist", @@ -43,7 +42,6 @@ "devDependencies": { "@rollup/plugin-terser": "^0.4.4", "eslint": "^8.56.0", - "husky": "^9.0.6", "rollup": "^4.9.6" } }