From 940554560e748bb5d6e59d1b669c543da7c679f7 Mon Sep 17 00:00:00 2001 From: MillenniumEarl Date: Mon, 8 Mar 2021 12:40:01 +0100 Subject: [PATCH] Update scripts --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 81463b5..320b62d 100644 --- a/package.json +++ b/package.json @@ -24,11 +24,11 @@ ], "scripts": { "lint": "eslint . --ext .ts", - "prettier-format": "prettier --config .prettierrc '**/*.ts' --write", - "ts:compile": "tsc", - "tests": "mocha --require ts-node/register test/**/*.ts", + "prettier-format": "prettier --config .prettierrc '{src,test}/**/*.ts' --write", + "compile": "tsc", + "test": "mocha --require ts-node/register test/**/*.ts", "publish": "npm publish", - "run-example": "npm run ts:compile && node ./dist/example.js" + "run-example": "npm run compile && node ./dist/example.js" }, "engines": { "node": ">=10.0"