From b72bf337847ee098808c31ad3e9e7a769d10bbb5 Mon Sep 17 00:00:00 2001 From: Minionguyjpro Date: Tue, 2 Jan 2024 19:16:32 +0100 Subject: [PATCH] Update package.json --- package.json | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 8efab79..f2aec0e 100755 --- a/package.json +++ b/package.json @@ -4,9 +4,14 @@ "description": "GitHub action to compile .iss (Inno Setup Script) files.", "main": "dist/index.js", "scripts": { - "lint": "eslint src/**", - "package": "ncc build src/main.js --no-cache", - "all": "npm run lint && npm run package" + "bundle": "npm run format:write && npm run package", + "format:write": "prettier --write **/*.js", + "format:check": "prettier --check **/*.js", + "lint": "npx eslint . -c ./.github/linters/.eslintrc.yml", + "package": "ncc build src/index.js --license licenses.txt", + "package:watch": "npm run package -- --watch", + "test": "jest", + "all": "npm run format:write && npm run lint && npm run test && npm run package" }, "keywords": [], "author": "",