package.json 1.3 KB

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