package.json 896 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": "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 .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. "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": "^10.2.0",
  22. "typescript": "^5.0.4"
  23. },
  24. "dependencies": {
  25. "p-limit": "^2.3.0"
  26. }
  27. }