mirror of
https://github.com/andatoshiki/toshiki-notebook.git
synced 2026-06-05 21:46:28 +00:00
fix: make overall project root to monorepo with integrated individual doc package for twoslash third-party ts compiler option
This commit is contained in:
parent
931faa61c3
commit
41c142af8c
14
docs/package.json
Normal file
14
docs/package.json
Normal file
@ -0,0 +1,14 @@
|
||||
{
|
||||
"name": "toshiki-notebook/docs",
|
||||
"version": "0.0.1",
|
||||
"description": "Extra modules and dependencies applied upon the monorepos and used in toshiki-notebook for in-markdown shiki twoslash program node behavior analysis only in docs",
|
||||
"scripts": {
|
||||
"docs:dev": "vitepress dev",
|
||||
"docs:build": "vitepress build",
|
||||
"docs:preview": "vitepress preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/react": "^18.2.9",
|
||||
"react": "^18.2.0"
|
||||
}
|
||||
}
|
||||
@ -14,7 +14,7 @@
|
||||
"docs:host": "vitepress dev docs --host",
|
||||
"rm:dist": "rm -rf /docs/.vitepress/dist",
|
||||
"rm:cache": "rm -rf /docs/.vitepress/cache",
|
||||
"prepare": "husky install",
|
||||
"prepare": "node -e \"if (process.env.NODE_ENV !== 'production'){process.exit(1)} \" || husky install",
|
||||
"lint": "prettier --write .",
|
||||
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 0",
|
||||
"feed": "node docs/.vitepress/utils/genFeed.js"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
prefer-workspace-packages: true
|
||||
packages:
|
||||
- '.'
|
||||
- 'docs'
|
||||
- 'docs'
|
||||
|
||||
Loading…
Reference in New Issue
Block a user