package.json 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. {
  2. "name": "@flowgram.ai/variable-core",
  3. "version": "0.1.0",
  4. "description": "variable engine based on scope",
  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": "vitest run",
  31. "test:cov": "vitest run --coverage",
  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/utils": "workspace:*",
  38. "fast-equals": "^2.0.0",
  39. "inversify": "^6.0.1",
  40. "lodash": "^4.17.21",
  41. "nanoid": "^4.0.2",
  42. "reflect-metadata": "~0.2.2",
  43. "rxjs": "^7.8.1"
  44. },
  45. "devDependencies": {
  46. "@flowgram.ai/eslint-config": "workspace:*",
  47. "@flowgram.ai/ts-config": "workspace:*",
  48. "@types/lodash": "^4.14.137",
  49. "@types/react": "^18",
  50. "@types/react-dom": "^18",
  51. "@vitest/coverage-v8": "^0.32.0",
  52. "eslint": "^8.54.0",
  53. "tsup": "^8.0.1",
  54. "typescript": "^5.0.4",
  55. "vitest": "^0.34.6"
  56. },
  57. "peerDependencies": {
  58. "react": ">=17",
  59. "react-dom": ">=17"
  60. },
  61. "publishConfig": {
  62. "access": "public",
  63. "registry": "https://registry.npmjs.org/"
  64. }
  65. }