package.json 1019 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. "types": "types/index.d.cts",
  6. "files": [
  7. "index.cjs",
  8. "types"
  9. ],
  10. "author": "Overleaf (https://www.overleaf.com)",
  11. "private": true,
  12. "scripts": {
  13. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  14. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  15. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  16. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  17. "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  18. "test:ci": "npm run test:unit",
  19. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  20. "types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
  21. "types:check": "tsc --noEmit",
  22. "types:rebuild": "rm -rf types && npm run types:build"
  23. },
  24. "devDependencies": {
  25. "mocha": "^10.2.0",
  26. "typescript": "^5.0.4"
  27. }
  28. }