From 19cafbf7f9412db7ec45ce9872e04d5fafbd9818 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Fri, 19 Mar 2021 17:15:57 -0400 Subject: [PATCH] refactor: more cleanup (#195) * build: unused dep, add prepack * docs: unused badge --- README.md | 1 - package.json | 4 ++-- yarn.lock | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4fce90d..1661d74 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,6 @@ [![codecov](https://codecov.io/gh/mcataford/packwatch/branch/master/graph/badge.svg)](https://codecov.io/gh/mcataford/packwatch) ![packwatch CI](https://github.com/mcataford/packwatch/workflows/packwatch%20CI/badge.svg) -[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release) ## Overview diff --git a/package.json b/package.json index ecabcef..ab55f51 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,8 @@ "url": "https://github.com/mcataford/packwatch.git" }, "scripts": { - "prebuild": "rimraf dist", + "prepack": "yarn build", + "prebuild": "rm -rf dist", "build": "babel src/index.ts src/cli.ts -d dist --extensions .ts", "lint": "eslint src/**/*.ts", "lint:fix": "yarn lint --fix", @@ -55,7 +56,6 @@ "eslint-plugin-prettier": "^3.1.2", "jest": "^26.0.1", "prettier": "^2.0.5", - "rimraf": "^3.0.2", "typescript": "^4.1.3" } } diff --git a/yarn.lock b/yarn.lock index eb964ae..65cc5b4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -5592,7 +5592,6 @@ __metadata: eslint-plugin-prettier: ^3.1.2 jest: ^26.0.1 prettier: ^2.0.5 - rimraf: ^3.0.2 typescript: ^4.1.3 bin: packwatch: ./dist/cli.js