package.json 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. {
  2. "name": "@flowgram.ai/json-schema",
  3. "version": "0.1.8",
  4. "description": "json schema type manager",
  5. "keywords": [
  6. "flow",
  7. "variable",
  8. "scope",
  9. "engine"
  10. ],
  11. "homepage": "https://flowgram.ai/",
  12. "repository": "https://github.com/bytedance/flowgram.ai",
  13. "license": "MIT",
  14. "exports": {
  15. "types": "./dist/index.d.ts",
  16. "import": "./dist/esm/index.js",
  17. "require": "./dist/index.js"
  18. },
  19. "main": "./dist/index.js",
  20. "module": "./dist/esm/index.js",
  21. "types": "./dist/index.d.ts",
  22. "files": [
  23. "dist"
  24. ],
  25. "scripts": {
  26. "build": "npm run build:fast -- --dts-resolve",
  27. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  28. "build:watch": "npm run build:fast -- --dts-resolve",
  29. "clean": "rimraf dist",
  30. "test": "exit 0",
  31. "test:cov": "exit 0",
  32. "ts-check": "tsc --noEmit",
  33. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  34. },
  35. "dependencies": {
  36. "@flowgram.ai/core": "workspace:*",
  37. "@flowgram.ai/variable-core": "workspace:*",
  38. "@flowgram.ai/utils": "workspace:*",
  39. "inversify": "^6.0.1",
  40. "lodash-es": "^4.17.21",
  41. "reflect-metadata": "~0.2.2"
  42. },
  43. "devDependencies": {
  44. "@flowgram.ai/eslint-config": "workspace:*",
  45. "@flowgram.ai/ts-config": "workspace:*",
  46. "@types/lodash-es": "^4.17.12",
  47. "@types/react": "^18",
  48. "@types/react-dom": "^18",
  49. "@vitest/coverage-v8": "^3.2.4",
  50. "eslint": "^9.0.0",
  51. "tsup": "^8.0.1",
  52. "typescript": "^5.8.3",
  53. "vitest": "^3.2.4"
  54. },
  55. "peerDependencies": {
  56. "react": ">=16.8",
  57. "react-dom": ">=16.8"
  58. },
  59. "publishConfig": {
  60. "access": "public",
  61. "registry": "https://registry.npmjs.org/"
  62. }
  63. }