package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "name": "validate-npm-package-name",
  3. "version": "6.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. "devDependencies": {
  10. "@npmcli/eslint-config": "^5.0.0",
  11. "@npmcli/template-oss": "4.23.3",
  12. "tap": "^16.0.1"
  13. },
  14. "scripts": {
  15. "cov:test": "TAP_FLAGS='--cov' npm run test:code",
  16. "test:code": "tap ${TAP_FLAGS:-'--'} test/*.js",
  17. "test:style": "standard",
  18. "test": "tap",
  19. "lint": "npm run eslint",
  20. "postlint": "template-oss-check",
  21. "template-oss-apply": "template-oss-apply --force",
  22. "lintfix": "npm run eslint -- --fix",
  23. "snap": "tap",
  24. "posttest": "npm run lint",
  25. "eslint": "eslint \"**/*.{js,cjs,ts,mjs,jsx,tsx}\""
  26. },
  27. "repository": {
  28. "type": "git",
  29. "url": "git+https://github.com/npm/validate-npm-package-name.git"
  30. },
  31. "keywords": [
  32. "npm",
  33. "package",
  34. "names",
  35. "validation"
  36. ],
  37. "author": "GitHub Inc.",
  38. "license": "ISC",
  39. "bugs": {
  40. "url": "https://github.com/npm/validate-npm-package-name/issues"
  41. },
  42. "homepage": "https://github.com/npm/validate-npm-package-name",
  43. "files": [
  44. "bin/",
  45. "lib/"
  46. ],
  47. "engines": {
  48. "node": "^18.17.0 || >=20.5.0"
  49. },
  50. "templateOSS": {
  51. "//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
  52. "version": "4.23.3",
  53. "publish": true
  54. },
  55. "tap": {
  56. "nyc-arg": [
  57. "--exclude",
  58. "tap-snapshots/**"
  59. ]
  60. }
  61. }