building docs on the fly is an admittedly terrible idea

This commit is contained in:
MapleLeaf
2022-01-09 02:58:32 -06:00
parent a77185a6a4
commit 7f3b61f19f
5 changed files with 101 additions and 46 deletions

View File

@@ -5,9 +5,12 @@
"scripts": {
"prepare": "node ./scripts/fix-heroicons.js",
"serve": "esmo --experimental-import-meta-resolve --experimental-json-modules --no-warnings --enable-source-maps src/main.tsx | pino-colada",
"dev": "nodemon --inspect --exec \"pnpm serve\" --watch src --ext ts,tsx,md,css",
"start": "cross-env NODE_ENV=production pnpm serve",
"typecheck": "tsc --noEmit"
"dev": "npm-run-all --parallel --print-label --race dev-*",
"dev-server": "nodemon --inspect --exec \"pnpm serve\" --watch src --ext ts,tsx,md,css",
"dev-docs": "typedoc --watch",
"start": "pnpm build-docs && cross-env NODE_ENV=production pnpm serve",
"typecheck": "tsc --noEmit",
"build-docs": "typedoc"
},
"dependencies": {
"@heroicons/react": "^1.0.5",
@@ -52,6 +55,7 @@
"browser-sync": "^2.27.7",
"execa": "^6.0.0",
"nodemon": "^2.0.15",
"npm-run-all": "^4.1.5",
"rxjs": "^7.5.1",
"tsup": "^5.11.10",
"type-fest": "^2.8.0",