WXL
3 天以前 3bd962a6d7f61239c020e2dbbeb7341e5b842dd1
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
{
  "name": "@vitejs/plugin-vue",
  "version": "1.10.2",
  "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",
    "build-types": "tsc -p . --emitDeclarationOnly --outDir temp && api-extractor run && rimraf temp",
    "changelog": "conventional-changelog -p angular -i CHANGELOG.md -s --commit-path . --lerna-package plugin-vue",
    "release": "node ../../scripts/release.cjs"
  },
  "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"
  },
  "devDependencies": {
    "@rollup/pluginutils": "^4.1.1",
    "@types/hash-sum": "^1.0.0",
    "@vue/compiler-sfc": "^3.2.23",
    "debug": "^4.3.2",
    "hash-sum": "^2.0.0",
    "rollup": "^2.59.0",
    "slash": "^4.0.0",
    "source-map": "^0.6.1",
    "vue": "^3.2.23"
  }
}