package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@thednp/shorty",
  3. "version": "2.0.10",
  4. "description": "TypeScript shorties for the web",
  5. "source": "./src/index.ts",
  6. "main": "./dist/shorty.js",
  7. "module": "./dist/shorty.mjs",
  8. "exports": {
  9. ".": {
  10. "types": "./dist/shorty.d.ts",
  11. "require": "./dist/shorty.cjs",
  12. "import": "./dist/shorty.mjs"
  13. }
  14. },
  15. "publishConfig": {
  16. "access": "public",
  17. "registry": "https://registry.npmjs.org/"
  18. },
  19. "repository": {
  20. "type": "git",
  21. "url": "git+https://github.com/thednp/shorty.git"
  22. },
  23. "keywords": [
  24. "shorty",
  25. "javascript",
  26. "typescript"
  27. ],
  28. "author": "thednp",
  29. "license": "MIT",
  30. "bugs": {
  31. "url": "https://github.com/thednp/shorty/issues"
  32. },
  33. "homepage": "https://github.com/thednp/shorty",
  34. "devDependencies": {
  35. "@types/node": "^22.10.1",
  36. "@vitest/browser": "^2.1.6",
  37. "@vitest/coverage-istanbul": "^2.1.6",
  38. "@vitest/ui": "^2.1.6",
  39. "playwright": "^1.49.0",
  40. "typescript": "^5.7.2",
  41. "vite": "^5.4.11",
  42. "vite-plugin-dts": "^4.3.0",
  43. "vite-plugin-strip-comments": "^0.0.4",
  44. "vitest": "^2.1.6"
  45. },
  46. "engines": {
  47. "node": ">=16",
  48. "pnpm": ">=8.6.0"
  49. },
  50. "scripts": {
  51. "pre-test": "pnpm clean-coverage",
  52. "badges": "npx -p dependency-version-badge update-badge typescript vitest vite",
  53. "test": "pnpm pre-test && vitest --config vitest.config.mts",
  54. "test-ui": "pnpm pre-test && vitest --config vitest.config-ui.mts",
  55. "clean-coverage": "rm -rf coverage .nyc_output",
  56. "format": "deno fmt src",
  57. "lint": "pnpm lint:ts && pnpm check:ts",
  58. "lint:ts": "deno lint src",
  59. "fix:ts": "deno lint src --fix",
  60. "check:ts": "tsc -noEmit",
  61. "build": "vite build"
  62. }
  63. }