-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.json
60 lines (60 loc) · 1.58 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
{
"name": "rollup-plugin-html2",
"version": "4.0.0",
"description": "Rollup plugin to zip up emitted files.",
"homepage": "https://mentaljam.github.io/rollup-plugin-html2",
"repository": {
"type": "git",
"url": "git+ssh://github.com/mentaljam/rollup-plugin-html2"
},
"bugs": {
"url": "https://github.com/mentaljam/rollup-plugin-html2/issues"
},
"type": "module",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/cjs/index.cjs"
}
},
"files": [
"dist",
"LICENSE",
"README.md"
],
"scripts": {
"prebuild": "pnpm run lint",
"build": "npm run build:cjs && npm run build:esm && npm run build:types",
"build:cjs": "tsc -m commonjs --outDir dist/cjs",
"build:esm": "tsc -m es6",
"build:types": "tsc -d --emitDeclarationOnly",
"docs": "npx typedoc src/types.ts && npx gh-pages -d docs",
"lint": "eslint src/*.ts -f visualstudio",
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [
"rollup",
"plugin",
"html"
],
"author": "Petr Tsymbarovich <[email protected]>",
"license": "MIT",
"dependencies": {
"html-minifier": "^4.0.0",
"node-html-parser": "^6.1.5"
},
"devDependencies": {
"@types/html-minifier": "^4.0.2",
"@types/node": "^18.15.3",
"@typescript-eslint/eslint-plugin": "^5.55.0",
"@typescript-eslint/parser": "^5.55.0",
"eslint": "^8.36.0",
"rollup": "^3.19.1",
"typescript": "^5.0.2"
},
"peerDependencies": {
"@types/html-minifier": "^4.0",
"rollup": ">=3.0"
}
}