1 | {
|
2 | "name": "vue-router",
|
3 | "version": "4.5.0",
|
4 | "main": "index.js",
|
5 | "unpkg": "dist/vue-router.global.js",
|
6 | "jsdelivr": "dist/vue-router.global.js",
|
7 | "module": "dist/vue-router.mjs",
|
8 | "types": "dist/vue-router.d.ts",
|
9 | "exports": {
|
10 | ".": {
|
11 | "types": "./dist/vue-router.d.ts",
|
12 | "node": {
|
13 | "import": {
|
14 | "production": "./dist/vue-router.node.mjs",
|
15 | "development": "./dist/vue-router.node.mjs",
|
16 | "default": "./dist/vue-router.node.mjs"
|
17 | },
|
18 | "require": {
|
19 | "production": "./dist/vue-router.prod.cjs",
|
20 | "development": "./dist/vue-router.cjs",
|
21 | "default": "./index.js"
|
22 | }
|
23 | },
|
24 | "import": "./dist/vue-router.mjs",
|
25 | "require": "./index.js"
|
26 | },
|
27 | "./dist/*": "./dist/*",
|
28 | "./vetur/*": "./vetur/*",
|
29 | "./package.json": "./package.json",
|
30 | "./auto-routes": {
|
31 | "types": "./vue-router-auto-routes.d.ts",
|
32 | "node": {
|
33 | "import": {
|
34 | "production": "./dist/vue-router.node.mjs",
|
35 | "development": "./dist/vue-router.node.mjs",
|
36 | "default": "./dist/vue-router.node.mjs"
|
37 | },
|
38 | "require": {
|
39 | "production": "./dist/vue-router.prod.cjs",
|
40 | "development": "./dist/vue-router.cjs",
|
41 | "default": "./index.js"
|
42 | }
|
43 | },
|
44 | "import": "./dist/vue-router.mjs",
|
45 | "require": "./index.js"
|
46 | },
|
47 | "./auto": {
|
48 | "types": "./vue-router-auto.d.ts",
|
49 | "node": {
|
50 | "import": {
|
51 | "production": "./dist/vue-router.node.mjs",
|
52 | "development": "./dist/vue-router.node.mjs",
|
53 | "default": "./dist/vue-router.node.mjs"
|
54 | },
|
55 | "require": {
|
56 | "production": "./dist/vue-router.prod.cjs",
|
57 | "development": "./dist/vue-router.cjs",
|
58 | "default": "./index.js"
|
59 | }
|
60 | },
|
61 | "import": "./dist/vue-router.mjs",
|
62 | "require": "./index.js"
|
63 | }
|
64 | },
|
65 | "sideEffects": false,
|
66 | "author": {
|
67 | "name": "Eduardo San Martin Morote",
|
68 | "email": "posva13@gmail.com"
|
69 | },
|
70 | "funding": "https://github.com/sponsors/posva",
|
71 | "license": "MIT",
|
72 | "repository": {
|
73 | "type": "git",
|
74 | "url": "git+https://github.com/vuejs/router.git"
|
75 | },
|
76 | "bugs": {
|
77 | "url": "https://github.com/vuejs/router/issues"
|
78 | },
|
79 | "homepage": "https://github.com/vuejs/router#readme",
|
80 | "files": [
|
81 | "index.js",
|
82 | "dist/*.{js,cjs,mjs}",
|
83 | "dist/vue-router.d.ts",
|
84 | "vue-router-auto.d.ts",
|
85 | "vue-router-auto-routes.d.ts",
|
86 | "vetur/tags.json",
|
87 | "vetur/attributes.json",
|
88 | "README.md"
|
89 | ],
|
90 | "peerDependencies": {
|
91 | "vue": "^3.2.0"
|
92 | },
|
93 | "vetur": {
|
94 | "tags": "vetur/tags.json",
|
95 | "attributes": "vetur/attributes.json"
|
96 | },
|
97 | "dependencies": {
|
98 | "@vue/devtools-api": "^6.6.4"
|
99 | },
|
100 | "devDependencies": {
|
101 | "@microsoft/api-extractor": "^7.48.0",
|
102 | "@rollup/plugin-alias": "^5.1.1",
|
103 | "@rollup/plugin-commonjs": "^25.0.8",
|
104 | "@rollup/plugin-node-resolve": "^15.3.0",
|
105 | "@rollup/plugin-replace": "^5.0.7",
|
106 | "@rollup/plugin-terser": "^0.4.4",
|
107 | "@types/jsdom": "^21.1.7",
|
108 | "@types/nightwatch": "^2.3.32",
|
109 | "@vitejs/plugin-vue": "^5.2.0",
|
110 | "@vue/compiler-sfc": "~3.5.13",
|
111 | "@vue/server-renderer": "~3.5.13",
|
112 | "@vue/test-utils": "^2.4.6",
|
113 | "browserstack-local": "^1.5.5",
|
114 | "chromedriver": "^131.0.1",
|
115 | "connect-history-api-fallback": "^1.6.0",
|
116 | "conventional-changelog-cli": "^2.2.2",
|
117 | "dotenv": "^16.4.5",
|
118 | "faked-promise": "^2.2.2",
|
119 | "geckodriver": "^4.5.1",
|
120 | "happy-dom": "^15.11.6",
|
121 | "nightwatch": "^2.6.25",
|
122 | "nightwatch-helpers": "^1.2.0",
|
123 | "rimraf": "^6.0.1",
|
124 | "rollup": "^3.29.5",
|
125 | "rollup-plugin-analyzer": "^4.0.0",
|
126 | "rollup-plugin-typescript2": "^0.36.0",
|
127 | "vite": "^5.4.11",
|
128 | "vue": "~3.5.13"
|
129 | },
|
130 | "scripts": {
|
131 | "dev": "vitest --ui",
|
132 | "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
|
133 | "build": "rimraf dist && rollup -c rollup.config.mjs",
|
134 | "build:dts": "api-extractor run --local --verbose && tail -n +10 src/globalExtensions.ts >> dist/vue-router.d.ts",
|
135 | "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.ts",
|
136 | "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.mjs",
|
137 | "build:size": "pnpm run build && rollup -c size-checks/rollup.config.mjs",
|
138 | "dev:e2e": "vite --config e2e/vite.config.mjs",
|
139 | "test:types": "tsc --build tsconfig.json",
|
140 | "test:unit": "vitest --coverage run",
|
141 | "test": "pnpm run build && pnpm run build:dts && pnpm run test:types && pnpm run test:unit && pnpm run test:e2e",
|
142 | "test:e2e": "pnpm run test:e2e:headless",
|
143 | "test:e2e:headless": "node e2e/runner.mjs --env chrome-headless",
|
144 | "test:e2e:native": "node e2e/runner.mjs --env chrome",
|
145 | "test:e2e:ci": "node e2e/runner.mjs --env chrome-headless --retries 2",
|
146 | "test:e2e:bs": "node e2e/runner.mjs --local -e android5 --tag browserstack",
|
147 | "test:e2e:bs-test": "node e2e/runner.mjs --local --env browserstack.local_chrome --tag browserstack"
|
148 | }
|
149 | } |
\ | No newline at end of file |