-
Notifications
You must be signed in to change notification settings - Fork 25
Expand file tree
/
Copy pathpackage.json
More file actions
87 lines (87 loc) · 2.09 KB
/
package.json
File metadata and controls
87 lines (87 loc) · 2.09 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
86
87
{
"name": "html5parser",
"description": "A super fast & tiny HTML5 parser",
"version": "3.0.0",
"author": "acrazing <joking.young@gmail.com>",
"keywords": [
"html5",
"parser",
"ast",
"attributes"
],
"license": "MIT",
"type": "module",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"browser": "./dist/index.umd.js",
"umd": "./dist/index.umd.js",
"unpkg": "./dist/index.umd.js",
"jsdelivr": "./dist/index.umd.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.cjs",
"default": "./dist/index.js"
},
"./dist/*": "./dist/*",
"./package.json": "./package.json"
},
"sideEffects": false,
"files": [
"dist/",
"src/"
],
"scripts": {
"clean": "rm -rf dist temp .cache",
"bundle": "tsup",
"build": "run-s clean bundle",
"typecheck": "tsc --noEmit",
"test": "vitest run",
"lint-staged": "lint-staged",
"prepublishOnly": "run-s test typecheck build",
"prepare": "husky || true"
},
"repository": {
"type": "git",
"url": "git+https://github.com/acrazing/html5parser.git"
},
"bugs": {
"url": "https://github.com/acrazing/html5parser/issues"
},
"homepage": "https://github.com/acrazing/html5parser#readme",
"devDependencies": {
"@swc/core": "^1.15.33",
"@types/fs-extra": "^11.0.4",
"@types/node": "^25.8.0",
"fs-extra": "^11.3.5",
"husky": "^9.1.7",
"lint-staged": "^17.0.4",
"npm-run-all2": "^8.0.4",
"prettier": "^3.8.3",
"tsup": "^8.5.1",
"typescript": "^6.0.3",
"vite": "^8.0.13",
"vitest": "^4.1.6"
},
"lint-staged": {
"*.{js,cjs,mjs,ts,tsx,json,css,less,scss,md}": [
"prettier --write"
]
},
"prettier": {
"printWidth": 100,
"tabWidth": 2,
"useTabs": false,
"semi": true,
"singleQuote": true,
"jsxSingleQuote": false,
"trailingComma": "all",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParens": "always",
"endOfLine": "lf"
},
"packageManager": "yarn@1.22.22"
}