From 1c024a69e84ddd5a02165eff72c69fc83c79f7c9 Mon Sep 17 00:00:00 2001 From: Josh Curtiss Date: Fri, 12 Jul 2024 18:13:10 -0500 Subject: [PATCH] build: Create package.json scripts for building --- package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index ef94648..9639e44 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "scripts": { "check-node-version": "check-node-version --node $(cat .nvmrc) --npm 10.5.0 --print", "test": "nyc mocha -- 'tests/**/*.test.js'", - "prepublish": "grunt build", + "build": "grunt build", + "build:debug": "grunt build --debug", + "prepublish": "npm run build", "commitlint": "commitlint --from a9277dd", "markdownlint": "markdownlint-cli2", "eslint": "eslint '{,!(node_modules|dist)/**/}*.js'",