From 6e679a277f956da2f689b00d0a80ace9226e67ec Mon Sep 17 00:00:00 2001 From: Lexus Drumgold Date: Sun, 10 Oct 2021 21:42:32 -0400 Subject: [PATCH] chore(scripts): update - `clean:build`, `postinstall`, `check:style` --- package.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 432f0159..367e2aef 100644 --- a/package.json +++ b/package.json @@ -56,16 +56,15 @@ "module": "./esm/tutils.min.mjs", "typings": "./types/tutils.d.ts", "scripts": { - "clean:build": "rimraf ./(cjs|esm)", + "clean:build": "rimraf ./(cjs|esm|types)", "clean:modules": "rimraf ./node_modules", "clean:yarn": "rimraf .yarn/cache .yarn/*.gz", "clean": "concurrently \"yarn:clean:*\"", - "bootstrap:husky": "chmod +x .husky/commit-msg .husky/pre-commit", - "postinstall": "is-ci || yarn bootstrap:husky && husky install", + "postinstall": "is-ci || chmod +x .husky/* && husky install", "check:dedupe": "yarn dedupe --check", "check:format": "prettier --check .", "check:install": "yarn dlx @yarnpkg/doctor .", - "check:style": "eslint . --ext cjs,md,js,ts", + "check:style": "eslint . --ext cjs,md,mjs,ts", "check:upgrades": "yarn upgrade-interactive", "fix:format": "prettier --write .", "fix:style": "yarn check:style --fix --cache",