Files
openmaic/OpenMAIC/packages/@openmaic/generation/package.json
2026-08-16 14:58:47 +08:00

61 lines
1.4 KiB
JSON

{
"name": "@openmaic/generation",
"version": "0.3.0",
"description": "Pure generation pipeline contracts and packaged prompt assets for MAIC consumers.",
"type": "module",
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
}
},
"files": [
"dist",
"templates",
"snippets",
"prompts-pbl",
"README.md",
"LICENSE"
],
"sideEffects": false,
"scripts": {
"clean": "rm -rf dist",
"build": "rm -rf dist && tsc -p tsconfig.json",
"dev": "tsc -p tsconfig.json --watch",
"typecheck": "tsc -p tsconfig.json --noEmit && tsc -p tsconfig.test.json --noEmit",
"test": "vitest run",
"test:watch": "vitest",
"prepublishOnly": "pnpm run build"
},
"keywords": [
"maic",
"generation",
"prompts",
"pipeline"
],
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/THU-MAIC/OpenMAIC",
"directory": "packages/@openmaic/generation"
},
"dependencies": {
"@openmaic/dsl": "workspace:^",
"jsonrepair": "^3.13.2",
"katex": "^0.16.22",
"nanoid": "^5.1.6",
"partial-json": "^0.1.7"
},
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": {
"typescript": "^5",
"vitest": "^4.1.8"
}
}