@vue/test-utils
Version:
Component testing utils for Vue 3.
118 lines • 3.62 kB
JSON
{
"name": "@vue/test-utils",
"version": "2.4.10",
"homepage": "https://github.com/vuejs/test-utils",
"license": "MIT",
"author": {
"name": "Lachlan Miller",
"email": "lachlan.miller.1990@outlook.com"
},
"repository": {
"type": "git",
"url": "git+https://github.com/vuejs/test-utils.git"
},
"files": [
"dist",
"README.md",
"dist/index.d.ts"
],
"main": "dist/vue-test-utils.cjs.js",
"module": "dist/vue-test-utils.esm-bundler.mjs",
"types": "dist/src/index.d.ts",
"unpkg": "dist/vue-test-utils.browser.js",
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"node": "./dist/vue-test-utils.cjs.js",
"import": "./dist/vue-test-utils.esm-bundler.mjs",
"require": "./dist/vue-test-utils.cjs.js",
"browser": "./dist/vue-test-utils.browser.js",
"default": "./dist/vue-test-utils.cjs.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"js-beautify": "^1.14.9",
"vue-component-type-helpers": "^3.0.0"
},
"devDependencies": {
"@rollup/plugin-commonjs": "29.0.2",
"@rollup/plugin-json": "6.1.0",
"@rollup/plugin-node-resolve": "16.0.3",
"@rollup/plugin-replace": "6.0.3",
"@rollup/plugin-typescript": "12.3.0",
"@types/js-beautify": "1.14.3",
"@types/node": "24.12.2",
"@vitejs/plugin-vue": "6.0.6",
"@vitejs/plugin-vue-jsx": "5.1.5",
"@vitest/coverage-v8": "4.1.5",
"@vue/compat": "3.5.33",
"@vue/compiler-dom": "3.5.33",
"@vue/compiler-sfc": "3.5.33",
"@vue/server-renderer": "3.5.33",
"husky": "9.1.7",
"jsdom": "29.0.2",
"jsdom-global": "3.0.2",
"lint-staged": "16.4.0",
"oxfmt": "0.47.0",
"oxlint": "1.61.0",
"pkg-pr-new": "0.0.67",
"reflect-metadata": "0.2.2",
"rollup": "4.60.2",
"tslib": "2.8.1",
"typescript": "6.0.3",
"unplugin-vue-components": "32.0.0",
"vite": "8.0.10",
"vitepress": "1.6.4",
"vitepress-translation-helper": "0.2.2",
"vitest": "4.1.5",
"vue": "3.5.33",
"vue-class-component": "8.0.0-rc.1",
"vue-router": "5.0.6",
"vue-tsc": "3.2.7",
"vuex": "4.1.0"
},
"peerDependencies": {
"@vue/compiler-dom": "3.x",
"@vue/server-renderer": "3.x",
"vue": "3.x"
},
"peerDependenciesMeta": {
"@vue/server-renderer": {
"optional": true
}
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"lint-staged": {
"*.ts": [
"oxlint --fix",
"oxfmt --no-error-on-unmatched-pattern"
],
"*.md": [
"oxfmt --no-error-on-unmatched-pattern"
]
},
"scripts": {
"test": "vitest",
"test:coverage": "vitest --coverage",
"test:watch": "vitest --watch",
"test:build": "vitest --mode test-build",
"tsd": "tsc -p test-dts/tsconfig.tsd.json",
"tsc:docs": "vue-tsc -p docs/.vitepress/tsconfig.vitepress.json",
"build": "rollup -c rollup.config.ts --bundleConfigAsCjs",
"lint": "oxlint",
"lint:fix": "oxlint --fix",
"format": "oxfmt",
"format-check": "oxfmt --check",
"docs:dev": "vitepress dev docs",
"docs:build": "vitepress build docs",
"docs:translation:compare": "v-translation compare --status-file=docs/.vitepress/translation-status.json --path={docs/index.md,docs/api/index.md,docs/guide,docs/installation,docs/migration}",
"docs:translation:update": "v-translation update --status-file=docs/.vitepress/translation-status.json",
"docs:translation:status": "v-translation status --status-file=docs/.vitepress/translation-status.json",
"vue-tsc": "vue-tsc --noEmit -p tsconfig.volar.json"
}
}