package.json 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "name": "@novu/client",
  3. "version": "0.24.1",
  4. "repository": "https://github.com/novuhq/novu",
  5. "description": "API client to be used in end user environments",
  6. "main": "dist/cjs/index.js",
  7. "module": "dist/esm/index.js",
  8. "types": "dist/cjs/index.d.ts",
  9. "files": [
  10. "dist/"
  11. ],
  12. "license": "MIT",
  13. "keywords": [],
  14. "scripts": {
  15. "start": "npm run start:dev",
  16. "start:dev": "npm run watch:build",
  17. "prebuild": "rimraf dist",
  18. "build": "npm run build:cjs && npm run build:esm",
  19. "build:esm": "cross-env node_modules/.bin/tsc -p tsconfig.esm.json",
  20. "build:cjs": "cross-env node_modules/.bin/tsc -p tsconfig.build.json",
  21. "fix": "run-s fix:*",
  22. "fix:prettier": "prettier \"src/**/*.ts\" --write",
  23. "fix:lint": "eslint src --ext .ts --fix",
  24. "test": "echo \"No tests yet, build tests only\"",
  25. "lint": "eslint src --ext .ts",
  26. "test:prettier": "prettier \"src/**/*.ts\"",
  27. "test:unit": "jest src",
  28. "check-cli": "run-s test diff-integration-tests check-integration-tests",
  29. "check-integration-tests": "run-s check-integration-test:*",
  30. "diff-integration-tests": "mkdir -p diff && rm -rf diff/test && cp -r test diff/test && rm -rf diff/test/test-*/.git && cd diff && git init --quiet && git add -A && git commit --quiet --no-verify --allow-empty -m 'WIP' && echo '\\n\\nCommitted most recent integration test output in the \"diff\" directory. Review the changes with \"cd diff && git diff HEAD\" or your preferred git diff viewer.'",
  31. "watch:build": "tsc -p tsconfig.json -w",
  32. "watch:test": "jest src --watch",
  33. "doc": "run-s doc:html && open-cli build/docs/index.html",
  34. "doc:html": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --out build/docs",
  35. "doc:json": "typedoc src/ --exclude **/*.spec.ts --target ES6 --mode file --json build/docs/typedoc.json",
  36. "doc:publish": "gh-pages -m \"[ci skip] Updates\" -d build/docs",
  37. "reset-hard": "git clean -dfx && git reset --hard && pnpm install",
  38. "prepare-release": "run-s reset-hard test"
  39. },
  40. "publishConfig": {
  41. "access": "public"
  42. },
  43. "engines": {
  44. "node": ">=10"
  45. },
  46. "dependencies": {
  47. "@novu/shared": "^0.24.1"
  48. },
  49. "devDependencies": {
  50. "@types/jest": "29.5.2",
  51. "@types/node": "^14.6.0",
  52. "codecov": "^3.5.0",
  53. "jest": "^27.0.6",
  54. "npm-run-all": "^4.1.5",
  55. "rimraf": "^3.0.2",
  56. "ts-jest": "^27.0.5",
  57. "typedoc": "^0.24.0",
  58. "typescript": "4.9.5"
  59. },
  60. "prettier": {
  61. "singleQuote": true
  62. },
  63. "gitHead": "64a7fe6ca18b2ec9be2a2d5b6ae648a25377d780"
  64. }