package.json 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "name": "ohash",
  3. "version": "1.1.3",
  4. "description": "Super fast hashing library based on murmurhash3 written in Vanilla JS",
  5. "repository": "unjs/ohash",
  6. "license": "MIT",
  7. "sideEffects": false,
  8. "type": "module",
  9. "exports": {
  10. ".": {
  11. "import": "./dist/index.mjs",
  12. "types": "./dist/index.d.ts",
  13. "require": "./dist/index.cjs"
  14. }
  15. },
  16. "main": "./dist/index.cjs",
  17. "module": "./dist/index.mjs",
  18. "types": "./dist/index.d.ts",
  19. "files": [
  20. "dist"
  21. ],
  22. "devDependencies": {
  23. "@types/node": "^20.4.9",
  24. "@vitest/coverage-v8": "^0.34.1",
  25. "benchmark": "^2.1.4",
  26. "changelogen": "^0.5.4",
  27. "eslint": "^8.46.0",
  28. "eslint-config-unjs": "^0.2.1",
  29. "prettier": "^3.0.1",
  30. "typescript": "^5.1.6",
  31. "unbuild": "^1.2.1",
  32. "vitest": "^0.34.1"
  33. },
  34. "packageManager": "pnpm@8.6.12",
  35. "scripts": {
  36. "build": "unbuild",
  37. "dev": "vitest dev",
  38. "lint": "eslint --ext .ts,.js,.mjs,.cjs . && prettier -c src test",
  39. "lint:fix": "eslint --fix --ext .ts,.js,.mjs,.cjs . && prettier -w src test",
  40. "release": "pnpm test && changelogen --release --push && pnpm publish",
  41. "benchmark": "node benchmark/object-hash.mjs",
  42. "test": "pnpm lint && vitest run && pnpm typecheck",
  43. "typecheck": "tsc --noEmit"
  44. }
  45. }