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. "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 --noEmit false --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. "sinon": "^9.2.4",
  26. "typescript": "^5.0.4"
  27. },
  28. "dependencies": {
  29. "@overleaf/o-error": "*",
  30. "check-types": "^5.1.0",
  31. "lodash": "^4.17.19",
  32. "p-map": "^4.0.0"
  33. }
  34. }