package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "name": "@eslint/core",
  3. "version": "0.9.1",
  4. "description": "Runtime-agnostic core of ESLint",
  5. "type": "module",
  6. "types": "./dist/esm/types.d.ts",
  7. "exports": {
  8. "types": {
  9. "import": "./dist/esm/types.d.ts",
  10. "require": "./dist/cjs/types.d.cts"
  11. }
  12. },
  13. "files": [
  14. "dist"
  15. ],
  16. "publishConfig": {
  17. "access": "public"
  18. },
  19. "scripts": {
  20. "build:cts": "node -e \"fs.cpSync('dist/esm/types.d.ts', 'dist/cjs/types.d.cts')\"",
  21. "build": "tsc && npm run build:cts",
  22. "test:jsr": "npx jsr@latest publish --dry-run",
  23. "test:types": "tsc -p tests/types/tsconfig.json"
  24. },
  25. "repository": {
  26. "type": "git",
  27. "url": "git+https://github.com/eslint/rewrite.git"
  28. },
  29. "keywords": [
  30. "eslint",
  31. "core"
  32. ],
  33. "author": "Nicholas C. Zakas",
  34. "license": "Apache-2.0",
  35. "bugs": {
  36. "url": "https://github.com/eslint/rewrite/issues"
  37. },
  38. "homepage": "https://github.com/eslint/rewrite#readme",
  39. "dependencies": {
  40. "@types/json-schema": "^7.0.15"
  41. },
  42. "devDependencies": {
  43. "json-schema": "^0.4.0",
  44. "typescript": "^5.4.5"
  45. },
  46. "engines": {
  47. "node": "^18.18.0 || ^20.9.0 || >=21.1.0"
  48. }
  49. }