package.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. {
  2. "name": "@gilbarbara/deep-equal",
  3. "version": "0.3.1",
  4. "description": "Tiny deep equal comparator",
  5. "author": "Gil Barbara <gilbarbara@gmail.com>",
  6. "repository": {
  7. "type": "git",
  8. "url": "git://github.com/gilbarbara/deep-equal.git"
  9. },
  10. "bugs": {
  11. "url": "https://github.com/gilbarbara/deep-equal/issues"
  12. },
  13. "homepage": "https://github.com/gilbarbara/deep-equal#readme",
  14. "main": "dist/index.js",
  15. "module": "dist/index.mjs",
  16. "exports": {
  17. ".": {
  18. "import": "./dist/index.mjs",
  19. "require": "./dist/index.js"
  20. }
  21. },
  22. "files": [
  23. "dist",
  24. "src"
  25. ],
  26. "types": "dist/index.d.ts",
  27. "sideEffects": false,
  28. "license": "MIT",
  29. "keywords": [
  30. "equal",
  31. "deep-equal",
  32. "typescript"
  33. ],
  34. "devDependencies": {
  35. "@gilbarbara/eslint-config": "^0.5.4",
  36. "@gilbarbara/prettier-config": "^1.0.0",
  37. "@gilbarbara/tsconfig": "^0.2.3",
  38. "@size-limit/preset-small-lib": "^9.0.0",
  39. "@types/node": "^20.8.4",
  40. "@types/react": "^18.2.28",
  41. "@types/react-dom": "^18.2.13",
  42. "@types/react-test-renderer": "^18.0.3",
  43. "@vitest/coverage-v8": "^0.34.6",
  44. "del-cli": "^5.1.0",
  45. "happy-dom": "^12.7.0",
  46. "husky": "^8.0.3",
  47. "is-ci-cli": "^2.2.0",
  48. "jest-extended": "^4.0.2",
  49. "react": "^18.2.0",
  50. "react-test-renderer": "^18.2.0",
  51. "repo-tools": "^0.2.2",
  52. "size-limit": "^9.0.0",
  53. "ts-node": "^10.9.1",
  54. "tsup": "^7.2.0",
  55. "typescript": "^5.2.2",
  56. "vitest": "^0.34.6"
  57. },
  58. "scripts": {
  59. "build": "npm run clean && tsup",
  60. "watch": "tsup --watch",
  61. "clean": "del dist/*",
  62. "test": "is-ci \"test:coverage\" \"test:watch\"",
  63. "test:coverage": "TZ=UTC vitest run --coverage",
  64. "test:watch": "TZ=UTC vitest watch",
  65. "lint": "eslint --fix src test",
  66. "typecheck": "tsc",
  67. "format": "prettier \"**/*.{css,graphql,js,json,jsx,less,md,mdx,scss,ts,tsx,yaml,yml}\" --write",
  68. "validate": "npm run lint && npm run typecheck && npm run test:coverage && npm run build && npm run size",
  69. "size": "size-limit",
  70. "prepublishOnly": "npm run validate",
  71. "prepare": "husky install"
  72. },
  73. "tsup": {
  74. "cjsInterop": true,
  75. "dts": true,
  76. "entry": [
  77. "src/index.ts"
  78. ],
  79. "format": [
  80. "cjs",
  81. "esm"
  82. ],
  83. "sourcemap": true,
  84. "splitting": false
  85. },
  86. "eslintConfig": {
  87. "extends": [
  88. "@gilbarbara/eslint-config"
  89. ]
  90. },
  91. "prettier": "@gilbarbara/prettier-config",
  92. "size-limit": [
  93. {
  94. "name": "commonjs",
  95. "path": "./dist/index.js",
  96. "limit": "1 kB"
  97. },
  98. {
  99. "name": "esm",
  100. "path": "./dist/index.mjs",
  101. "limit": "1 kB"
  102. }
  103. ]
  104. }