66 lines
2.5 KiB
JSON
66 lines
2.5 KiB
JSON
{
|
|
"name": "docs",
|
|
"version": "0.1.0",
|
|
"description": "The documentation content home for https://docs.quantum.ibm.com.",
|
|
"author": "Qiskit Development Team",
|
|
"license": "Apache-2.0",
|
|
"scripts": {
|
|
"check": "npm run check:metadata && npm run check:spelling && npm run check:internal-links && npm run check:orphan-pages && npm run check:fmt",
|
|
"check:metadata": "node -r esbuild-register scripts/commands/checkMetadata.ts",
|
|
"check:spelling": "cspell --relative --no-progress docs/**/*.md* docs/api/**/*.md* --config cspell/cSpell.json",
|
|
"check:fmt": "prettier --check .",
|
|
"check:internal-links": "node -r esbuild-register scripts/commands/checkInternalLinks.ts",
|
|
"check:external-links": "node -r esbuild-register scripts/commands/checkExternalLinks.ts",
|
|
"check:pages-render": "node -r esbuild-register scripts/commands/checkPagesRender.ts",
|
|
"check:orphan-pages": "node -r esbuild-register scripts/commands/checkOrphanPages.ts",
|
|
"check:stale-images": "node -r esbuild-register scripts/commands/checkStaleImages.ts",
|
|
"fmt": "prettier --write .",
|
|
"test": "jest",
|
|
"typecheck": "tsc",
|
|
"regen-apis": "node -r esbuild-register scripts/commands/regenerateApiDocs.ts",
|
|
"gen-api": "node -r esbuild-register scripts/commands/updateApiDocs.ts",
|
|
"make-historical": "node -r esbuild-register scripts/commands/convertApiDocsToHistorical.ts"
|
|
},
|
|
"devDependencies": {
|
|
"@swc/jest": "^0.2.29",
|
|
"@types/fast-levenshtein": "^0.0.4",
|
|
"@types/jest": "^29.5.5",
|
|
"@types/lodash": "^4.14.198",
|
|
"@types/node": "^20.6.2",
|
|
"@types/yargs": "^17.0.28",
|
|
"cheerio": "^1.0.0-rc.12",
|
|
"cspell": "^7.3.2",
|
|
"esbuild-register": "^3.5.0",
|
|
"github-slugger": "^2.0.0",
|
|
"globby": "^13.2.2",
|
|
"gray-matter": "^4.0.3",
|
|
"hast-util-to-mdast": "^8.3.0",
|
|
"hast-util-to-text": "^3.1.0",
|
|
"is-absolute-url": "^4.0.1",
|
|
"jest": "^29.7.0",
|
|
"lodash": "^4.17.21",
|
|
"mdast": "^3.0.0",
|
|
"mkdirp": "^3.0.1",
|
|
"p-map": "^6.0.0",
|
|
"prettier": "^3.0.3",
|
|
"rehype-parse": "^8.0.0",
|
|
"rehype-remark": "^9.1.2",
|
|
"remark-gfm": "^3.0.1",
|
|
"remark-math": "^5.1.1",
|
|
"remark-mdx": "^2.3.0",
|
|
"remark-parse": "^10.0.1",
|
|
"remark-stringify": "^10.0.3",
|
|
"typescript": "^5.2.2",
|
|
"unified": "^10.0.0",
|
|
"unist-util-visit": "^4.0.0",
|
|
"yargs": "^17.7.2",
|
|
"zx": "^7.2.3"
|
|
},
|
|
"dependencies": {
|
|
"esbuild": "^0.19.11",
|
|
"fast-levenshtein": "^3.0.0",
|
|
"markdown-link-extractor": "^3.1.0",
|
|
"transform-markdown-links": "^2.1.0"
|
|
}
|
|
}
|