package.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. {
  2. "author": "tony_quetano@planttheidea.com",
  3. "browser": "dist/umd/index.js",
  4. "bugs": {
  5. "url": "https://github.com/planttheidea/fast-equals/issues"
  6. },
  7. "description": "A blazing fast equality comparison, either shallow or deep",
  8. "devDependencies": {
  9. "@rollup/plugin-commonjs": "^29.0.0",
  10. "@rollup/plugin-node-resolve": "^16.0.3",
  11. "@rollup/plugin-replace": "^6.0.3",
  12. "@rollup/plugin-terser": "^0.4.4",
  13. "@rollup/plugin-typescript": "^12.3.0",
  14. "@types/lodash": "^4.17.20",
  15. "@types/node": "^24.10.1",
  16. "@types/ramda": "^0.31.1",
  17. "@types/react": "^19.2.3",
  18. "@types/react-dom": "^19.2.3",
  19. "@typescript-eslint/eslint-plugin": "^8.46.4",
  20. "@typescript-eslint/parser": "^8.46.4",
  21. "@vitest/coverage-v8": "4.0.8",
  22. "decircularize": "^1.0.0",
  23. "deep-eql": "^5.0.2",
  24. "deep-equal": "^2.2.3",
  25. "dequal": "^2.0.3",
  26. "eslint": "^9.39.1",
  27. "eslint-friendly-formatter": "^4.0.1",
  28. "eslint-plugin-import": "^2.32.0",
  29. "fast-deep-equal": "^3.1.3",
  30. "fast-glob": "^3.3.3",
  31. "lodash": "^4.17.21",
  32. "nano-equal": "^2.0.2",
  33. "prettier": "^3.6.2",
  34. "react": "^19.2.0",
  35. "react-dom": "^19.2.0",
  36. "react-fast-compare": "^3.2.2",
  37. "release-it": "^19.0.6",
  38. "rollup": "^4.53.2",
  39. "shallow-equal-fuzzy": "^0.0.2",
  40. "tinybench": "^5.1.0",
  41. "typescript": "^5.9.3",
  42. "typescript-eslint": "^8.46.4",
  43. "underscore": "^1.13.7",
  44. "vite": "^7.2.2",
  45. "vitest": "^4.0.8"
  46. },
  47. "engines": {
  48. "node": ">=6.0.0"
  49. },
  50. "exports": {
  51. ".": {
  52. "import": {
  53. "types": "./dist/esm/types/index.d.mts",
  54. "default": "./dist/esm/index.mjs"
  55. },
  56. "require": {
  57. "types": "./dist/cjs/types/index.d.cts",
  58. "default": "./dist/cjs/index.cjs"
  59. },
  60. "default": {
  61. "types": "./dist/umd/types/index.d.ts",
  62. "default": "./dist/umd/index.js"
  63. }
  64. }
  65. },
  66. "files": [
  67. "dist",
  68. "src",
  69. "CHANGELOG.md",
  70. "index.d.ts",
  71. "LICENSE",
  72. "package.json",
  73. "README.md"
  74. ],
  75. "homepage": "https://github.com/planttheidea/fast-equals#readme",
  76. "keywords": [
  77. "fast",
  78. "equal",
  79. "equals",
  80. "deep-equal",
  81. "equivalent"
  82. ],
  83. "license": "MIT",
  84. "main": "dist/cjs/index.cjs",
  85. "module": "dist/esm/index.mjs",
  86. "name": "fast-equals",
  87. "repository": {
  88. "type": "git",
  89. "url": "git+https://github.com/planttheidea/fast-equals.git"
  90. },
  91. "scripts": {
  92. "benchmark": "npm run build:esm && node benchmark/index.js",
  93. "build": "npm run build:esm && npm run build:cjs && npm run build:umd && npm run build:min && npm run build:types",
  94. "build:cjs": "rm -rf dist/cjs && NODE_ENV=production rollup -c config/rollup/config.cjs.js && tsc -p ./config/tsconfig/cjs.json && node scripts/create-cts-files.js",
  95. "build:esm": "rm -rf dist/esm && NODE_ENV=production rollup -c config/rollup/config.esm.js && tsc -p ./config/tsconfig/esm.json && node scripts/create-mts-files.js",
  96. "build:min": "rm -rf dist/min && NODE_ENV=production rollup -c config/rollup/config.min.js && tsc -p ./config/tsconfig/min.json",
  97. "build:types": "node scripts/fallback-types.js",
  98. "build:umd": "rm -rf dist/umd && NODE_ENV=production rollup -c config/rollup/config.umd.js && tsc -p ./config/tsconfig/umd.json",
  99. "dev": "vite --config config/vite.config.js",
  100. "format": "prettier **/*.ts --write",
  101. "lint": "eslint src/*.ts",
  102. "lint:fix": "npm run lint -- --fix",
  103. "start": "npm run dev",
  104. "release": "release-it",
  105. "release:beta": "release-it --config=.release-it.beta.json",
  106. "release:scripts": "npm run typecheck && npm run lint && npm run test:coverage && npm run build",
  107. "test": "vitest run",
  108. "test:coverage": "rm -rf coverage && vitest run --coverage",
  109. "test:watch": "vitest",
  110. "typecheck": "tsc --noEmit"
  111. },
  112. "sideEffects": false,
  113. "type": "module",
  114. "types": "./index.d.ts",
  115. "version": "5.3.3"
  116. }