Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Dec 31, 2024
1 parent 1258506 commit 5beb34b
Show file tree
Hide file tree
Showing 8 changed files with 303 additions and 20 deletions.
3 changes: 3 additions & 0 deletions .mocharc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"node-option": ["import=tsx"]
}
8 changes: 5 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "@shikijs/vscode-textmate",
"version": "9.3.1",
"type": "module",
"packageManager": "[email protected]",
"description": "Shiki's fork of `vscode-textmate`",
"author": {
Expand All @@ -27,22 +28,23 @@
},
"scripts": {
"build": "tsup",
"test": "mocha --ui=tdd ./out/tests/all.test.js",
"test": "mocha --ui=tdd ./src/tests/all.test.ts",
"benchmark": "node benchmark/benchmark.js",
"inspect": "node out/tests/inspect.js",
"inspect": "tsx src/tests/inspect.ts",
"typecheck": "tsc --noEmit",
"tmconvert": "node scripts/tmconvert.js",
"version": "npm run compile && npm run test",
"postversion": "git push && git push --tags",
"prepublishOnly": "npm run build",
"release": "bumpp && npm publish"
"release": "bumpp && pnpm publish"
},
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/node": "^16.18.121",
"bumpp": "^9.9.0",
"mocha": "^9.2.2",
"tsup": "^8.3.5",
"tsx": "^4.19.2",
"typescript": "^5.7.2",
"vscode-oniguruma": "^1.7.0"
}
Expand Down
Loading

0 comments on commit 5beb34b

Please sign in to comment.