From 52fb2b42f285111947f1e63bfa41fefe9808f8c7 Mon Sep 17 00:00:00 2001 From: Rebecca Stevens Date: Mon, 5 Aug 2024 02:18:46 +1200 Subject: [PATCH] build: fix npm scripts on windows (#242) --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 0038334d..075afe8e 100644 --- a/package.json +++ b/package.json @@ -70,8 +70,8 @@ "format": "cross-env prettier --write \"./**/*.{json,yml,md,ts}\"", "lint": "cross-env eslint .", "test": "cross-env npm run test:js && cross-env npm run test:types", - "test:js": "cross-env TSX_TSCONFIG_PATH=tsconfig.test.json NODE_OPTIONS='--import tsx' c8 mocha 'test/**/*.spec.ts'", - "test:types": "cross-env npm run build && cross-env tsd -f 'test/**/*.test-d.ts'", + "test:js": "cross-env TSX_TSCONFIG_PATH=tsconfig.test.json NODE_OPTIONS=\"--import tsx\" c8 mocha \"test/**/*.spec.ts\"", + "test:types": "cross-env npm run build && cross-env tsd -f \"test/**/*.test-d.ts\"", "typecheck": "tsc -p tsconfig.build.json --noEmit" }, "devDependencies": {