package.json 977 B

12345678910111213141516171819202122232425262728293031
  1. {
  2. "name": "overleaf-editor-core",
  3. "version": "1.0.0",
  4. "description": "Library shared between the editor server and clients.",
  5. "main": "index.js",
  6. "scripts": {
  7. "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  8. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  9. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  10. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  11. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  12. "test:ci": "npm run test:unit",
  13. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  14. "types:check": "tsc --noEmit"
  15. },
  16. "author": "team@overleaf.com",
  17. "license": "Proprietary",
  18. "private": true,
  19. "devDependencies": {
  20. "chai": "^3.3.0",
  21. "mocha": "^10.2.0",
  22. "sinon": "^9.2.4",
  23. "typescript": "^5.0.4"
  24. },
  25. "dependencies": {
  26. "@overleaf/o-error": "*",
  27. "check-types": "^5.1.0",
  28. "lodash": "^4.17.19",
  29. "p-map": "^4.0.0"
  30. }
  31. }