-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.json
82 lines (82 loc) · 2.47 KB
/
package.json
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
{
"name": "dom-renderer",
"version": "2.6.1",
"license": "LGPL-3.0-or-later",
"author": "[email protected]",
"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",
"dependencies": {
"declarative-shadow-dom-polyfill": "^0.4.0",
"scheduler-polyfill": "^1.3.0",
"tslib": "^2.8.1",
"web-streams-polyfill": "^4.0.0",
"web-utility": "^4.4.2"
},
"peerDependencies": {
"happy-dom": "^14"
},
"devDependencies": {
"@happy-dom/jest-environment": "^14.12.3",
"@types/jest": "^29.5.14",
"@types/node": "^20.17.7",
"happy-dom": "^14.12.3",
"husky": "^9.1.7",
"jest": "^29.7.0",
"lint-staged": "^15.2.10",
"open-cli": "^8.0.0",
"prettier": "^3.3.3",
"ts-jest": "^29.2.5",
"typedoc": "^0.26.11",
"typedoc-plugin-mdn-links": "^4.0.1",
"typescript": "~5.7.2"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
"arrowParens": "avoid",
"tabWidth": 4,
"printWidth": 100
},
"lint-staged": {
"*.{md,json,yml,ts}": "prettier --write"
},
"jest": {
"preset": "ts-jest",
"testEnvironment": "@happy-dom/jest-environment",
"transform": {
"\\.tsx?$": [
"ts-jest",
{
"tsconfig": "test/tsconfig.json"
}
]
}
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
"prepare": "husky",
"test": "lint-staged && jest",
"parcel": "tsc -p tsconfig.json && mv dist/jsx-runtime.* . && cp jsx-runtime.js jsx-dev-runtime.js && 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"
}
}