package.json 1.0 KB

1234567891011121314151617181920212223242526272829303132
  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.js",
  7. "scripts": {
  8. "test": "npm run lint && npm run format && npm run typecheck && 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. "typecheck": "tsc --noEmit",
  15. "test:unit": "mocha --exit test/**/*.{js,cjs}",
  16. "update-types": "rm -rf types && tsc --emitDeclarationOnly"
  17. },
  18. "author": "team@overleaf.com",
  19. "license": "Proprietary",
  20. "private": true,
  21. "devDependencies": {
  22. "chai": "^3.3.0",
  23. "mocha": "^10.2.0",
  24. "typescript": "^5.0.4"
  25. },
  26. "dependencies": {
  27. "@overleaf/o-error": "*",
  28. "check-types": "^5.1.0",
  29. "lodash": "^4.17.19",
  30. "p-map": "^4.0.0"
  31. }
  32. }