package.json 957 B

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