-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
47 lines (47 loc) · 1.33 KB
/
package.json
File metadata and controls
47 lines (47 loc) · 1.33 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
{
"name": "@packt/html-transformer",
"version": "0.1.4",
"description": "A HTML to HTML transformation library based on CSS selector rules and Cheerio",
"module": "src/index.ts",
"type": "module",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"types": "./dist/index.d.ts"
},
"files": ["dist", "README.md"],
"scripts": {
"build": "bun run build:bundle && bun run build:types",
"build:bundle": "bun build ./src/index.ts --outdir ./dist --target node",
"build:types": "tsc -p tsconfig.json",
"clean": "rm -rf dist",
"lint": "biome check .",
"lint:fix": "biome check --write .",
"format": "biome format --write .",
"test": "bun test",
"test:watch": "bun test --watch",
"test:coverage": "bun test --coverage",
"prepublish": "bun run build"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@types/bun": "latest",
"bun-types": "latest",
"typescript": "^5.0.0"
},
"dependencies": {
"cheerio": "^1.0.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/PacktDev/html-transformer.git"
},
"keywords": ["html", "transformer", "cheerio", "css-selector"],
"author": "Packt Publishing",
"license": "MIT",
"publishConfig": {
"access": "public"
}
}