package.json 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  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": "",
  12. "license": "MIT",
  13. "exports": {
  14. "types": "./dist/index.d.ts",
  15. "import": "./dist/esm/index.js",
  16. "require": "./dist/index.js"
  17. },
  18. "main": "./dist/index.js",
  19. "module": "./dist/esm/index.js",
  20. "types": "./dist/index.d.ts",
  21. "files": [
  22. "dist"
  23. ],
  24. "scripts": {
  25. "build": "npm run build:fast -- --dts-resolve",
  26. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  27. "build:watch": "npm run build:fast -- --dts-resolve",
  28. "clean": "rimraf dist",
  29. "test": "vitest run",
  30. "test:cov": "vitest run --coverage",
  31. "ts-check": "tsc --noEmit",
  32. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
  33. },
  34. "dependencies": {
  35. "@flowgram.ai/core": "workspace:*",
  36. "@flowgram.ai/utils": "workspace:*",
  37. "fast-equals": "^2.0.0",
  38. "inversify": "^6.0.1",
  39. "lodash": "^4.17.21",
  40. "nanoid": "^4.0.2",
  41. "reflect-metadata": "~0.2.2",
  42. "rxjs": "^7.8.1"
  43. },
  44. "devDependencies": {
  45. "@flowgram.ai/eslint-config": "workspace:*",
  46. "@flowgram.ai/ts-config": "workspace:*",
  47. "@types/lodash": "^4.14.137",
  48. "@types/react": "^18",
  49. "@types/react-dom": "^18",
  50. "@vitest/coverage-v8": "^0.32.0",
  51. "eslint": "^8.54.0",
  52. "tsup": "^8.0.1",
  53. "typescript": "^5.0.4",
  54. "vitest": "^0.34.6"
  55. },
  56. "peerDependencies": {
  57. "react": ">=17",
  58. "react-dom": ">=17"
  59. },
  60. "publishConfig": {
  61. "access": "public",
  62. "registry": "https://registry.npmjs.org/"
  63. }
  64. }