Skip to content

Commit 6096aab

Browse files
committed
feat: add convert-fixtures script for fixtures to .ts
1 parent 4a0cbe1 commit 6096aab

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/test-case-component/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"watch:tsc": "pnpm compile:tsc --watch",
1515
"watch:esbuild": "pnpm compile:esbuild --watch",
1616
"watch": "pnpm run --filter @cursorless/test-case-component --parallel '/^watch:.*/'",
17-
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build"
17+
"clean": "rm -rf ./out tsconfig.tsbuildinfo ./dist ./build",
18+
"convert-fixtures": "pnpm tsx ./src/scripts/yml-to-json.ts ../../data/example-files ./src/data/languages"
1819
},
1920
"keywords": [],
2021
"author": "",
@@ -42,6 +43,7 @@
4243
"devDependencies": {
4344
"@types/fs-extra": "^11.0.4",
4445
"@types/jest": "29.5.12",
46+
"@types/js-yaml": "^4.0.9",
4547
"@types/react": "18.2.71",
4648
"shiki": "^3.2.2",
4749
"jest": "29.7.0",

0 commit comments

Comments
 (0)