summaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-08 23:39:37 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-08 23:39:37 +0200
commit2384b30a244c7d6477e54de5385fe7f1cc62d43a (patch)
tree55c9f82f9475249a7f91ac44e408e04e9f1c9560 /package.json
parentfd4edbd6a854275c10c5b21173f0875921d547d1 (diff)
feat(preview): proper file preview with api routing
Diffstat (limited to 'package.json')
-rw-r--r--package.json5
1 files changed, 4 insertions, 1 deletions
diff --git a/package.json b/package.json
index 0bbb24c..c19e263 100644
--- a/package.json
+++ b/package.json
@@ -4,7 +4,8 @@
"private": true,
"scripts": {
"dev": "next dev",
- "build": "next build && next export",
+ "build": "next build",
+ "export": "next export",
"start": "next start",
"prettier": "prettier -w .",
"lint": "tsc --noEmit && next lint && eslint \"./**/*.{ts,tsx,js}\" \"./**/.*.{ts,tsx,js}\" --fix"
@@ -27,6 +28,7 @@
"next-pwa": "^5.2.24",
"orgast-util-to-string": "^0.3.1",
"orgast-util-visit-ids": "^0.3.1",
+ "path": "^0.12.7",
"react": "17.0.2",
"react-custom-scrollbars-2": "^4.4.0",
"react-dom": "17.0.2",
@@ -39,6 +41,7 @@
"rehype-katex": "^5.0.0",
"rehype-react": "^6.2.1",
"three-spritetext": "^1.6.2",
+ "through": "^2.3.8",
"to-vfile": "^6.1.0",
"unified": "^9.2.2",
"uniorg": "^0.4.0",