UNPKG

@posthog/wizard

Version:

The PostHog wizard helps you to configure your project

145 lines 3.72 kB
{ "name": "@posthog/wizard", "version": "1.9.0", "homepage": "https://github.com/posthog/wizard", "repository": "https://github.com/posthog/wizard", "description": "The PostHog wizard helps you to configure your project", "keywords": [ "posthog", "wizard", "sdk", "cli", "project", "setup", "install", "configure" ], "bin": { "wizard": "dist/bin.js" }, "publishConfig": { "access": "public" }, "files": [ "dist/bin.*", "dist/src", "package.json", "README.md" ], "main": "dist/index.js", "typings": "dist/index.d.ts", "typescript": { "definition": "dist/index.d.ts" }, "dependencies": { "@clack/core": "^0.3.4", "@clack/prompts": "0.7.0", "@langchain/core": "^0.3.40", "axios": "1.7.4", "chalk": "^2.4.1", "fast-glob": "^3.3.3", "glob": "9.3.5", "inquirer": "^6.2.0", "lodash": "^4.17.21", "magicast": "^0.2.10", "opn": "^5.4.0", "posthog-node": "^4.9.0", "read-env": "^1.3.0", "recast": "^0.23.3", "semver": "^7.5.3", "uuid": "^11.1.0", "xcode": "3.0.1", "xml-js": "^1.6.11", "yargs": "^16.2.0", "zod": "^3.24.2", "zod-to-json-schema": "^3.24.3" }, "devDependencies": { "@babel/types": "~7.21.4", "@types/chai": "^4.3.17", "@types/glob": "^7.2.0", "@types/inquirer": "^0.0.43", "@types/jest": "^29.5.14", "@types/lodash": "^4.17.15", "@types/node": "^18.19.76", "@types/opn": "5.1.0", "@types/rimraf": "^3.0.2", "@types/semver": "^7.3.7", "@types/yargs": "^16.0.9", "@typescript-eslint/eslint-plugin": "^5.13.0", "@typescript-eslint/parser": "^5.13.0", "dotenv": "^16.4.7", "eslint": "^8.18.0", "eslint-config-prettier": "^8.3.0", "eslint-plugin-jest": "^25.3.0", "husky": "^9.1.7", "jest": "^29.5.0", "lint-staged": "^15.5.1", "msw": "^2.10.4", "prettier": "^2.8.7", "rimraf": "^3.0.2", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", "tsx": "^4.20.3", "typescript": "^5.0.4" }, "engines": { "node": "18.x || 20.x", "npm": ">=3.10.7" }, "jest": { "collectCoverage": true, "coveragePathIgnorePatterns": [ "dist" ], "transform": { "^.+\\.tsx?$": "ts-jest" }, "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.(jsx?|tsx?)$", "moduleFileExtensions": [ "ts", "tsx", "js", "jsx", "json" ], "modulePathIgnorePatterns": [ "<rootDir>/dist/" ], "testPathIgnorePatterns": [ "/dist/", "/node_modules/", "\\.d\\.(jsx?|tsx?)$", "\\.no-jest\\.(jsx?|tsx?)$", "/e2e-tests/" ], "testEnvironment": "node" }, "lint-staged": { "*.{js,ts,tsx,jsx}": "pnpm fix" }, "author": "PostHog", "license": "MIT", "volta": { "node": "18.20.8", "pnpm": "9.15.5" }, "scripts": { "clean": "rm -rf ./dist", "prebuild": "pnpm clean", "build:watch": "pnpm tsc -w", "build": "pnpm tsc", "postbuild": "chmod +x ./dist/bin.js && cp -r scripts/** dist && cp -r src/utils/rules dist/src/utils", "lint": "pnpm lint:prettier && pnpm lint:eslint", "lint:prettier": "prettier --check \"{lib,src,test}/**/*.ts\"", "lint:eslint": "eslint . --cache --format stylish", "fix": "pnpm fix:eslint && pnpm fix:prettier", "fix:prettier": "prettier --write \"{lib,src,test}/**/*.ts\"", "fix:eslint": "eslint . --format stylish --fix", "test": "pnpm build && jest", "test:e2e": "pnpm build && ./e2e-tests/run.sh", "test:e2e-record": "export RECORD_FIXTURES=true && pnpm build && ./e2e-tests/run.sh", "try": "tsx bin.ts", "test:watch": "jest --watch" } }