From 66e9ac3c2e0bf6247039d443a21bab3cca310a66 Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Fri, 16 Sep 2022 22:54:24 -0500 Subject: [PATCH] Add an 'all' script and simplify 'prepare' --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c4e5110..6a74d6c 100644 --- a/package.json +++ b/package.json @@ -5,11 +5,12 @@ "description": "A GitHub Action to enable Pages and extract various metadata about a site. It can also be used to configure various static site generators we support as starter workflows.", "main": "./dist/index.js", "scripts": { + "all": "npm run format && npm run lint && npm run prepare && npm run test", "format": "prettier --write 'src/**/*.js'", "format:check": "prettier --check 'src/**/*.js'", "lint": "DEBUG=eslint:cli-engine eslint --fix .", "lint:check": "DEBUG=eslint:cli-engine eslint .", - "prepare": "npm run format && ncc build src/index.js -o dist --source-map --license licenses.txt", + "prepare": "ncc build src/index.js -o dist --source-map --license licenses.txt", "test": "jest" }, "repository": {