package.json 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "name": "@overleaf/access-token-encryptor",
  3. "version": "3.0.0",
  4. "description": "",
  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. "lint": "eslint --ext .js --ext .cjs --max-warnings 0 --format unix .",
  10. "lint:fix": "eslint --fix --ext .js --ext .cjs .",
  11. "format": "prettier --list-different $PWD/'**/*.{js,cjs}'",
  12. "format:fix": "prettier --write $PWD/'**/*.{js,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": "",
  20. "license": "AGPL-3.0-only",
  21. "dependencies": {
  22. "lodash": "^4.17.21"
  23. },
  24. "peerDependencies": {
  25. "mongodb": "*"
  26. },
  27. "devDependencies": {
  28. "chai": "^4.3.6",
  29. "mocha": "^10.2.0",
  30. "sandboxed-module": "^2.0.4",
  31. "typescript": "^5.0.4"
  32. }
  33. }