-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
94 lines (94 loc) · 2.43 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
{
"name": "@tomjs/vite-plugin-html",
"version": "1.5.2",
"description": "A Vite plugin for handling HTML files, providing compression, template, and CDN functionality.",
"keywords": [
"vite",
"plugin",
"vue",
"react",
"html",
"template",
"minify",
"loading",
"cdn"
],
"author": {
"name": "tom",
"email": "[email protected]"
},
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/tomjs/vite-plugin-html.git"
},
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org"
},
"files": [
"dist",
"*.md"
],
"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"
}
},
"scripts": {
"dev": "tsup --watch",
"build": "tsup",
"lint": "run-s lint:eslint lint:stylelint lint:prettier",
"lint:eslint": "eslint \"{src,examples}/**/*.{js,cjs,ts,tsx,vue}\" *.{js,cjs,ts} --fix --cache",
"lint:stylelint": "stylelint \"examples/**/*.{vue,css,less,html}\" --fix --cache",
"lint:prettier": "prettier --write \"{src,examples}/**/*.{js,cjs,ts,tsx,json,md,html}\" *.{js,cjs,ts,json,md}",
"prepare": "husky install",
"prepublishOnly": "pnpm build"
},
"engines": {
"node": ">=16"
},
"dependencies": {
"@rollup/pluginutils": "^5.1.0",
"fs-extra": "^11.2.0",
"html-minifier-terser": "^7.2.0",
"lodash": "^4.17.21",
"node-html-parser": "^6.1.12",
"rollup-plugin-external-globals": "^0.9.1",
"semver": "^7.5.4"
},
"devDependencies": {
"@commitlint/cli": "^18.4.3",
"@tomjs/commitlint": "^2.1.1",
"@tomjs/eslint": "^1.2.1",
"@tomjs/prettier": "^1.1.1",
"@tomjs/stylelint": "^2.1.1",
"@tomjs/tsconfig": "^1.2.1",
"@types/fs-extra": "^11.0.4",
"@types/html-minifier-terser": "^7.0.2",
"@types/lodash": "^4.14.202",
"@types/node": "^18.19.3",
"@types/semver": "^7.5.6",
"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.1.1",
"stylelint": "^16.1.0",
"tsup": "^8.0.1",
"tsx": "^4.7.0",
"typescript": "~5.3.3",
"vite": "^5.0.10"
},
"packageManager": "[email protected]"
}