From 4cc2fc76138212883b047a17a78e4f83266c0f1c Mon Sep 17 00:00:00 2001 From: StefanVukovic99 Date: Thu, 15 Feb 2024 04:27:08 +0100 Subject: separate json test out of test-code (#674) * separate json testing * add to ci --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'package.json') diff --git a/package.json b/package.json index 77a19eec..715977f8 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "bench": "vitest bench", "build": "node ./dev/bin/build.js", "build-libs": "node ./dev/bin/build-libs.js", - "test": "npm run test-lint-js && npm run test-ts && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-build", + "test": "npm run test-lint-js && npm run test-ts && npm run test-lint-css && npm run test-lint-html && npm run test-code && npm run test-json && npm run test-build", "test-lint-js": "npx eslint .", "test-lint-json": "npx eslint **/*.json", "test-lint-css": "npx stylelint \"ext/**/*.css\" \"test/**/*.css\" \"dev/**/*.css\"", @@ -25,6 +25,7 @@ "test-code": "vitest run", "test-code-write": "vitest run --config test/data/vitest.write.config.json", "test-options-update": "vitest run --config test/data/vitest.options.config.json", + "test-json": "vitest run --config test/data/vitest.json.config.json", "test-build": "node ./dev/bin/build.js --dryRun --all", "license-report": "license-report --output=html --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link --html.cssFile=dev/data/legal-npm.css > ext/legal-npm.html", "license-report-markdown": "license-report --output=markdown --only=prod --fields=name --fields=installedVersion --fields=licenseType --fields=link", -- cgit v1.2.3