You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.7 KiB
48 lines
1.7 KiB
2 years ago
|
{
|
||
|
"name": "@vitejs/plugin-vue",
|
||
|
"version": "2.3.3",
|
||
|
"license": "MIT",
|
||
|
"author": "Evan You",
|
||
|
"files": [
|
||
|
"dist"
|
||
|
],
|
||
|
"main": "dist/index.js",
|
||
|
"types": "dist/index.d.ts",
|
||
|
"scripts": {
|
||
|
"dev": "rimraf dist && run-p dev-types dev-watch",
|
||
|
"dev-types": "tsc -p . -w --incremental --emitDeclarationOnly",
|
||
|
"dev-watch": "esbuild src/index.ts --watch --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js",
|
||
|
"build": "rimraf dist && run-s build-bundle build-types",
|
||
|
"build-bundle": "esbuild src/index.ts --bundle --platform=node --target=node12 --external:@vue/compiler-sfc --external:vue/compiler-sfc --external:vite --outfile=dist/index.js & npm run patch-dist",
|
||
|
"patch-dist": "ts-node ../../scripts/patchEsbuildDist.ts dist/index.js vuePlugin",
|
||
|
"build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",
|
||
|
"prepublishOnly": "(cd ../vite && npm run build) && npm run build"
|
||
|
},
|
||
|
"engines": {
|
||
|
"node": ">=12.0.0"
|
||
|
},
|
||
|
"repository": {
|
||
|
"type": "git",
|
||
|
"url": "git+https://github.com/vitejs/vite.git",
|
||
|
"directory": "packages/plugin-vue"
|
||
|
},
|
||
|
"bugs": {
|
||
|
"url": "https://github.com/vitejs/vite/issues"
|
||
|
},
|
||
|
"homepage": "https://github.com/vitejs/vite/tree/main/packages/plugin-vue#readme",
|
||
|
"peerDependencies": {
|
||
|
"vite": "^2.5.10",
|
||
|
"vue": "^3.2.25"
|
||
|
},
|
||
|
"devDependencies": {
|
||
|
"@rollup/pluginutils": "^4.2.1",
|
||
|
"@types/hash-sum": "^1.0.0",
|
||
|
"debug": "^4.3.4",
|
||
|
"hash-sum": "^2.0.0",
|
||
|
"rollup": "^2.59.0",
|
||
|
"slash": "^4.0.0",
|
||
|
"source-map": "^0.6.1",
|
||
|
"vue": "^3.2.33"
|
||
|
}
|
||
|
}
|