package.json 1.1 KB

123456789101112131415161718192021222324252627282930313233
  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. "types": "types/index.d.ts",
  7. "scripts": {
  8. "test": "npm run lint && npm run format && npm run types:check && npm run test:unit",
  9. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  10. "format:fix": "prettier --write $PWD/'**/*.{js,cjs}'",
  11. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  12. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  13. "test:ci": "npm run test:unit",
  14. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  15. "types:build": "[ -d types ] || tsc --emitDeclarationOnly",
  16. "types:check": "tsc --noEmit",
  17. "types:rebuild": "rm -rf types && npm run types:build"
  18. },
  19. "author": "team@overleaf.com",
  20. "license": "Proprietary",
  21. "private": true,
  22. "devDependencies": {
  23. "chai": "^3.3.0",
  24. "mocha": "^10.2.0",
  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. }
  33. }