From 27b4246dd6336d9f35555e39d123f187491f4947 Mon Sep 17 00:00:00 2001 From: Rod Vagg Date: Wed, 7 Sep 2022 15:23:45 +1000 Subject: [PATCH] feat: add complete set of aegir-based scripts --- package.json | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 5c7d6ca1..08fc2f9b 100644 --- a/package.json +++ b/package.json @@ -240,12 +240,18 @@ ] }, "scripts": { + "clean": "aegir clean", "lint": "aegir lint", - "release": "aegir release", "build": "aegir build", - "test": "aegir test", - "test:node": "aegir test --target node", - "test:browser": "aegir test --target browser" + "release": "aegir release", + "test": "npm run lint && npm run test:node && npm run test:chrome && npm run test:ts", + "test:ts": "npm run test --prefix test/ts-use", + "test:node": "aegir test -t node --cov", + "test:chrome": "aegir test -t browser --cov", + "test:chrome-webworker": "aegir test -t webworker", + "test:firefox": "aegir test -t browser -- --browser firefox", + "test:firefox-webworker": "aegir test -t webworker -- --browser firefox", + "test:electron-main": "aegir test -t electron-main" }, "devDependencies": { "@stablelib/sha256": "^1.0.1",