typescript-docs-verifier
Version:
Verifies that typescript examples in markdown files actually compile.
86 lines (85 loc) • 2.19 kB
JSON
{
"name": "typescript-docs-verifier",
"description": "Verifies that typescript examples in markdown files actually compile.",
"keywords": [
"block",
"blocks",
"build",
"check",
"code",
"compilation",
"compile",
"doc",
"docs",
"documentation",
"markdown",
"md",
"ts",
"typescript",
"verify"
],
"version": "3.0.2",
"main": "dist/index.js",
"@types": "dist/index.d.ts",
"bin": {
"typescript-docs-verifier": "dist/bin/compile-typescript-docs.js"
},
"license": "Apache-2.0",
"author": "BBC",
"repository": {
"type": "git",
"url": "git+https://github.com/bbc/typescript-docs-verifier.git"
},
"bugs": {
"url": "https://github.com/bbc/typescript-docs-verifier/issues"
},
"homepage": "https://github.com/bbc/typescript-docs-verifier#readme",
"engines": {
"node": ">=20"
},
"scripts": {
"test": "npm-run-all build test:all compile-docs",
"test:all": "npm-run-all -p -c test:format test:unit test:lint",
"test:format": "prettier --write '**/*.ts' '**/*.json'",
"test:lint": "eslint '**/*.ts'",
"test:unit": "c8 --reporter=text --reporter=html --report-dir=coverage node --import=tsx --test",
"build": "rm -rf dist && tsc --project tsconfig.build.json",
"compile-docs": "node ./dist/bin/compile-typescript-docs.js",
"prepublishOnly": "npm-run-all -s build compile-docs"
},
"devDependencies": {
"@eslint/js": "^10.0.1",
"@types/node": "^24.10.15",
"@types/react": "^18.2.12",
"@types/yargs": "^17.0.12",
"c8": "^11.0.0",
"eslint": "^10.0.2",
"eslint-config-prettier": "^10.1.8",
"globals": "^17.3.0",
"npm-run-all2": "^7.0.2",
"prettier": "^3.5.1",
"react": "^18.2.0",
"tsx": "^4.21.0",
"typescript": "^5.9.3",
"typescript-eslint": "^8.56.1",
"verify-it": "^2.4.0"
},
"dependencies": {
"chalk": "^4.1.2",
"ora": "^5.4.1",
"yargs": "^17.5.1"
},
"peerDependencies": {
"typescript": ">=4.7.2"
},
"files": [
"dist/index.js",
"dist/index.d.ts",
"dist/index.js.map",
"dist/bin",
"dist/src"
],
"prettier": {
"trailingComma": "es5"
}
}