package.json 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "name": "unique-slug",
  3. "version": "4.0.0",
  4. "description": "Generate a unique character string suitible for use in files and URLs.",
  5. "main": "lib/index.js",
  6. "scripts": {
  7. "test": "tap",
  8. "lint": "eslint \"**/*.js\"",
  9. "postlint": "template-oss-check",
  10. "template-oss-apply": "template-oss-apply --force",
  11. "lintfix": "npm run lint -- --fix",
  12. "snap": "tap",
  13. "posttest": "npm run lint"
  14. },
  15. "keywords": [],
  16. "author": "GitHub Inc.",
  17. "license": "ISC",
  18. "devDependencies": {
  19. "@npmcli/eslint-config": "^3.1.0",
  20. "@npmcli/template-oss": "4.5.1",
  21. "tap": "^16.3.0"
  22. },
  23. "repository": {
  24. "type": "git",
  25. "url": "https://github.com/npm/unique-slug.git"
  26. },
  27. "dependencies": {
  28. "imurmurhash": "^0.1.4"
  29. },
  30. "files": [
  31. "bin/",
  32. "lib/"
  33. ],
  34. "engines": {
  35. "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
  36. },
  37. "templateOSS": {
  38. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  39. "version": "4.5.1"
  40. },
  41. "tap": {
  42. "nyc-arg": [
  43. "--exclude",
  44. "tap-snapshots/**"
  45. ]
  46. }
  47. }