UNPKG

twoslash-python

Version:

Twoslash generator for Python - Enhance your Python documentation with TypeScript-like type information

73 lines (72 loc) 1.84 kB
{ "name": "twoslash-python", "type": "module", "version": "0.0.1", "description": "Twoslash generator for Python - Enhance your Python documentation with TypeScript-like type information", "author": "Julien Blanchon <julien@blanchon.cc>", "license": "MIT", "homepage": "https://github.com/julien-blanchon/twoslash-python#readme", "repository": { "type": "git", "url": "git+https://github.com/julien-blanchon/twoslash-python.git" }, "bugs": "https://github.com/julien-blanchon/twoslash-python/issues", "keywords": [ "shiki", "twoslash", "python", "typescript", "documentation", "syntax-highlighting", "type-information" ], "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", "README.md", "LICENSE" ], "private": false, "scripts": { "build": "tsc", "test": "jest", "prepublishOnly": "npm run build", "lint": "eslint . --fix", "format": "prettier --write \"src/**/*.ts\"", "clean": "rm -rf dist" }, "peerDependencies": { "typescript": "^5" }, "devDependencies": { "@shikijs/twoslash": "^3.2.1", "@types/bun": "latest", "@types/jest": "^29.5.12", "@typescript-eslint/eslint-plugin": "^7.1.0", "@typescript-eslint/parser": "^7.1.0", "eslint": "^8.57.0", "hast": "^1.0.0", "hast-util-from-html": "^2.0.3", "jest": "^29.7.0", "prettier": "^3.2.5", "ts-jest": "^29.1.2", "twoslash": "^0.3.1" }, "dependencies": { "@shikijs/core": "^3.2.1", "@shikijs/types": "^3.2.1", "@typescript/twoslash": "^3.2.9", "twoslash-python": "file:twoslash-python-0.0.1.tgz" }, "engines": { "node": ">=16.0.0" } }