-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
75 lines (75 loc) · 1.94 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
{
"name": "@tomjs/vscode-extension-webview",
"version": "2.0.0",
"description": "When using 'webview.html' in vscode extension development, 'HMR' of vue/react is supported.",
"keywords": [
"vscode",
"extension",
"webview",
"dev",
"development",
"hmr"
],
"author": {
"name": "Tom Gao",
"email": "tom@tomgao.cc"
},
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
"types": "./dist/index.d.ts",
"exports": {
".": {
"require": "./dist/index.js",
"import": "./dist/index.mjs",
"types": "./dist/index.d.ts"
},
"./client": "./dist/client.global.js"
},
"files": [
"dist"
],
"engines": {
"node": ">=14"
},
"packageManager": "pnpm@9.1.4",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"repository": {
"type": "git",
"url": "git+https://github.com/tomjs/vscode-extension-webview.git"
},
"scripts": {
"dev": "tsup --watch",
"build": "rimraf ./dist && tsup",
"lint": "run-s lint:eslint lint:stylelint lint:prettier",
"lint:eslint": "eslint \"{src,examples,scripts}/**/*.ts\" *.{js,cjs,ts,tsx,vue} --fix --cache",
"lint:stylelint": "stylelint \"examples/**/*.{css,scss,less,vue,html}\" --fix --cache",
"lint:prettier": "prettier --write .",
"prepare": "husky install",
"prepublishOnly": "pnpm build"
},
"devDependencies": {
"@commitlint/cli": "^18.4.4",
"@tomjs/commitlint": "^2.2.0",
"@tomjs/eslint": "^1.3.0",
"@tomjs/prettier": "^1.3.0",
"@tomjs/stylelint": "^2.3.0",
"@tomjs/tsconfig": "^1.4.0",
"@types/node": "^18.19.8",
"chokidar": "^3.5.3",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.2.4",
"rimraf": "^5.0.5",
"stylelint": "^16.2.0",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "~5.3.3"
}
}