!157 test(no-vdom): dump the compiled tsx in test file

* test(no-vdom): dump the compiled tsx in test file
This commit is contained in:
Hoikan 2024-02-22 07:11:14 +00:00 committed by 陈超涛
parent 08300f67fe
commit 553613bbc6
1 changed files with 6 additions and 1 deletions

View File

@ -5,14 +5,19 @@
"main": "index.js",
"scripts": {
"test": "vitest --ui",
"bench": "vitest bench"
"bench": "vitest bench",
"dump-test": "babel tests --out-dir dumped-tests --extensions .tsx --presets=babel-preset-inula-jsx --copy-files --out-file-extension .ts"
},
"dependencies": {
"@babel/cli": "^7.23.9",
"@babel/core": "^7.23.9",
"@babel/plugin-syntax-typescript": "^7.23.3",
"inula-reactive": "workspace:^0.0.1"
},
"devDependencies": {
"@testing-library/user-event": "^12.1.10",
"@vitest/ui": "^0.34.5",
"babel-preset-inula-jsx": "workspace:*",
"jsdom": "^24.0.0",
"vite-plugin-inula-no-vdom": "workspace:*",
"vitest": "^1.2.2"