/
package.json
140 lines (140 loc) · 3.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
{
"name": "unplugin-vue-router",
"version": "0.2.3",
"packageManager": "pnpm@7.17.0",
"description": "File based typed routing for Vue Router",
"keywords": [
"vue-router",
"pages",
"filesystem",
"types",
"typed",
"router",
"unplugin",
"vite",
"webpack",
"rollup"
],
"homepage": "https://github.com/posva/unplugin-vue-router#readme",
"bugs": {
"url": "https://github.com/posva/unplugin-vue-router/issues"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/posva/unplugin-vue-router.git"
},
"main": "dist/index.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./vite": {
"require": "./dist/vite.js",
"import": "./dist/vite.mjs"
},
"./webpack": {
"require": "./dist/webpack.js",
"import": "./dist/webpack.mjs"
},
"./rollup": {
"require": "./dist/rollup.js",
"import": "./dist/rollup.mjs"
},
"./esbuild": {
"require": "./dist/esbuild.js",
"import": "./dist/esbuild.mjs"
},
"./options": {
"require": "./dist/options.js",
"import": "./dist/options.mjs"
},
"./runtime": {
"require": "./dist/runtime.js",
"import": "./dist/runtime.mjs"
},
"./*": "./*"
},
"files": [
"dist",
"./route.schema.json",
"*.d.ts"
],
"scripts": {
"build": "tsup",
"dev": "tsup --watch src",
"build:fix": "esno scripts/postbuild.ts",
"lint": "prettier -c '{src,examples,playground}/**/*.{ts,vue}'",
"play": "npm -C playground run dev",
"play:build": "npm -C playground run build",
"release": "node scripts/release.mjs",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"start": "esno src/index.ts",
"test": "vitest"
},
"gitHooks": {
"pre-commit": "lint-staged",
"commit-msg": "node scripts/verifyCommit.mjs"
},
"lint-staged": {
"*.js": [
"prettier --write"
],
"*.ts?(x)": [
"prettier --parser=typescript --write"
]
},
"dependencies": {
"@babel/types": "^7.20.2",
"@rollup/pluginutils": "^5.0.2",
"@vue-macros/common": "^0.13.4",
"ast-walker-scope": "^0.3.0",
"chokidar": "^3.5.3",
"fast-glob": "^3.2.12",
"json5": "^2.2.1",
"local-pkg": "^0.4.2",
"mlly": "^1.0.0",
"pathe": "^1.0.0",
"scule": "^0.3.2",
"unplugin": "^0.10.2",
"yaml": "^2.1.3"
},
"peerDependencies": {
"vue-router": "^4.1.0"
},
"peerDependenciesMeta": {
"vue-router": {
"optional": true
}
},
"devDependencies": {
"@volar/vue-language-core": "^0.40.13",
"c8": "^7.12.0",
"chalk": "^5.1.2",
"conventional-changelog-cli": "^2.2.2",
"enquirer": "^2.3.6",
"esno": "^0.16.3",
"execa": "^6.1.0",
"lint-staged": "^13.0.3",
"minimist": "^1.2.7",
"nodemon": "^2.0.20",
"p-series": "^3.0.0",
"prettier": "^2.7.1",
"rimraf": "^3.0.2",
"rollup": "^3.3.0",
"semver": "^7.3.8",
"ts-expect": "^1.3.0",
"tsup": "^6.5.0",
"typescript": "^4.9.3",
"unplugin-auto-import": "^0.11.4",
"vite": "^3.2.4",
"vitest": "^0.25.2",
"vue": "^3.2.45",
"vue-router": "^4.1.6",
"webpack": "^5.75.0",
"yorkie": "^2.0.0"
}
}