UNPKG

4.31 kBJSONView Raw
1{
2 "name": "vue-router",
3 "version": "4.0.15",
4 "main": "dist/vue-router.cjs.js",
5 "unpkg": "dist/vue-router.global.js",
6 "jsdelivr": "dist/vue-router.global.js",
7 "module": "dist/vue-router.esm-bundler.js",
8 "types": "dist/vue-router.d.ts",
9 "sideEffects": false,
10 "funding": "https://github.com/sponsors/posva",
11 "license": "MIT",
12 "repository": {
13 "type": "git",
14 "url": "git+https://github.com/vuejs/router.git"
15 },
16 "bugs": {
17 "url": "https://github.com/vuejs/router/issues"
18 },
19 "homepage": "https://github.com/vuejs/router#readme",
20 "files": [
21 "dist/*.js",
22 "dist/vue-router.d.ts",
23 "vetur/tags.json",
24 "vetur/attributes.json",
25 "README.md"
26 ],
27 "scripts": {
28 "dev": "vite --config playground/vite.config.js",
29 "release": "bash scripts/release.sh",
30 "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
31 "build": "rollup -c rollup.config.js",
32 "build:dts": "api-extractor run --local --verbose && tail -n +7 src/globalExtensions.ts >> dist/vue-router.d.ts",
33 "build:playground": "vue-tsc --noEmit && vite build --config playground/vite.config.js",
34 "build:e2e": "vue-tsc --noEmit && vite build --config e2e/vite.config.js",
35 "build:size": "yarn run build && rollup -c size-checks/rollup.config.js",
36 "dev:e2e": "vite --config e2e/vite.config.js",
37 "docs": "vitepress dev docs",
38 "docs:build": "vitepress build docs",
39 "lint": "yarn run lint:script && yarn run lint:html",
40 "lint:script": "prettier -c --parser typescript \"{src,__tests__,e2e,playground}/**/*.[jt]s?(x)\"",
41 "lint:html": "prettier -c --parser html \"{playground,e2e}/**/*.html\"",
42 "lint:fix": "yarn run lint:script --write && yarn run lint:html --write",
43 "test:types": "tsc --build tsconfig.json",
44 "test:dts": "tsc -p ./test-dts/tsconfig.json",
45 "test:unit": "jest --coverage",
46 "test": "yarn run test:types && yarn run test:unit && yarn run build && yarn run build:dts && yarn run test:e2e",
47 "test:e2e": "yarn run test:e2e:headless && yarn run test:e2e:native",
48 "test:e2e:headless": "node e2e/runner.js -e chrome-headless --skiptags no-headless",
49 "test:e2e:native": "node e2e/runner.js -e chrome --tag no-headless",
50 "test:e2e:ci": "node e2e/runner.js -e firefox --retries 2",
51 "test:e2e:bs": "node e2e/runner.js --local -e edge_pre_chrome,android44 -c e2e/nightwatch.browserstack.js --tag browserstack"
52 },
53 "gitHooks": {
54 "pre-commit": "lint-staged",
55 "commit-msg": "node scripts/verifyCommit.js"
56 },
57 "lint-staged": {
58 "*.js": [
59 "prettier --write"
60 ],
61 "*.ts?(x)": [
62 "prettier --parser=typescript --write"
63 ]
64 },
65 "peerDependencies": {
66 "vue": "^3.2.0"
67 },
68 "vetur": {
69 "tags": "vetur/tags.json",
70 "attributes": "vetur/attributes.json"
71 },
72 "dependencies": {
73 "@vue/devtools-api": "^6.0.0"
74 },
75 "devDependencies": {
76 "@microsoft/api-extractor": "^7.18.11",
77 "@rollup/plugin-alias": "^3.1.4",
78 "@rollup/plugin-commonjs": "^21.0.2",
79 "@rollup/plugin-node-resolve": "^13.0.5",
80 "@rollup/plugin-replace": "^4.0.0",
81 "@sucrase/jest-plugin": "^2.1.1",
82 "@types/jest": "^27.4.1",
83 "@types/jsdom": "^16.2.13",
84 "@types/webpack": "^5.28.0",
85 "@types/webpack-env": "^1.16.2",
86 "@vitejs/plugin-vue": "^2.2.2",
87 "@vue/compiler-sfc": "^3.2.31",
88 "@vue/server-renderer": "^3.2.31",
89 "@vue/test-utils": "^2.0.0-rc.3",
90 "axios": "^0.26.0",
91 "brotli": "^1.3.2",
92 "browserstack-local": "^1.4.5",
93 "chalk": "^4.1.0",
94 "chromedriver": "^97.0.4",
95 "connect-history-api-fallback": "^1.6.0",
96 "conventional-changelog-cli": "^2.1.1",
97 "css-loader": "^6.3.0",
98 "dotenv": "^16.0.0",
99 "faked-promise": "^2.2.2",
100 "html-webpack-plugin": "^5.3.2",
101 "jest": "^27.5.1",
102 "jest-mock-warn": "^1.1.0",
103 "lint-staged": "^12.3.4",
104 "nightwatch": "^1.7.11",
105 "nightwatch-helpers": "^1.2.0",
106 "prettier": "^2.4.1",
107 "rollup": "^2.68.0",
108 "rollup-plugin-analyzer": "^4.0.0",
109 "rollup-plugin-terser": "^7.0.2",
110 "rollup-plugin-typescript2": "^0.31.0",
111 "selenium-server": "^3.141.59",
112 "serve-handler": "^6.1.3",
113 "typescript": "~4.4.3",
114 "vite": "~2.8.4",
115 "vitepress": "^0.20.0",
116 "vue": "^3.2.31",
117 "vue-tsc": "^0.32.0",
118 "yorkie": "^2.0.0"
119 }
120}