UNPKG

@infactory/infactory-ts

Version:

Infactory TypeScript SDK for use with Infactory Workshop, MCP Server and API

104 lines (103 loc) 2.79 kB
{ "name": "@infactory/infactory-ts", "version": "0.8.0", "type": "module", "description": "Infactory TypeScript SDK for use with Infactory Workshop, MCP Server and API", "license": "MIT", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", "exports": { ".": { "types": "./dist/index.d.ts", "import": "./dist/index.js", "require": "./dist/index.cjs", "default": "./dist/index.js" } }, "files": [ "dist" ], "scripts": { "build": "tsup", "build:watch": "tsup --watch", "clean": "rimraf dist", "dead-code": "ts-prune | grep -v \"no-unused\" || true", "format": "prettier --write . --ignore-path .prettierignore", "lint": "eslint . --ext .ts", "lint:fix": "eslint . --ext .ts --fix", "prebuild": "npm run clean", "prepare": "husky", "prepublishOnly": "npm run build", "test": "vitest --run --exclude=\"tests/e2e/**\"", "test:watch": "vitest --watch --exclude=\"tests/e2e/**\"", "test:ui": "vitest --ui", "test:coverage": "vitest run --coverage --exclude=\"tests/e2e/**\"", "test:e2e": "vitest --run tests/e2e/**", "test:e2e:quickstart": "vitest run tests/e2e/e2e-quickstart.test.ts", "test:all": "vitest --run", "test:all:coverage": "vitest run --coverage", "type-check": "tsc --noEmit" }, "keywords": [ "infactory", "api", "sdk", "typescript" ], "author": "Sean Kruzel <sean@infactory.ai>", "repository": { "type": "git", "url": "https://github.com/infactory-io/infactory-ts.git" }, "devDependencies": { "@types/node": "20.17.30", "@typescript-eslint/eslint-plugin": "8.29.0", "@typescript-eslint/parser": "8.29.0", "@vitest/coverage-v8": "3.1.2", "@vitest/ui": "3.1.2", "dotenv": "16.6.0", "esbuild": "0.25.2", "eslint": "9.23.0", "eslint-config-prettier": "10.1.1", "eslint-plugin-prettier": "5.2.6", "husky": "9.1.7", "lint-staged": "15.5.0", "msw": "2.7.3", "nock": "14.0.2", "prettier": "3.5.3", "rimraf": "6.0.1", "ts-node": "10.9.2", "ts-prune": "0.10.3", "tsup": "8.4.0", "typescript": "5.8.2", "typescript-eslint": "8.29.0", "vitest": "3.1.2", "zod": "3.24.2" }, "lint-staged": { "src/clients/**/*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "tests/**/*.{ts,tsx}": [ "eslint --fix", "prettier --write" ], "examples/**/*.{ts,tsx}": [ "eslint --fix", "prettier --write" ] }, "engines": { "node": ">=18.0.0" }, "dependencies": { "@types/minimist": "1.2.5", "@types/node-fetch": "2.6.12", "form-data": "4.0.2", "minimist": "1.2.8", "node-fetch": "3.3.2", "tsx": "4.19.3" } }