package.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@eslint/config-array",
  3. "version": "0.18.0",
  4. "description": "General purpose glob-based configuration matching.",
  5. "author": "Nicholas C. Zakas",
  6. "type": "module",
  7. "main": "dist/esm/index.js",
  8. "types": "dist/esm/index.d.ts",
  9. "exports": {
  10. "require": {
  11. "types": "./dist/cjs/index.d.cts",
  12. "default": "./dist/cjs/index.cjs"
  13. },
  14. "import": {
  15. "types": "./dist/esm/index.d.ts",
  16. "default": "./dist/esm/index.js"
  17. }
  18. },
  19. "files": [
  20. "dist"
  21. ],
  22. "publishConfig": {
  23. "access": "public"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/eslint/rewrite.git"
  28. },
  29. "bugs": {
  30. "url": "https://github.com/eslint/rewrite/issues"
  31. },
  32. "homepage": "https://github.com/eslint/rewrite#readme",
  33. "scripts": {
  34. "build:dedupe-types": "node ../../tools/dedupe-types.js dist/cjs/index.cjs dist/esm/index.js",
  35. "build:cts": "node -e \"fs.copyFileSync('dist/esm/index.d.ts', 'dist/cjs/index.d.cts')\"",
  36. "build": "rollup -c && npm run build:dedupe-types && tsc -p tsconfig.esm.json && npm run build:cts",
  37. "test:jsr": "npx jsr@latest publish --dry-run",
  38. "pretest": "npm run build",
  39. "test": "mocha tests/",
  40. "test:coverage": "c8 npm test"
  41. },
  42. "keywords": [
  43. "configuration",
  44. "configarray",
  45. "config file"
  46. ],
  47. "license": "Apache-2.0",
  48. "dependencies": {
  49. "@eslint/object-schema": "^2.1.4",
  50. "debug": "^4.3.1",
  51. "minimatch": "^3.1.2"
  52. },
  53. "devDependencies": {
  54. "@types/minimatch": "^3.0.5",
  55. "c8": "^9.1.0",
  56. "mocha": "^10.4.0",
  57. "rollup": "^4.16.2",
  58. "rollup-plugin-copy": "^3.5.0",
  59. "typescript": "^5.4.5"
  60. },
  61. "engines": {
  62. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  63. }
  64. }