package.json 974 B

1234567891011121314151617181920212223242526
  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 types:check && npm run test:unit",
  16. "test:ci": "npm run test:unit",
  17. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  18. "types:build": "[ -d types ] || tsc --noEmit false --emitDeclarationOnly",
  19. "types:check": "tsc --noEmit",
  20. "types:rebuild": "rm -rf types && npm run types:build"
  21. },
  22. "devDependencies": {
  23. "mocha": "^10.2.0",
  24. "typescript": "^5.0.4"
  25. }
  26. }