package.json 995 B

1234567891011121314151617181920212223242526272829
  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": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  8. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  9. "lint": "eslint --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  11. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  12. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  13. "test:ci": "npm run test:unit",
  14. "types:check": "tsc --noEmit"
  15. },
  16. "author": "Overleaf (https://www.overleaf.com)",
  17. "license": "AGPL-3.0-only",
  18. "devDependencies": {
  19. "chai": "^4.3.10",
  20. "chai-as-promised": "^7.1.1",
  21. "mocha": "^11.1.0",
  22. "mocha-junit-reporter": "^2.2.1",
  23. "mocha-multi-reporters": "^1.5.1",
  24. "typescript": "^5.0.4"
  25. },
  26. "dependencies": {
  27. "p-limit": "^2.3.0"
  28. }
  29. }