diff --git a/packages/api/package.json b/packages/api/package.json index 4513b373..2eae046d 100644 --- a/packages/api/package.json +++ b/packages/api/package.json @@ -11,10 +11,10 @@ "build": "tsc", "debug:bin": "NODE_OPTIONS=--no-warnings node --loader ts-node/esm src/bin.ts", "lint:types": "tsc --noEmit", - "prebuild": "rm -rf dist/; npm run version", + "prebuild": "rm -rf dist/ && npm run version", "prepack": "npm run build", "test": "vitest run --coverage", - "test:smoke": "vitest --config=vitest-smoketest.config.ts ", + "test:smoke": "vitest --config=vitest-smoketest.config.ts", "version": "node -p \"'// This file is automatically updated by the build script.\\nexport const PACKAGE_NAME = \\'' + require('./package.json').name + '\\';\\nexport const PACKAGE_VERSION = \\'' + require('./package.json').version + '\\';'\" > src/packageInfo.ts; git add src/packageInfo.ts" }, "repository": {