package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. {
  2. "name": "cluster-key-slot",
  3. "version": "1.1.2",
  4. "description": "Generates CRC hashes for strings - for use by node redis clients to determine key slots.",
  5. "main": "lib/index.js",
  6. "types": "index.d.ts",
  7. "scripts": {
  8. "benchmark": "node ./benchmark",
  9. "posttest": "eslint ./lib && npm run coveralls",
  10. "coveralls": "cat ./coverage/lcov.info | coveralls",
  11. "test": "node ./node_modules/istanbul/lib/cli.js cover --preserve-comments ./node_modules/mocha/bin/_mocha -- -R spec",
  12. "coverage:check": "node ./node_modules/istanbul/lib/cli.js check-coverage --branch 100 --statement 100"
  13. },
  14. "repository": {
  15. "type": "git",
  16. "url": "git+https://github.com/Salakar/cluster-key-slot.git"
  17. },
  18. "keywords": [
  19. "redis",
  20. "hash",
  21. "crc",
  22. "slot",
  23. "calc",
  24. "javascript",
  25. "node",
  26. "node_redis",
  27. "ioredis"
  28. ],
  29. "engines": {
  30. "node": ">=0.10.0"
  31. },
  32. "devDependencies": {
  33. "benchmark": "^2.1.0",
  34. "codeclimate-test-reporter": "^0.3.1",
  35. "coveralls": "^2.11.9",
  36. "eslint": "^3.5.0",
  37. "eslint-config-airbnb-base": "^7.1.0",
  38. "eslint-plugin-import": "^1.8.0",
  39. "istanbul": "^0.4.0",
  40. "mocha": "^3.0.2"
  41. },
  42. "author": {
  43. "name": "Mike Diarmid",
  44. "email": "mike.diarmid@gmail.com",
  45. "url": "http://github.com/Salakar/"
  46. },
  47. "license": "Apache-2.0",
  48. "bugs": {
  49. "url": "https://github.com/Salakar/cluster-key-slot/issues"
  50. },
  51. "homepage": "https://github.com/Salakar/cluster-key-slot#readme",
  52. "directories": {
  53. "test": "test",
  54. "lib": "lib"
  55. }
  56. }