Skip to content

Commit

Permalink
update dependencies, fix tests infrastructure, switch to esm
Browse files Browse the repository at this point in the history
  • Loading branch information
kwshi committed Feb 12, 2022
1 parent 899b040 commit 4061469
Show file tree
Hide file tree
Showing 10 changed files with 1,708 additions and 4,453 deletions.
5 changes: 5 additions & 0 deletions .taprc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# vi: ft=yaml
node-arg:
- '--experimental-specifier-resolution=node'
- '--loader=ts-node/esm'
test-ignore: '^dist/'
32 changes: 17 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "rehype plugin to transform .math-inline, .math-display with KaTeX to Svelte markup",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"type": "module",
"scripts": {
"prepare": "tsc",
"pretest": "tsc",
Expand All @@ -27,23 +28,24 @@
},
"homepage": "https://github.com/kwshi/rehype-katex-svelte#readme",
"dependencies": {
"hast-util-from-string": "^1.0.4",
"hast-util-select": "^4.0.2",
"hast-util-to-string": "^1.0.4",
"katex": "^0.12.0"
"hast-util-from-string": "^2.0.0",
"hast-util-select": "^5.0.1",
"hast-util-to-string": "^2.0.0",
"katex": "^0.15.2"
},
"devDependencies": {
"@types/hast": "^2.3.1",
"@types/jest": "^26.0.20",
"@types/katex": "^0.11.0",
"@types/tape": "^4.13.0",
"@types/unist": "^2.0.3",
"jest": "^26.6.3",
"rehype-parse": "^7.0.1",
"rehype-stringify": "^8.0.0",
"tap": "^14.11.0",
"@types/hast": "^2.3.4",
"@types/katex": "^0.11.1",
"@types/tape": "^4.13.2",
"@types/unist": "^2.0.6",
"esbuild": "^0.14.21",
"esbuild-register": "^3.3.2",
"rehype-parse": "^8.0.4",
"rehype-stringify": "^9.0.3",
"tap": "^15.1.6",
"tape-modern": "^1.1.2",
"typescript": "^4.1.3",
"unified": "^9.2.0"
"ts-node": "^10.5.0",
"typescript": "^4.5.5",
"unified": "^10.1.1"
}
}
Loading

0 comments on commit 4061469

Please sign in to comment.