-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
85 lines (85 loc) · 2.72 KB
/
package.json
File metadata and controls
85 lines (85 loc) · 2.72 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
84
85
{
"name": "esbuild-plugin-html-entry",
"description": "esbuild plugin that allows HTML files to be used as entry points",
"version": "0.1.0",
"author": "Mark Wainwright",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/markwainwright/esbuild-plugin-html-entry.git"
},
"engines": {
"node": ">=18"
},
"type": "module",
"files": [
"dist"
],
"exports": {
".": {
"import": {
"types": "./dist/esm/index.d.ts",
"default": "./dist/esm/index.js"
},
"require": {
"types": "./dist/cjs/index.d.ts",
"default": "./dist/cjs/index.js"
}
}
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.js",
"types": "./dist/cjs/index.d.ts",
"scripts": {
"build": "./build.sh",
"check": "prettier --check \"src/**/*.ts\" \"test/**/*.ts\" && eslint && tsc --noEmit",
"prepack": "npm run build",
"test:ci": "npm run build && c8 node --test --test-reporter=@voxpelli/node-test-pretty-reporter --import tsx/esm test/*.ts test/esm/test.mjs test/cjs/test.cjs",
"test:coverage": "c8 node --test --test-reporter=@voxpelli/node-test-pretty-reporter --import tsx/esm test/*.ts",
"test:update": "rm -rf test/output/{actual,expected}/* && npm run build && node --test --import tsx/esm test/*.ts test/esm/test.mjs test/cjs/test.cjs > /dev/null ; cp -r test/output/actual/* test/output/expected/",
"test:watch:only": "node --test --test-only --watch --test-reporter=@voxpelli/node-test-pretty-reporter --import=tsx/esm test/*.ts",
"test:watch": "node --test --watch --import=tsx/esm test/*.ts",
"test:only": "node --test --test-only --test-reporter=@voxpelli/node-test-pretty-reporter --import tsx/esm test/*.ts",
"test": "node --test --test-reporter=@voxpelli/node-test-pretty-reporter --import tsx/esm test/*.ts"
},
"dependencies": {
"@types/html-minifier-terser": "^7.0.2",
"cheerio": "^1.0.0",
"html-minifier-terser": "^7.2.0"
},
"peerDependencies": {
"esbuild": ">= 0.19.5 < 0.25.0"
},
"devDependencies": {
"@eslint/js": "^9.14.0",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^22.9.0",
"@voxpelli/node-test-pretty-reporter": "^1.1.2",
"c8": "^10.1.2",
"dir-compare": "^5.0.0",
"esbuild": "^0.24.0",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"globals": "^15.12.0",
"prettier": "^3.3.3",
"rimraf": "^6.0.1",
"tsx": "^4.19.2",
"typescript": "^5.6.3",
"typescript-eslint": "^8.13.0"
},
"c8": {
"lines": 95,
"functions": 100,
"branch": 95,
"statements": 95,
"all": true,
"include": [
"src/**/*.ts"
],
"check-coverage": true,
"reporter": [
"text",
"html"
]
}
}