package.json 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. {
  2. "name": "date-fns",
  3. "version": "2.30.0",
  4. "sideEffects": false,
  5. "contributors": ["Sasha Koss <koss@nocorp.me>", "Lesha Koss <regiusprod@gmail.com>"],
  6. "license": "MIT",
  7. "description": "Modern JavaScript date utility library",
  8. "repository": "https://github.com/date-fns/date-fns",
  9. "funding": {
  10. "type": "opencollective",
  11. "url": "https://opencollective.com/date-fns"
  12. },
  13. "engines": {
  14. "node": ">=0.11"
  15. },
  16. "typings": "./typings.d.ts",
  17. "main": "index.js",
  18. "module": "esm/index.js",
  19. "scripts": {
  20. "test": "karma start config/karma.js",
  21. "lint": "eslint .",
  22. "lint-types": "eslint --config=.ts-eslintrc.js typings.d.ts",
  23. "locale-snapshots": "env TZ=utc babel-node --extensions .ts,.js ./scripts/build/localeSnapshots/index.js",
  24. "stats": "cloc . --exclude-dir=node_modules,tmp,.git"
  25. },
  26. "husky": {
  27. "hooks": {
  28. "pre-commit": "lint-staged"
  29. }
  30. },
  31. "lint-staged": {
  32. "*.{js,ts,json}": ["prettier --write", "git add"]
  33. },
  34. "browserslist": ["last 1 version", "> 1%", "IE 11"],
  35. "dependencies": {
  36. "@babel/runtime": "^7.21.0"
  37. },
  38. "devDependencies": {
  39. "@babel/cli": "^7.21.5",
  40. "@babel/core": "^7.21.5",
  41. "@babel/node": "^7.20.7",
  42. "@babel/plugin-proposal-class-properties": "^7.18.6",
  43. "@babel/plugin-transform-runtime": "^7.21.4",
  44. "@babel/preset-env": "^7.21.5",
  45. "@babel/preset-typescript": "^7.21.5",
  46. "@date-fns/date-fns-scripts": "0.0.6",
  47. "@octokit/core": "^3.2.5",
  48. "@size-limit/preset-big-lib": "^8.2.4",
  49. "@types/jest": "^26.0.23",
  50. "@types/node": "^14.6.3",
  51. "@types/sinon": "^9.0.6",
  52. "@typescript-eslint/eslint-plugin": "^4.23.0",
  53. "@typescript-eslint/parser": "^4.31.0",
  54. "babel-eslint": "^10.0.2",
  55. "babel-loader": "8.0.6",
  56. "babel-plugin-add-import-extension": "^1.4.3",
  57. "babel-plugin-add-module-exports": "^1.0.2",
  58. "cloc": "^2.2.0",
  59. "coveralls": "^3.0.6",
  60. "eslint": "^7.27.0",
  61. "eslint-config-prettier": "^4.3.0",
  62. "firebase": "^3.7.1",
  63. "glob-promise": "^2.0.0",
  64. "globby": "^11.0.3",
  65. "husky": "^1.0.1",
  66. "istanbul-instrumenter-loader": "^3.0.1",
  67. "jest": "^27.0.4",
  68. "js-beautify": "^1.5.10",
  69. "js-fns": "^2.5.1",
  70. "jsdoc-babel": "^0.5.0",
  71. "jsdoc-to-markdown": "7",
  72. "karma": "^3.1.4",
  73. "karma-chrome-launcher": "2.2",
  74. "karma-cli": "^1.0.1",
  75. "karma-coverage": "^1.1.2",
  76. "karma-coverage-istanbul-reporter": "^2.1.0",
  77. "karma-mocha": "^1.3.0",
  78. "karma-mocha-reporter": "^2.2.5",
  79. "karma-sauce-launcher": "^1.2.0",
  80. "karma-sourcemap-loader": "^0.3.5",
  81. "karma-webpack": "^4.0.2",
  82. "lint-staged": "^7.3.0",
  83. "lodash": "^4.17.15",
  84. "lodash.clonedeep": "^4.5.0",
  85. "mocha": "^3.5.3",
  86. "moment": "^2.24.0",
  87. "mz": "^2.7.0",
  88. "node-fetch": "^1.7.3",
  89. "p-limit": "^3.1.0",
  90. "prettier": "2",
  91. "simple-git": "^2.35.2",
  92. "sinon": "^7.4.1",
  93. "size-limit": "^8.2.4",
  94. "snazzy": "^7.0.0",
  95. "ts-node": "^10.9.1",
  96. "typescript": "^4.2.4",
  97. "webpack": "4",
  98. "webpack-cli": "^3.1.2",
  99. "world-countries": "^1.8.1"
  100. },
  101. "resolutions": {
  102. "ajv": "6.8.1"
  103. }
  104. }