From 717869d0da1418d1f0b91e6abe9894fc57c89994 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Thu, 20 Feb 2025 21:28:13 +0200 Subject: [PATCH] npm run commands --- package.json | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index e70d6bfb78..7e38c4346c 100644 --- a/package.json +++ b/package.json @@ -7,12 +7,14 @@ "url": "https://github.com/espocrm/espocrm.git" }, "scripts": { - "build": "grunt", - "test": "grunt run-tests", - "test-unit": "grunt run-unit-tests", - "test-integration": "grunt run-integration-tests", "postinstall": "node js/scripts/postinstall-cleanup && node js/scripts/prepare-lib-original.js", - "build-frontend": "grunt internal" + "build": "grunt", + "build-dev": "grunt dev", + "build-test": "grunt test", + "build-frontend": "grunt internal", + "sa": "php vendor/bin/phpstan", + "unit-tests": "php vendor/bin/phpunit ./tests/unit", + "integration-tests": "php vendor/bin/phpunit ./tests/integration" }, "author": "Yurii Kuznietsov, Taras Machyshyn, Oleksii Avramenko", "license": "AGPL-3.0-or-later",