Repository navigation
Expand file tree
/
Copy pathpackage.json
More file actions
91 lines (91 loc) · 2.9 KB
/
Copy pathpackage.json
File metadata and controls
91 lines (91 loc) · 2.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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
{
"name": "dom-renderer",
"version": "2.7.0",
"license": "LGPL-3.0-or-later",
"author": "shiy2008@gmail.com",
"description": "A light-weight DOM Renderer supports Web components standard & TypeScript language",
"keywords": [
"light-weight",
"dom",
"render",
"web",
"component",
"typescript"
],
"homepage": "https://web-cell.dev/DOM-Renderer/",
"repository": {
"type": "git",
"url": "git+https://github.com/EasyWebApp/DOM-Renderer.git"
},
"bugs": {
"url": "https://github.com/EasyWebApp/DOM-Renderer/issues"
},
"source": "source/dist/index.ts",
"types": "dist/index.d.ts",
"main": "dist/index.js",
"exports": {
".": {
"types": "./dist/index.d.ts",
"default": "./dist/index.js"
},
"./jsx-runtime": {
"types": "./jsx-runtime.d.ts",
"default": "./jsx-runtime.js"
},
"./jsx-dev-runtime": {
"types": "./jsx-dev-runtime.d.ts",
"default": "./jsx-dev-runtime.js"
},
"./assert": {
"types": "./assert.d.ts",
"default": "./assert.js"
},
"./package.json": "./package.json"
},
"dependencies": {
"declarative-shadow-dom-polyfill": "^0.4.1",
"scheduler-polyfill": "^1.3.0",
"tslib": "^2.8.1",
"web-streams-polyfill": "^4.3.0",
"web-utility": "^4.8.1"
},
"peerDependencies": {
"happy-dom": "^21.0.4",
"expect": "^30.5.2"
},
"devDependencies": {
"@happy-dom/global-registrator": "^21.0.4",
"@types/node": "^26.6.5",
"expect": "^30.5.2",
"happy-dom": "^21.0.4",
"husky": "^9.1.7",
"jest-mock": "^30.5.2",
"lint-staged": "^17.6.0",
"open-cli": "^9.0.0",
"prettier": "^3.9.10",
"tsx": "^4.23.15",
"typedoc": "^0.28.20",
"typedoc-plugin-mdn-links": "^5.1.1",
"typescript": "~5.9.3"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"printWidth": 100
},
"lint-staged": {
"*.{md,json,yml,ts}": "prettier --write"
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
"prepare": "husky",
"test": "lint-staged && tsx --tsconfig test/tsconfig.json --test --import ./test/setup.ts \"test/*.spec.ts\" \"test/*.spec.tsx\"",
"make-jsx": "mv dist/jsx-runtime.* . && cp jsx-runtime.js jsx-dev-runtime.js",
"parcel": "tsc -p tsconfig.json && npm run make-jsx && mv dist/assert.* . && mv dist/dist/* dist/ && rm -rf dist/dist",
"build": "rm -rf dist/ docs/ && typedoc && npm run parcel",
"start": "typedoc && open-cli docs/index.html",
"prepublishOnly": "npm test && npm run build"
}
}