package.json 921 B

1234567891011121314151617181920212223242526
  1. {
  2. "name": "@overleaf/stream-utils",
  3. "version": "0.1.0",
  4. "description": "stream handling utilities",
  5. "main": "index.js",
  6. "types": "types/index.js",
  7. "scripts": {
  8. "test": "npm run lint && npm run format && npm run typecheck && npm run test:unit",
  9. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  10. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  11. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  12. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  13. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  14. "test:ci": "npm run test:unit",
  15. "typecheck": "tsc --noEmit",
  16. "update-types": "rm -rf types && tsc --emitDeclarationOnly"
  17. },
  18. "author": "Overleaf (https://www.overleaf.com)",
  19. "license": "AGPL-3.0-only",
  20. "devDependencies": {
  21. "chai": "^4.3.6",
  22. "chai-as-promised": "^7.1.1",
  23. "mocha": "^10.2.0",
  24. "typescript": "^5.0.4"
  25. }
  26. }