-
Notifications
You must be signed in to change notification settings - Fork 6
/
package.json
113 lines (113 loc) · 2.78 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
{
"name": "@tomjs/vite-plugin-vscode",
"version": "3.2.1",
"description": "Use vue/react to develop 'vscode extension webview', supporting esm/cjs",
"keywords": [
"vite",
"plugin",
"vscode",
"html",
"hmr",
"extension",
"webview",
"esm",
"cjs"
],
"author": {
"name": "Tom Gao",
"email": "[email protected]"
},
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": {
"default": "./dist/index.js",
"types": "./dist/index.d.ts"
},
"import": {
"default": "./dist/index.mjs",
"types": "./dist/index.d.mts"
}
},
"./webview": {
"require": {
"default": "./dist/webview.js",
"types": "./dist/webview.d.ts"
},
"import": {
"default": "./dist/webview.mjs",
"types": "./dist/webview.d.mts"
}
},
"./client": "./dist/client.global.js",
"./env": "./env.d.ts"
},
"files": [
"dist",
"env.d.ts"
],
"engines": {
"node": ">=16"
},
"packageManager": "[email protected]",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomjs/vite-plugin-vscode.git"
},
"scripts": {
"dev": "pnpm clean && tsup --watch",
"build": "pnpm clean && tsup",
"clean": "rimraf ./dist",
"lint": "run-s lint:eslint lint:stylelint lint:prettier",
"lint:eslint": "eslint \"{src,scripts,examples}/**/*.{tsx,cjs,ts,vue}\" *.{cjs,ts} --fix --cache",
"lint:stylelint": "stylelint \"examples/**/*.{css,scss,less,vue,html}\" --fix --cache",
"lint:prettier": "prettier --write .",
"prepare": "husky",
"prepublishOnly": "pnpm build"
},
"dependencies": {
"@tomjs/node": "^2.2.3",
"dayjs": "^1.11.13",
"execa": "^5.1.1",
"kolorist": "^1.8.0",
"lodash.clonedeep": "^4.5.0",
"lodash.merge": "^4.6.2",
"node-html-parser": "^6.1.13",
"tsup": "7.2.0"
},
"devDependencies": {
"@commitlint/cli": "^19.6.0",
"@tomjs/commitlint": "^3.3.0",
"@tomjs/eslint": "^4.1.0",
"@tomjs/prettier": "^1.4.1",
"@tomjs/stylelint": "^2.6.1",
"@tomjs/tsconfig": "^1.7.1",
"@types/lodash.clonedeep": "^4.5.9",
"@types/lodash.merge": "^4.6.9",
"@types/node": "18.19.67",
"@vitejs/plugin-vue": "^5.1.4",
"cross-env": "^7.0.3",
"eslint": "^9.16.0",
"globals": "^15.13.0",
"husky": "^9.1.7",
"lint-staged": "^15.2.10",
"npm-run-all": "^4.1.5",
"prettier": "^3.4.2",
"rimraf": "^6.0.1",
"stylelint": "^16.11.0",
"tsx": "^4.19.2",
"typescript": "~5.3.3",
"vite": "^5.4.11",
"vue-tsc": "^2.1.10"
},
"peerDependencies": {
"vite": ">=2"
}
}