package.json 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. "name": "@flowgram.ai/document",
  3. "version": "0.1.0",
  4. "description": "automation flow engine",
  5. "keywords": [
  6. "flow",
  7. "engine"
  8. ],
  9. "homepage": "",
  10. "license": "MIT",
  11. "exports": {
  12. "types": "./dist/index.d.ts",
  13. "import": "./dist/esm/index.js",
  14. "require": "./dist/index.js"
  15. },
  16. "main": "./dist/index.js",
  17. "module": "./dist/esm/index.js",
  18. "types": "./dist/index.d.ts",
  19. "files": [
  20. "dist"
  21. ],
  22. "scripts": {
  23. "build": "npm run build:fast -- --dts-resolve",
  24. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  25. "build:watch": "npm run build:fast -- --dts-resolve",
  26. "clean": "rimraf dist",
  27. "test": "vitest run",
  28. "test:cov": "vitest run --coverage",
  29. "test:update": "vitest run --update",
  30. "ts-check": "tsc --noEmit",
  31. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  32. },
  33. "dependencies": {
  34. "@flowgram.ai/core": "workspace:*",
  35. "@flowgram.ai/utils": "workspace:*",
  36. "inversify": "^6.0.1",
  37. "lodash": "^4.17.21",
  38. "nanoid": "^4.0.2",
  39. "reflect-metadata": "~0.2.2"
  40. },
  41. "devDependencies": {
  42. "@flowgram.ai/eslint-config": "workspace:*",
  43. "@flowgram.ai/ts-config": "workspace:*",
  44. "@types/lodash": "^4.14.137",
  45. "@vitest/coverage-v8": "^0.32.0",
  46. "eslint": "^8.54.0",
  47. "tsup": "^8.0.1",
  48. "typescript": "^5.0.4",
  49. "vitest": "^0.34.6"
  50. },
  51. "publishConfig": {
  52. "access": "public",
  53. "registry": "https://registry.npmjs.org/"
  54. }
  55. }