package.json 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  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,ts}'",
  9. "format:fix": "prettier --write $PWD/'**/*.{js,cjs,ts}'",
  10. "lint": "eslint --ext .js --ext .cjs --ext .ts --max-warnings 0 --format unix .",
  11. "lint:fix": "eslint --fix --ext .js --ext .cjs --ext .ts .",
  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. "@types/check-types": "^7.3.7",
  21. "@types/path-browserify": "^1.0.2",
  22. "chai": "^3.3.0",
  23. "mocha": "^11.1.0",
  24. "sinon": "^9.2.4",
  25. "typescript": "^5.0.4"
  26. },
  27. "dependencies": {
  28. "@overleaf/o-error": "*",
  29. "check-types": "^5.1.0",
  30. "lodash": "^4.17.19",
  31. "p-map": "^4.0.0",
  32. "path-browserify": "^1.0.1"
  33. }
  34. }