diff options
author | Radu <radu@pml4t.net> | 2023-11-24 16:52:57 -0500 |
---|---|---|
committer | Radu <radu@pml4t.net> | 2023-11-24 22:17:59 -0500 |
commit | 290f849c64c9f198f09b592daa48ecdae957375f (patch) | |
tree | fab417d5837cde3cd9b4db54dd61d59ca098a69d /package.json | |
parent | ef17d1d29212f5dc0218bfca1c30709e5a35f7b2 (diff) |
Support GFM using `remarked` and fix some bugs
- This avoids edge cases in the primitive parser I wrote.
- Add KaTeX stylesheet (cause of rendering issues, not Pronto).
- Bundle with Webpack.
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/package.json b/package.json new file mode 100644 index 0000000..ebb6551 --- /dev/null +++ b/package.json @@ -0,0 +1,30 @@ +{ + "name": "asap", + "version": "0.1.0", + "scripts": { + "build:dev": "webpack --mode development --progress", + "build:prod": "webpack --mode production --progress" + }, + "dependencies": { + "highlight.js": "^11.9.0", + "katex": "^0.16.9", + "rehype-highlight": "^7.0.0", + "rehype-katex": "^7.0.0", + "rehype-sanitize": "^6.0.0", + "rehype-stringify": "^10.0.0", + "remark-gfm": "^4.0.0", + "remark-math": "^6.0.0", + "remark-parse": "^11.0.0", + "remark-rehype": "^11.0.0", + "unified": "^11.0.4" + }, + "devDependencies": { + "css-loader": "^6.8.1", + "file-loader": "^6.2.0", + "license-webpack-plugin": "^4.0.2", + "style-loader": "^3.3.3", + "ts-loader": "^9.5.1", + "webpack": "^5.89.0", + "webpack-cli": "^5.1.4" + } +} |