-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
64 lines (64 loc) · 1.9 KB
/
package.json
File metadata and controls
64 lines (64 loc) · 1.9 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
{
"name": "html-rewriter-plus",
"version": "0.1.1",
"main": "dist/index.js",
"type": "module",
"description": "Adds dynamic content to HTML files on the fly",
"keywords": [
"html",
"rewriter",
"worker",
"cloudflare"
],
"license": "Apache-2.0",
"repository": {
"type": "git",
"url": "https://github.com/hacknlove/html-rewriter-plus"
},
"bugs": {
"url": "https://github.com/hacknlove/html-rewriter-plus"
},
"homepage": "https://github.com/hacknlove/html-rewriter-plus",
"author": {
"name": "Antonio Fernandez-Porrua"
},
"scripts": {
"build:test": "tsc --project tsconfig.esm.json",
"clean:test": "rm -r ./e2e/dist",
"test": "tsc --project tsconfig.esm.json --noEmit && vitest --config ./vitest.unit.config.mts && vitest --config ./vitest.e2e.config.mts",
"test:unit": "vitest --coverage --ui --config ./vitest.unit.config.mts",
"test:e2e": "vitest --ui --watch --config ./vitest.e2e.config.mts",
"lint": "eslint ./src ./e2e --fix && tsc --noEmit",
"format": "prettier --write \"**/*.ts\""
},
"devDependencies": {
"@cloudflare/workers-types": "^4.20240821.1",
"@eslint/js": "^9.9.1",
"@types/node": "^22.5.0",
"@typescript-eslint/eslint-plugin": "^8.3.0",
"@typescript-eslint/parser": "^8.3.0",
"@vitest/coverage-istanbul": "^2.0.5",
"@vitest/ui": "^2.0.5",
"@worker-tools/parsed-html-rewriter": "^0.1.11",
"eslint": "^9.9.1",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"globals": "^15.9.0",
"html-rewriter-wasm": "^0.4.1",
"miniflare": "^3.20240821.1",
"prettier": "^3.3.3",
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0",
"vite-tsconfig-paths": "^5.0.1",
"vitest": "^2.0.5"
},
"exports": {
".": {
"import": "./src/index.ts",
"require": "./dist/commonjs/index.js"
}
},
"dependencies": {
"htmlfy": "^0.2.1"
}
}