2025-02-27 18:08:47 +08:00

53 lines
1.4 KiB
JSON

{
"name": "@flowgram.ai/command",
"version": "0.1.0",
"homepage": "https://flowgram.ai/",
"repository": "https://github.com/bytedance/flowgram.ai",
"license": "MIT",
"exports": {
"types": "./dist/index.d.ts",
"import": "./dist/esm/index.js",
"require": "./dist/index.js"
},
"main": "./dist/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/index.d.ts",
"files": [
"dist"
],
"scripts": {
"build": "npm run build:fast -- --dts-resolve",
"build:fast": "tsup src/index.ts --format cjs,esm --sourcemap --legacy-output",
"build:watch": "npm run build:fast -- --dts-resolve",
"clean": "rimraf dist",
"ts-check": "tsc --noEmit",
"watch": "npm run build:fast -- --dts-resolve --watch --ignore-watch dist"
},
"dependencies": {
"@flowgram.ai/utils": "workspace:*",
"inversify": "^6.0.1"
},
"devDependencies": {
"@flowgram.ai/eslint-config": "workspace:*",
"@flowgram.ai/ts-config": "workspace:*",
"@types/lodash": "^4.14.137",
"@types/node": "^18",
"@types/react": "^18",
"@types/react-dom": "^18",
"@vitest/coverage-v8": "^0.32.0",
"eslint": "^8.54.0",
"jsdom": "^22.1.0",
"reflect-metadata": "~0.2.2",
"tsup": "^8.0.1",
"typescript": "^5.0.4",
"vitest": "^0.34.6"
},
"peerDependencies": {
"react": ">=17",
"react-dom": ">=17"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
}
}