package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. "name": "@novu/shared",
  3. "version": "0.24.1",
  4. "description": "",
  5. "scripts": {
  6. "start": "npm run start:dev",
  7. "afterinstall": "pnpm build",
  8. "prebuild": "rimraf dist",
  9. "build": "npm run build:cjs && npm run build:esm",
  10. "build:esm": "cross-env node_modules/.bin/tsc -p tsconfig.esm.json",
  11. "build:cjs": "cross-env node_modules/.bin/tsc -p tsconfig.json",
  12. "build:watch": "cross-env node_modules/.bin/tsc -p tsconfig.json -w --preserveWatchOutput",
  13. "start:dev": "pnpm build:watch",
  14. "precommit": "lint-staged",
  15. "lint": "eslint src",
  16. "lint:fix": "pnpm lint -- --fix",
  17. "test": "jest src",
  18. "watch:test": "jest src --watch"
  19. },
  20. "author": "",
  21. "license": "ISC",
  22. "main": "dist/cjs/index.js",
  23. "module": "dist/esm/index.js",
  24. "types": "dist/cjs/index.d.ts",
  25. "files": [
  26. "dist/"
  27. ],
  28. "dependencies": {
  29. "axios": "^1.6.2",
  30. "class-transformer": "0.5.1",
  31. "class-validator": "0.14.0"
  32. },
  33. "devDependencies": {
  34. "@types/bluebird": "^3.5.24",
  35. "@types/jest": "29.5.2",
  36. "jest": "^27.1.0",
  37. "rimraf": "^3.0.2",
  38. "typescript": "4.9.5"
  39. },
  40. "lint-staged": {
  41. "*.{js,jsx,ts,tsx}": [
  42. "prettier --ignore-path .eslintignore --write"
  43. ],
  44. "{*.json,.{babelrc,eslintrc,prettierrc,stylelintrc}}": [
  45. "prettier --ignore-path .eslintignore --parser json --write"
  46. ],
  47. "*.{html,md,yml}": [
  48. "prettier --ignore-path .eslintignore --single-quote --write"
  49. ]
  50. },
  51. "gitHead": "64a7fe6ca18b2ec9be2a2d5b6ae648a25377d780"
  52. }