UNPKG

vue-router

Version:

> To see what versions are currently supported, please refer to the [Security Policy](./packages/router/SECURITY.md).

226 lines 6.81 kB
{ "name": "vue-router", "version": "5.1.0", "homepage": "https://router.vuejs.org", "bugs": { "url": "https://github.com/vuejs/router/issues" }, "license": "MIT", "author": { "name": "Eduardo San Martin Morote", "email": "posva13@gmail.com" }, "repository": { "type": "git", "url": "git+https://github.com/vuejs/router.git" }, "funding": "https://github.com/sponsors/posva", "files": [ "dist", "index.cjs", "README.md", "route.schema.json", "vue-router-auto-resolver.d.mts", "vue-router-auto-routes.d.mts", "vue-router-auto.d.ts", "vue-router.node.mjs", "vetur/attributes.json", "vetur/tags.json" ], "type": "module", "sideEffects": false, "main": "index.cjs", "module": "dist/vue-router.js", "types": "dist/vue-router.d.ts", "typesVersions": { "*": { "vite": [ "./dist/unplugin/vite.d.mts" ], "unplugin": [ "./dist/unplugin/index.d.mts" ], "unplugin/*": [ "./dist/unplugin/*.d.mts" ], "volar/*": [ "./dist/volar/*.d.cts" ] } }, "unpkg": "dist/vue-router.global.js", "jsdelivr": "dist/vue-router.global.js", "exports": { ".": { "types": "./dist/vue-router.d.ts", "node": { "import": { "production": "./vue-router.node.mjs", "development": "./vue-router.node.mjs", "default": "./vue-router.node.mjs" }, "require": { "production": "./dist/vue-router.prod.cjs", "development": "./dist/vue-router.cjs", "default": "./index.cjs" } }, "import": "./dist/vue-router.js", "require": "./index.cjs" }, "./vetur/*": "./vetur/*", "./package.json": "./package.json", "./experimental": { "types": "./dist/experimental/index.d.ts", "import": "./dist/experimental/index.js" }, "./experimental/pinia-colada": { "types": "./dist/experimental/pinia-colada.d.ts", "import": "./dist/experimental/pinia-colada.js" }, "./auto-resolver": { "types": "./vue-router-auto-resolver.d.mts" }, "./auto-routes": { "types": "./vue-router-auto-routes.d.mts" }, "./auto": { "types": "./vue-router-auto.d.ts", "node": { "import": { "production": "./vue-router.node.mjs", "development": "./vue-router.node.mjs", "default": "./vue-router.node.mjs" }, "require": { "production": "./dist/vue-router.prod.cjs", "development": "./dist/vue-router.cjs", "default": "./index.cjs" } }, "import": "./dist/vue-router.js", "require": "./index.cjs" }, "./vite": { "types": "./dist/unplugin/vite.d.mts", "import": "./dist/unplugin/vite.mjs", "require": "./dist/unplugin/vite.cjs" }, "./unplugin": { "types": "./dist/unplugin/index.d.mts", "import": "./dist/unplugin/index.mjs", "require": "./dist/unplugin/index.cjs" }, "./unplugin/*": "./dist/unplugin/*", "./volar/sfc-route-blocks": { "types": "./dist/volar/sfc-route-blocks.d.cts", "default": "./dist/volar/sfc-route-blocks.cjs" }, "./volar/sfc-typed-router": { "types": "./dist/volar/sfc-typed-router.d.cts", "default": "./dist/volar/sfc-typed-router.cjs" }, "./dist/*": "./dist/*" }, "dependencies": { "@babel/generator": "^8.0.0-rc.4", "@vue-macros/common": "^3.1.1", "@vue/devtools-api": "^8.1.2", "ast-walker-scope": "^0.9.0", "chokidar": "^5.0.0", "json5": "^2.2.3", "local-pkg": "^1.1.2", "magic-string": "^0.30.21", "mlly": "^1.8.2", "muggle-string": "^0.4.1", "pathe": "^2.0.3", "picomatch": "^4.0.3", "scule": "^1.3.0", "tinyglobby": "^0.2.16", "unplugin": "^3.0.0", "unplugin-utils": "^0.3.1", "yaml": "^2.9.0" }, "devDependencies": { "@babel/types": "^8.0.0-rc.4", "@pinia/colada": "^1.3.1", "@playwright/test": "^1.59.1", "@rollup/plugin-commonjs": "^28.0.9", "@rollup/plugin-node-resolve": "^16.0.3", "@rollup/plugin-replace": "^6.0.3", "@rollup/plugin-terser": "^0.4.4", "@standard-schema/spec": "^1.1.0", "@types/babel__generator": "^7.27.0", "@types/nightwatch": "^2.3.32", "@types/picomatch": "^4.0.2", "@typescript/native-preview": "7.0.0-dev.20260106.1", "@vitejs/plugin-vue": "^6.0.6", "@vue/compiler-sfc": "^3.5.34", "@vue/language-core": "^3.2.1", "@vue/server-renderer": "^3.5.34", "@vue/test-utils": "^2.4.10", "browserstack-local": "^1.5.13", "chromedriver": "^148.0.3", "connect-history-api-fallback": "^2.0.0", "dotenv": "^17.4.2", "faked-promise": "^2.2.2", "geckodriver": "^6.1.0", "happy-dom": "^20.9.0", "nightwatch": "^3.15.0", "nightwatch-helpers": "^1.2.0", "pinia": "^3.0.4", "rimraf": "^6.1.3", "rollup": "^4.57.1", "rollup-plugin-typescript2": "^0.36.0", "tsdown": "^0.22.0", "tsup": "^8.5.1", "valibot": "^1.4.1", "vite": "^8.0.13", "vue": "^3.5.34", "zod": "^4.4.3" }, "peerDependencies": { "@pinia/colada": ">=0.21.2", "@vue/compiler-sfc": "^3.5.34", "pinia": "^3.0.4", "vite": "^7.0.0 || ^8.0.0", "vue": "^3.5.34" }, "peerDependenciesMeta": { "@vue/compiler-sfc": { "optional": true }, "pinia": { "optional": true }, "@pinia/colada": { "optional": true }, "vite": { "optional": true } }, "vetur": { "tags": "vetur/tags.json", "attributes": "vetur/attributes.json" }, "scripts": { "dev": "vitest --ui", "build": "tsdown", "build:old": "rimraf dist && rollup -c rollup.config.mjs", "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.ts", "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.mjs", "build:size": "pnpm run build && rollup -c size-checks/rollup.config.mjs", "dev:e2e": "vite --config e2e/vite.config.mjs", "test:types": "tsc --build tsconfig.json ./test-dts/tsconfig.experimental.json", "test:unit": "vitest --coverage run", "test": "pnpm run build && pnpm run '/^(unit|test:types)$/' && pnpm run '/^test:(e2e|e2e:hmr)$/'", "test:e2e": "pnpm run test:e2e:headless", "test:e2e:hmr": "pnpm exec playwright test", "test:e2e:headless": "node e2e/runner.mjs --env chrome-headless", "test:e2e:native": "node e2e/runner.mjs --env chrome", "test:e2e:ci": "node e2e/runner.mjs --env chrome-headless --retries 2", "test:e2e:bs": "node e2e/runner.mjs --local -e android5 --tag browserstack", "test:e2e:bs-test": "node e2e/runner.mjs --local --env browserstack.local_chrome --tag browserstack" } }