|
4 | 4 | "description": "Package to generate doc for other @huggingface packages",
|
5 | 5 | "private": true,
|
6 | 6 | "scripts": {
|
7 |
| - "start": "npm run doc-hub && npm run doc-inference && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
| 7 | + "start": "npm run fix-cdn-versions && npm run doc-hub && npm run doc-inference && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
8 | 8 | "lint": "eslint --quiet --fix --ext .cjs,.ts .",
|
9 | 9 | "lint:check": "eslint --ext .cjs,.ts .",
|
10 | 10 | "format": "prettier --write .",
|
11 | 11 | "format:check": "prettier --check .",
|
12 |
| - "prepublish-hub": "npm run doc-hub && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
13 |
| - "prepublish-inference": "npm run doc-inference && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
| 12 | + "prepublish-hub": "npm run fix-cdn-versions && npm run doc-hub && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
| 13 | + "prepublish-inference": "npm run fix-cdn-versions && npm run doc-inference && cp ../../README.md ../../docs/index.md && npm run update-toc && npm run fix-md-links", |
14 | 14 | "doc-hub": "typedoc --tsconfig ../hub/tsconfig.json --githubPages false --plugin typedoc-plugin-markdown --out ../../docs/hub --hideBreadcrumbs --hideInPageTOC --sourceLinkTemplate https://github.com/huggingface/huggingface.js/blob/main/{path}#L{line} ../hub/index.ts",
|
15 | 15 | "doc-inference": "typedoc --tsconfig ../inference/tsconfig.json --githubPages false --plugin typedoc-plugin-markdown --out ../../docs/inference --hideBreadcrumbs --hideInPageTOC --sourceLinkTemplate https://github.com/huggingface/huggingface.js/blob/main/{path}#L{line} ../inference/src/index.ts",
|
16 | 16 | "update-toc": "ts-node --esm update-toc.ts",
|
| 17 | + "fix-cdn-versions": "ts-node --esm fix-cdn-versions.ts", |
17 | 18 | "fix-md-links": "ts-node --esm fix-md-links.ts"
|
18 | 19 | },
|
19 | 20 | "type": "module",
|
|
0 commit comments