-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
83 lines (83 loc) · 2.15 KB
/
package.json
File metadata and controls
83 lines (83 loc) · 2.15 KB
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
{
"name": "vite-plugin-html-minifier",
"version": "1.0.5",
"description": "HTML minifier plugin for Vite",
"author": "erm1116",
"license": "MIT",
"homepage": "https://github.com/erm1116/vite-plugin-html-minifier",
"repository": {
"type": "git",
"url": "https://github.com/erm1116/vite-plugin-html-minifier.git"
},
"bugs": {
"url": "https://github.com/erm1116/vite-plugin-html-minifier/issues"
},
"keywords": [
"vite-plugin",
"html",
"minify"
],
"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"
}
},
"files": [
"dist"
],
"scripts": {
"prepare": "husky",
"build": "tsup src/index.ts --format cjs,esm --dts --clean",
"test": "vitest",
"lint": "run-p -l -c --aggregate-output lint:*",
"lint:eslint": "eslint --cache .",
"lint:prettier": "prettier --check --cache .",
"fix": "run-s fix:prettier fix:eslint",
"fix:eslint": "pnpm run lint:eslint -- --fix",
"fix:prettier": "pnpm run lint:prettier -- --write",
"prepublishOnly": "pnpm run build",
"release": "npx bumpp --push --tag --commit && pnpm publish"
},
"dependencies": {
"html-minifier-terser": "^7.2.0"
},
"devDependencies": {
"@commitlint/cli": "19.8.1",
"@commitlint/config-conventional": "19.8.1",
"@types/html-minifier-terser": "7.0.2",
"@types/node": "20.17.24",
"@typescript-eslint/eslint-plugin": "7.18.0",
"@typescript-eslint/parser": "7.18.0",
"eslint": "8.57.1",
"eslint-config-prettier": "9.1.2",
"husky": "9.1.7",
"lint-staged": "15.5.2",
"npm-run-all2": "7.0.2",
"prettier": "3.8.1",
"tsup": "8.5.1",
"typescript": "5.9.3",
"vite": "5.4.14",
"vitest": "3.2.4"
},
"peerDependencies": {
"vite": ">=3.0.0"
},
"lint-staged": {
"*": [
"prettier --write --cache --ignore-unknown"
],
"*.{js,ts,jsx,tsx}": [
"eslint --cache --fix"
]
},
"packageManager": "pnpm@9.15.9",
"engines": {
"node": ">=20.10.0",
"pnpm": ">=9.0.4"
}
}