refactor: more cleanup (#195)

* build: unused dep, add prepack

* docs: unused badge
This commit is contained in:
Marc Cataford 2021-03-19 17:15:57 -04:00 committed by GitHub
parent 5c1ec76feb
commit 19cafbf7f9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 4 deletions

View file

@ -7,7 +7,6 @@
[![codecov](https://codecov.io/gh/mcataford/packwatch/branch/master/graph/badge.svg)](https://codecov.io/gh/mcataford/packwatch) [![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) ![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 ## Overview

View file

@ -27,7 +27,8 @@
"url": "https://github.com/mcataford/packwatch.git" "url": "https://github.com/mcataford/packwatch.git"
}, },
"scripts": { "scripts": {
"prebuild": "rimraf dist", "prepack": "yarn build",
"prebuild": "rm -rf dist",
"build": "babel src/index.ts src/cli.ts -d dist --extensions .ts", "build": "babel src/index.ts src/cli.ts -d dist --extensions .ts",
"lint": "eslint src/**/*.ts", "lint": "eslint src/**/*.ts",
"lint:fix": "yarn lint --fix", "lint:fix": "yarn lint --fix",
@ -55,7 +56,6 @@
"eslint-plugin-prettier": "^3.1.2", "eslint-plugin-prettier": "^3.1.2",
"jest": "^26.0.1", "jest": "^26.0.1",
"prettier": "^2.0.5", "prettier": "^2.0.5",
"rimraf": "^3.0.2",
"typescript": "^4.1.3" "typescript": "^4.1.3"
} }
} }

View file

@ -5592,7 +5592,6 @@ __metadata:
eslint-plugin-prettier: ^3.1.2 eslint-plugin-prettier: ^3.1.2
jest: ^26.0.1 jest: ^26.0.1
prettier: ^2.0.5 prettier: ^2.0.5
rimraf: ^3.0.2
typescript: ^4.1.3 typescript: ^4.1.3
bin: bin:
packwatch: ./dist/cli.js packwatch: ./dist/cli.js