package.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "validate-npm-package-name",
  3. "version": "5.0.0",
  4. "description": "Give me a string and I'll tell you if it's a valid npm package name",
  5. "main": "lib/",
  6. "directories": {
  7. "test": "test"
  8. },
  9. "dependencies": {
  10. "builtins": "^5.0.0"
  11. },
  12. "devDependencies": {
  13. "@npmcli/eslint-config": "^3.0.1",
  14. "@npmcli/template-oss": "4.5.1",
  15. "tap": "^16.0.1"
  16. },
  17. "scripts": {
  18. "cov:test": "TAP_FLAGS='--cov' npm run test:code",
  19. "test:code": "tap ${TAP_FLAGS:-'--'} test/*.js",
  20. "test:style": "standard",
  21. "test": "tap",
  22. "lint": "eslint \"**/*.js\"",
  23. "postlint": "template-oss-check",
  24. "template-oss-apply": "template-oss-apply --force",
  25. "lintfix": "npm run lint -- --fix",
  26. "snap": "tap",
  27. "posttest": "npm run lint"
  28. },
  29. "repository": {
  30. "type": "git",
  31. "url": "https://github.com/npm/validate-npm-package-name.git"
  32. },
  33. "keywords": [
  34. "npm",
  35. "package",
  36. "names",
  37. "validation"
  38. ],
  39. "author": "GitHub Inc.",
  40. "license": "ISC",
  41. "bugs": {
  42. "url": "https://github.com/npm/validate-npm-package-name/issues"
  43. },
  44. "homepage": "https://github.com/npm/validate-npm-package-name",
  45. "files": [
  46. "bin/",
  47. "lib/"
  48. ],
  49. "engines": {
  50. "node": "^14.17.0 || ^16.13.0 || >=18.0.0"
  51. },
  52. "templateOSS": {
  53. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  54. "version": "4.5.1"
  55. },
  56. "tap": {
  57. "statements": 88,
  58. "branches": 92,
  59. "lines": 88,
  60. "nyc-arg": [
  61. "--exclude",
  62. "tap-snapshots/**"
  63. ]
  64. }
  65. }