package.json 944 B

123456789101112131415161718192021222324252627
  1. {
  2. "name": "@overleaf/promise-utils",
  3. "version": "0.1.0",
  4. "description": "utilities to help working with promises",
  5. "main": "index.js",
  6. "scripts": {
  7. "test": "yarn run lint && yarn run types:check && yarn run test:unit",
  8. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  9. "lint": "eslint --cache --cache-location ../../.cache/eslint/ --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --cache --cache-location ../../.cache/eslint/ --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  11. "test:ci": "yarn run test:unit",
  12. "types:check": "tsc --noEmit"
  13. },
  14. "author": "Overleaf (https://www.overleaf.com)",
  15. "license": "AGPL-3.0-only",
  16. "devDependencies": {
  17. "chai": "^4.3.10",
  18. "chai-as-promised": "^7.1.1",
  19. "mocha": "^11.1.0",
  20. "mocha-junit-reporter": "^2.2.1",
  21. "mocha-multi-reporters": "^1.5.1",
  22. "typescript": "^5.0.4"
  23. },
  24. "dependencies": {
  25. "p-limit": "^2.3.0"
  26. }
  27. }