UNPKG

@kangthink/q-engine

Version:

A question-answer generation engine that stimulates thinking

77 lines 1.82 kB
{ "name": "@kangthink/q-engine", "version": "1.3.0", "description": "A question-answer generation engine that stimulates thinking", "main": "dist/index.js", "types": "dist/index.d.ts", "exports": { ".": { "browser": "./dist/index.browser.js", "node": "./dist/index.js", "import": "./dist/index.js", "require": "./dist/index.js", "types": "./dist/index.d.ts" }, "./browser": { "import": "./dist/index.browser.js", "require": "./dist/index.browser.js", "types": "./dist/index.browser.d.ts" } }, "scripts": { "build": "tsc", "dev": "tsc --watch", "test": "jest", "test:watch": "jest --watch", "test:coverage": "jest --coverage", "cli": "ts-node src/cli/index.ts", "clean": "rm -rf dist", "prepublishOnly": "npm run clean && npm run build && npm run test" }, "keywords": [ "question", "answer", "generation", "thinking", "socratic", "transform" ], "author": "Alex <kangthink@gmail.com>", "repository": { "type": "git", "url": "git+https://github.com/kangthink/q-engine.git" }, "homepage": "https://github.com/kangthink/q-engine#readme", "bugs": { "url": "https://github.com/kangthink/q-engine/issues" }, "bin": { "q-engine": "./dist/cli/index.js" }, "engines": { "node": ">=16.0.0" }, "publishConfig": { "access": "public" }, "license": "MIT", "devDependencies": { "@types/jest": "^29.5.12", "@types/node": "^20.11.19", "@types/uuid": "^9.0.8", "jest": "^29.7.0", "ts-jest": "^29.1.2", "ts-node": "^10.9.2", "typescript": "^5.3.3" }, "dependencies": { "commander": "^12.0.0", "uuid": "^9.0.1", "openai": "^4.28.4" }, "files": [ "dist", "README.md", "example.html" ] }