Skip to content

Commit

Permalink
Clean up package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
colinhacks committed Jul 19, 2024
1 parent 2b47403 commit 82abda7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 0 additions & 2 deletions benchmarks/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ import { execa } from "execa";
const $ = execa({ stdout: "inherit", stderr: "inherit" });

async function run() {
console.log(process.argv[2].split(","));
const files = process.argv[2]
.split(",")
.map((file) => import.meta.resolve(`./${file}`).replace("file://", ""));

for (const file of files) {
console.log(`Running ${file}`);
await $`pnpm tsx ${file}`;
}
}
Expand Down
5 changes: 1 addition & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,11 @@
"lint:check": "biome lint .",
"clean": "pnpm run -r clean && rm -rf node_modules",
"build": "pnpm run -r build",
"build:esm": "pnpm run --filter zod build:esm",
"build:cjs": "pnpm run --filter zod build:cjs",
"build:types": "tsc -p ./.configs/tsconfig.types.json",
"test:watch": "pnpm vitest",
"test": "pnpm vitest run",
"prepublishOnly": "pnpm run test && pnpm run build",
"play": "tsx --watch playground.ts ",
"bench": "pnpm run build:cjs && tsx benchmarks/index.ts",
"bench": "tsx benchmarks/index.ts",
"prepare": "husky install",
"publish:jsr": "jsr publish --dry-run"
}
Expand Down

0 comments on commit 82abda7

Please sign in to comment.