package.json 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. {
  2. "name": "@drizzle-team/brocli",
  3. "type": "module",
  4. "author": "Drizzle Team",
  5. "version": "0.10.2",
  6. "description": "Modern type-safe way of building CLIs",
  7. "license": "Apache-2.0",
  8. "sideEffects": false,
  9. "publishConfig": {
  10. "provenance": true
  11. },
  12. "repository": {
  13. "type": "git",
  14. "url": "git+https://github.com/drizzle-team/brocli.git"
  15. },
  16. "homepage": "https://github.com/drizzle-team/brocli",
  17. "scripts": {
  18. "build": "pnpm tsx scripts/build.ts",
  19. "b": "pnpm build",
  20. "pack": "(cd dist && npm pack --pack-destination ..) && rm -f package.tgz && mv *.tgz package.tgz",
  21. "publish": "npm publish package.tgz",
  22. "test": "vitest run && npx tsc --noEmit",
  23. "mtest": "npx tsx tests/manual.ts",
  24. "lint": "dprint check --list-different"
  25. },
  26. "devDependencies": {
  27. "@arethetypeswrong/cli": "^0.15.3",
  28. "@originjs/vite-plugin-commonjs": "^1.0.3",
  29. "@types/clone": "^2.1.4",
  30. "@types/node": "^20.12.13",
  31. "@types/shell-quote": "^1.7.5",
  32. "clone": "^2.1.2",
  33. "dprint": "^0.46.2",
  34. "shell-quote": "^1.8.1",
  35. "tsup": "^8.1.0",
  36. "tsx": "^4.7.0",
  37. "typescript": "latest",
  38. "vite-tsconfig-paths": "^4.3.2",
  39. "vitest": "^1.6.0",
  40. "zx": "^8.1.2"
  41. },
  42. "main": "./index.cjs",
  43. "module": "./index.js",
  44. "types": "./index.d.ts",
  45. "exports": {
  46. ".": {
  47. "import": {
  48. "types": "./index.d.ts",
  49. "default": "./index.js"
  50. },
  51. "require": {
  52. "types": "./index.d.cjs",
  53. "default": "./index.cjs"
  54. },
  55. "types": "./index.d.ts",
  56. "default": "./index.js"
  57. }
  58. }
  59. }