package.json 969 B

12345678910111213141516171819202122232425262728
  1. {
  2. "name": "@overleaf/ranges-tracker",
  3. "description": "Shared logic for syncing comments and tracked changes with operational transforms",
  4. "main": "index.cjs",
  5. "files": [
  6. "index.cjs",
  7. "types"
  8. ],
  9. "author": "Overleaf (https://www.overleaf.com)",
  10. "private": true,
  11. "scripts": {
  12. "lint": "eslint --ext .cjs,.js,.jsx,.mjs,.ts --max-warnings 0 --format unix .",
  13. "lint:fix": "eslint --fix --ext .cjs,.js,.jsx,.mjs,.ts .",
  14. "format": "prettier --list-different $PWD/'**/*.{js,cjs,ts}'",
  15. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  16. "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  17. "test:ci": "npm run test:unit",
  18. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  19. "types:check": "tsc --noEmit"
  20. },
  21. "devDependencies": {
  22. "chai": "^4.3.6",
  23. "mocha": "^11.1.0",
  24. "mocha-junit-reporter": "^2.2.1",
  25. "mocha-multi-reporters": "^1.5.1",
  26. "typescript": "^5.0.4"
  27. }
  28. }