package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "giget",
  3. "version": "1.2.1",
  4. "description": "Download templates and git repositories with pleasure!",
  5. "repository": "unjs/giget",
  6. "license": "MIT",
  7. "sideEffects": false,
  8. "type": "module",
  9. "exports": {
  10. ".": {
  11. "import": {
  12. "types": "./dist/index.d.mts",
  13. "default": "./dist/index.mjs"
  14. },
  15. "require": {
  16. "types": "./dist/index.d.cts",
  17. "default": "./dist/index.cjs"
  18. }
  19. }
  20. },
  21. "main": "./dist/index.cjs",
  22. "module": "./dist/index.mjs",
  23. "types": "./dist/index.d.ts",
  24. "bin": {
  25. "giget": "./dist/cli.mjs"
  26. },
  27. "files": [
  28. "dist"
  29. ],
  30. "scripts": {
  31. "build": "unbuild",
  32. "dev": "vitest dev",
  33. "giget": "jiti ./src/cli.ts",
  34. "lint": "eslint --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
  35. "lint:fix": "eslint --ext .ts,.js,.mjs,.cjs . --fix && prettier -w src test",
  36. "prepack": "unbuild",
  37. "play": "pnpm giget --force-clean --verbose unjs .tmp/clone",
  38. "release": "pnpm test && changelogen --release && npm publish && git push --follow-tags",
  39. "test": "pnpm lint && vitest run --coverage"
  40. },
  41. "dependencies": {
  42. "citty": "^0.1.5",
  43. "consola": "^3.2.3",
  44. "defu": "^6.1.3",
  45. "node-fetch-native": "^1.6.1",
  46. "nypm": "^0.3.3",
  47. "ohash": "^1.1.3",
  48. "pathe": "^1.1.1",
  49. "tar": "^6.2.0"
  50. },
  51. "devDependencies": {
  52. "@types/node": "^20.10.5",
  53. "@types/tar": "^6.1.10",
  54. "@vitest/coverage-v8": "^1.1.0",
  55. "changelogen": "^0.5.5",
  56. "eslint": "^8.56.0",
  57. "eslint-config-unjs": "^0.2.1",
  58. "jiti": "^1.21.0",
  59. "prettier": "^3.1.1",
  60. "typescript": "^5.3.3",
  61. "unbuild": "^2.0.0",
  62. "vitest": "^1.1.0"
  63. },
  64. "packageManager": "pnpm@8.12.1"
  65. }