UNPKG

@vue/test-utils

Version:
114 lines • 3.6 kB
{ "name": "@vue/test-utils", "version": "2.6.0", "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": "^2.0.0", "vue-component-type-helpers": "^3.0.0" }, "devDependencies": { "@types/js-beautify": "1.14.3", "@types/node": "26.6.6", "@vitejs/plugin-vue": "6.0.10", "@vitejs/plugin-vue-jsx": "5.1.6", "@vitest/browser-playwright": "5.0.5", "@vitest/coverage-v8": "5.0.5", "@vue/compat": "3.5.44", "@vue/compiler-dom": "3.5.44", "@vue/compiler-sfc": "3.5.44", "@vue/server-renderer": "3.5.44", "husky": "9.1.7", "jsdom": "31.0.0", "jsdom-global": "3.0.2", "lint-staged": "17.6.0", "oxfmt": "0.78.0", "oxlint": "1.90.0", "pkg-pr-new": "0.0.93", "playwright": "1.64.1", "rolldown": "1.2.16", "typescript": "6.0.3", "unplugin-vue-components": "32.1.0", "vite": "8.3.5", "vitepress": "1.6.4", "vitepress-translation-helper": "0.2.2", "vitest": "5.0.5", "vue": "3.5.44", "vue-router": "5.4.0", "vue-tsc": "3.3.14", "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 --project jsdom", "test:browser": "vitest --project browser", "test:browser:build": "vitest --project browser --mode test-build", "test:coverage": "vitest --project jsdom --coverage", "test:watch": "vitest --project jsdom --watch", "test:build": "vitest --project jsdom --mode test-build", "tsd": "vue-tsc --noEmit -p test-dts/tsconfig.tsd.json", "tsc:docs": "vue-tsc -p docs/.vitepress/tsconfig.vitepress.json", "build": "rolldown -c rolldown.config.ts && tsc -p tsconfig.build.json", "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" } }