From ab14b084f2b40b9c10f1137f6e5081a672a83ce7 Mon Sep 17 00:00:00 2001 From: Vjacheslav Trushkin Date: Mon, 20 Jun 2022 10:31:46 +0300 Subject: [PATCH] Clean up scripts in several package.json files --- packages/api-redundancy/package.json | 4 ++-- packages/core/package.json | 4 ++-- packages/utils/package.json | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/api-redundancy/package.json b/packages/api-redundancy/package.json index ed6a613..abccce2 100644 --- a/packages/api-redundancy/package.json +++ b/packages/api-redundancy/package.json @@ -16,10 +16,10 @@ }, "scripts": { "lint": "eslint src/*.ts", - "prebuild": "[npm run lint", + "prebuild": "pnpm run lint", "build": "tsup src/index.ts --dts --format esm,cjs", "test:jest": "jest --runInBand", - "test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jasmine", + "test:jasmine": "cross-env NODE_OPTIONS=--experimental-vm-modules jasmine", "test": "pnpm run test:jest && pnpm run test:jasmine" }, "bugs": "https://github.com/iconify/iconify/issues", diff --git a/packages/core/package.json b/packages/core/package.json index 9f173e2..a74bfe4 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -17,8 +17,8 @@ "lint": "eslint --fix src/**/*.ts", "prebuild": "pnpm run lint && pnpm run clean", "build": "unbuild", - "test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs", - "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jest --runInBand --config=jest.config.mjs", + "test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs", + "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config=jest.config.mjs", "test": "pnpm run test:jest-cjs && pnpm run test:jest-esm", "vitest": "vitest --config vitest.config.mjs" }, diff --git a/packages/utils/package.json b/packages/utils/package.json index 0009c0e..d5c3bad 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -18,7 +18,7 @@ "prebuild": "pnpm run lint && pnpm run clean", "build": "unbuild", "test:jest-cjs": "jest --clearCache --config=jest.config.cjs && jest --runInBand --config=jest.config.cjs", - "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules pnpm dlx jest --runInBand --config=jest.config.mjs", + "test:jest-esm": "cross-env NODE_OPTIONS=--experimental-vm-modules jest --clearCache --config=jest.config.mjs && cross-env NODE_OPTIONS=--experimental-vm-modules jest --runInBand --config=jest.config.mjs", "test": "pnpm run test:jest-cjs && pnpm run test:jest-esm", "vitest:cjs": "vitest --config vitest.config.cjs", "vitest:esm": "vitest --config vitest.config.mjs",