mirror of
https://github.com/innopals/clarity-abi.git
synced 2026-01-12 15:13:41 +08:00
64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
|
"name": "@clarity-abi/root",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"bench": "vitest bench -c ./packages/clarity-abi/test/vitest.config.ts",
|
|
"build": "pnpm run --r --filter \"./packages/**\" build",
|
|
"clean": "pnpm run --r --parallel clean",
|
|
"deps": "pnpx taze -r",
|
|
"format": "biome format . --write",
|
|
"lint": "biome check .",
|
|
"lint:fix": "pnpm lint --write",
|
|
"lint:unused": "pnpm clean && knip",
|
|
"prepare": "npx simple-git-hooks",
|
|
"prepublishOnly": "tsc && node build/formatPackageJson.js",
|
|
"test": "vitest -c ./packages/clarity-abi/test/vitest.config.ts",
|
|
"test:build": "pnpm run --r --parallel test:build",
|
|
"test:cov": "vitest run --coverage -c ./packages/clarity-abi/test/vitest.config.ts",
|
|
"test:typecheck": "vitest --typecheck.only -c ./packages/clarity-abi/test/vitest.config.ts",
|
|
"test:update": "vitest --update",
|
|
"typecheck": "pnpm run --r --parallel typecheck && tsc --noEmit",
|
|
"typecheck:propertyTypes": "pnpm run --r --parallel typecheck --exactOptionalPropertyTypes false && tsc --noEmit --exactOptionalPropertyTypes false"
|
|
},
|
|
"devDependencies": {
|
|
"@biomejs/biome": "1.9.4",
|
|
"@types/node": "^22.15.3",
|
|
"@vitest/coverage-v8": "^3.1.2",
|
|
"knip": "^5.53.0",
|
|
"publint": "^0.3.12",
|
|
"rimraf": "^6.0.1",
|
|
"simple-git-hooks": "^2.13.0",
|
|
"typescript": "5.8.3",
|
|
"typescript@5.1": "npm:typescript@5.1.6",
|
|
"typescript@5.2": "npm:typescript@5.2.2",
|
|
"typescript@5.3": "npm:typescript@5.3.3",
|
|
"typescript@5.4": "npm:typescript@5.4.5",
|
|
"typescript@5.6": "npm:typescript@5.6.3",
|
|
"typescript@5.7": "npm:typescript@5.7.2",
|
|
"vitest": "^3.1.2"
|
|
},
|
|
"packageManager": "pnpm@10.10.0",
|
|
"simple-git-hooks": {
|
|
"pre-commit": "pnpm format && pnpm lint:fix"
|
|
},
|
|
"knip": {
|
|
"ignoreDependencies": ["@vitest/coverage-v8"],
|
|
"workspaces": {
|
|
".": {
|
|
"entry": "scripts/*.ts"
|
|
},
|
|
"packages/clarity-abi": {
|
|
"entry": [
|
|
"src/{abis,index,zod}.ts!",
|
|
"**/*.bench.ts",
|
|
"**/*.test.ts",
|
|
"**/*.test-d.ts",
|
|
"**/vitest.*.ts"
|
|
],
|
|
"ignoreDependencies": []
|
|
}
|
|
}
|
|
}
|
|
}
|