package.json 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. {
  2. "name": "@flowgram.ai/form-materials",
  3. "version": "0.1.8",
  4. "homepage": "https://flowgram.ai/",
  5. "repository": "https://github.com/bytedance/flowgram.ai",
  6. "license": "MIT",
  7. "exports": {
  8. "types": "./dist/index.d.ts",
  9. "import": "./dist/esm/index.js",
  10. "require": "./dist/index.js"
  11. },
  12. "main": "./dist/index.js",
  13. "module": "./dist/esm/index.js",
  14. "types": "./dist/index.d.ts",
  15. "bin": {
  16. "flowgram-form-materials": "./bin/index.js"
  17. },
  18. "files": [
  19. "dist",
  20. "bin",
  21. "src"
  22. ],
  23. "scripts": {
  24. "build": "npm run build:fast -- --dts-resolve",
  25. "build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
  26. "build:watch": "npm run build:fast -- --dts-resolve",
  27. "clean": "rimraf dist",
  28. "test": "exit 0",
  29. "test:cov": "exit 0",
  30. "ts-check": "tsc --noEmit",
  31. "watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist",
  32. "run-bin": "node bin/index.js"
  33. },
  34. "dependencies": {
  35. "@douyinfe/semi-icons": "^2.72.3",
  36. "@douyinfe/semi-illustrations": "^2.36.0",
  37. "@douyinfe/semi-ui": "^2.72.3",
  38. "@flowgram.ai/editor": "workspace:*",
  39. "lodash": "^4.17.21",
  40. "nanoid": "^4.0.2",
  41. "commander": "^11.0.0",
  42. "chalk": "^5.3.0",
  43. "inquirer": "^9.2.7"
  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. "@types/styled-components": "^5",
  52. "eslint": "^8.54.0",
  53. "react": "^18",
  54. "react-dom": "^18",
  55. "styled-components": "^5",
  56. "tsup": "^8.0.1",
  57. "typescript": "^5.0.4",
  58. "vitest": "^0.34.6"
  59. },
  60. "peerDependencies": {
  61. "react": ">=17",
  62. "react-dom": ">=17",
  63. "styled-components": ">=4"
  64. },
  65. "publishConfig": {
  66. "access": "public",
  67. "registry": "https://registry.npmjs.org/"
  68. }
  69. }