From bae831ea1d3b7da7571dd0d8bb2e2cc36cdc7e11 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Mon, 3 Jun 2024 20:08:10 +0200 Subject: [PATCH] packages: merged with test environment --- .github/workflows/tests.yml | 6 ++---- package.json | 9 ++++++++- tests/netteForms/package.json | 10 ---------- 3 files changed, 10 insertions(+), 15 deletions(-) delete mode 100644 tests/netteForms/package.json diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2d1775889..0a57a5ec5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -65,8 +65,6 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - run: npm install -g karma-cli + - run: npm install - working-directory: tests/netteForms - run: npm install - - working-directory: tests/netteForms - run: karma start + run: npx karma start diff --git a/package.json b/package.json index 398de26e1..f683358d7 100644 --- a/package.json +++ b/package.json @@ -19,9 +19,16 @@ "url": "git+https://github.com/nette/forms.git" }, "devDependencies": { + "@babel/preset-env": "^7.24.6", "@eslint/js": "^9.4.0", "@stylistic/eslint-plugin": "^2.1.0", "eslint": "^9.4.0", - "globals": "^15.3.0" + "globals": "^15.3.0", + "jasmine": "^5.1.0", + "jasmine-core": "^5.1.1", + "karma": "^6.4.2", + "karma-chrome-launcher": "^3.2.0", + "karma-jasmine": "^5.1.0", + "terser": "^5.31.0" } } diff --git a/tests/netteForms/package.json b/tests/netteForms/package.json deleted file mode 100644 index 2b519789e..000000000 --- a/tests/netteForms/package.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "devDependencies": { - "eslint": "^8.52.0", - "jasmine": "^5.1.0", - "jasmine-core": "^5.1.1", - "karma": "^6.4.2", - "karma-chrome-launcher": "^3.2.0", - "karma-jasmine": "^5.1.0" - } -}