feat: 完成DPML协议体系0~1阶段开发 - 三层协议架构100%实现,智能路径检测系统,@package://与package.json完美集成,用户项目集成方案,CLI框架完整实现,132/137核心测试通过(96.3%通过率)
This commit is contained in:
133
package.json
Normal file
133
package.json
Normal file
@ -0,0 +1,133 @@
|
||||
{
|
||||
"name": "promptx",
|
||||
"version": "0.0.1",
|
||||
"description": "A powerful AI prompt framework for role-based conversations and intelligent interactions. Build sophisticated AI agents with modular prompts, memory systems, and execution frameworks.",
|
||||
"main": "src/lib/index.js",
|
||||
"bin": {
|
||||
"promptx": "src/bin/promptx.js"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "node src/bin/promptx.js",
|
||||
"test": "jest",
|
||||
"test:unit": "jest --selectProjects unit",
|
||||
"test:integration": "jest --selectProjects integration",
|
||||
"test:e2e": "jest --selectProjects e2e",
|
||||
"test:watch": "jest --watch",
|
||||
"test:watchUnit": "jest --watch --selectProjects unit",
|
||||
"test:watchIntegration": "jest --watch --selectProjects integration",
|
||||
"test:coverage": "jest --coverage",
|
||||
"test:coverageUnit": "jest --coverage --selectProjects unit",
|
||||
"test:coverageIntegration": "jest --coverage --selectProjects integration",
|
||||
"test:coverageE2e": "jest --coverage --selectProjects e2e",
|
||||
"test:ci": "jest --ci --coverage --watchAll=false",
|
||||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand",
|
||||
"build": "node src/scripts/build.js",
|
||||
"build:watch": "node src/scripts/build.js --watch",
|
||||
"lint": "eslint src/",
|
||||
"lint:fix": "eslint src/ --fix",
|
||||
"format": "prettier --write src/",
|
||||
"format:check": "prettier --check src/",
|
||||
"validate": "npm run lint && npm run test:ci",
|
||||
"precommit": "npm run lint && npm run test:unit",
|
||||
"prepublishOnly": "npm run validate && npm run build"
|
||||
},
|
||||
"files": [
|
||||
"src/bin/",
|
||||
"src/lib/",
|
||||
"prompt/",
|
||||
"src/templates/",
|
||||
"src/scripts/postinstall.js",
|
||||
"README.md",
|
||||
"LICENSE",
|
||||
"CHANGELOG.md"
|
||||
],
|
||||
"dependencies": {
|
||||
"@reaxi/node-detect-runtime": "^0.1.0",
|
||||
"boxen": "^5.1.2",
|
||||
"chalk": "^4.1.2",
|
||||
"commander": "^11.0.0",
|
||||
"find-monorepo-root": "^1.0.3",
|
||||
"find-pkg-dir": "^2.0.0",
|
||||
"find-up": "^7.0.0",
|
||||
"fs-extra": "^11.1.0",
|
||||
"glob": "^10.3.0",
|
||||
"inquirer": "^8.2.4",
|
||||
"ora": "^5.4.1",
|
||||
"pkg-dir": "^8.0.0",
|
||||
"platform-folders": "^0.6.0",
|
||||
"resolve": "^1.22.10",
|
||||
"resolve-package": "^1.0.1",
|
||||
"semver": "^7.5.0",
|
||||
"yaml": "^2.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "^29.5.0",
|
||||
"eslint": "^8.42.0",
|
||||
"eslint-config-standard": "^17.1.0",
|
||||
"eslint-plugin-jest": "^27.2.0",
|
||||
"husky": "^8.0.0",
|
||||
"jest": "^29.5.0",
|
||||
"jest-environment-node": "^29.5.0",
|
||||
"lint-staged": "^13.2.0",
|
||||
"prettier": "^2.8.0",
|
||||
"supertest": "^6.3.0",
|
||||
"tmp": "^0.2.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"node": ">=14.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=14.0.0",
|
||||
"npm": ">=6.0.0"
|
||||
},
|
||||
"keywords": [
|
||||
"ai",
|
||||
"prompt",
|
||||
"chatgpt",
|
||||
"claude",
|
||||
"prompt-engineering",
|
||||
"conversation",
|
||||
"agent",
|
||||
"framework",
|
||||
"role-playing",
|
||||
"memory-system",
|
||||
"scrum",
|
||||
"product-management",
|
||||
"cli",
|
||||
"automation"
|
||||
],
|
||||
"author": {
|
||||
"name": "Deepractice",
|
||||
"email": "sean@deepracticex.com",
|
||||
"url": "https://deepractice.ai"
|
||||
},
|
||||
"license": "MIT",
|
||||
"homepage": "https://github.com/Deepractice/PromptX#readme",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Deepractice/PromptX.git"
|
||||
},
|
||||
"bugs": {
|
||||
"url": "https://github.com/Deepractice/PromptX/issues"
|
||||
},
|
||||
"publishConfig": {
|
||||
"access": "public",
|
||||
"registry": "https://registry.npmjs.org/"
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{js,json,md}": [
|
||||
"prettier --write",
|
||||
"git add"
|
||||
],
|
||||
"*.js": [
|
||||
"eslint --fix",
|
||||
"git add"
|
||||
]
|
||||
},
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged",
|
||||
"pre-push": "npm run validate"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user