package.json 896 B

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