-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.json
127 lines (127 loc) · 2.99 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
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
{
"name": "html-svelte-parser",
"description": "HTML to Svelte parser.",
"version": "1.0.0",
"license": "AGPL-3.0-only",
"author": {
"name": "Patrick Günther",
"url": "https://patrick.id/"
},
"repository": {
"type": "git",
"url": "https://github.com/PatrickG/html-svelte-parser.git"
},
"bugs": {
"url": "https://github.com/PatrickG/html-svelte-parser/issues"
},
"keywords": [
"svelte",
"svelte-parser",
"html-svelte-parser",
"html-to-svelte"
],
"scripts": {
"dev": "vite dev",
"build": "vite build && pnpm package",
"preview": "vite preview",
"package": "svelte-kit sync && svelte-package && publint",
"prepublishOnly": "pnpm package",
"check": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch",
"lint": "prettier --check . && eslint .",
"format": "prettier --write .",
"test": "playwright test -c playwright.config.ts"
},
"exports": {
"./Html.svelte": {
"types": "./dist/Html.svelte.d.ts",
"svelte": "./dist/Html.svelte",
"default": "./dist/Html.svelte"
},
"./Renderer.svelte": {
"types": "./dist/Renderer.svelte.d.ts",
"svelte": "./dist/Renderer.svelte",
"default": "./dist/Renderer.svelte"
},
".": {
"types": "./dist/index.d.ts",
"svelte": "./dist/index.js",
"default": "./dist/index.js"
},
"./load": {
"types": "./dist/load.d.ts",
"default": "./dist/load.js"
},
"./parse": {
"types": "./dist/parse.d.ts",
"default": "./dist/parse.js"
},
"./types": {
"types": "./dist/types.d.ts",
"default": "./dist/types.js"
}
},
"typesVersions": {
">4.0": {
"Html.svelte": [
"./dist/Html.svelte.d.ts"
],
"Renderer.svelte": [
"./dist/Renderer.svelte.d.ts"
],
"index.d.ts": [
"./dist/index.d.ts"
],
"load": [
"./dist/load.d.ts"
],
"parse": [
"./dist/parse.d.ts"
],
"types": [
"./dist/types.d.ts"
]
}
},
"files": [
"dist",
"!dist/**/*.test.*",
"!dist/**/*.spec.*"
],
"peerDependencies": {
"svelte": "^3.47.0 || ^4.0.0 || ^5.0.0-next.0"
},
"devDependencies": {
"@playwright/experimental-ct-svelte": "^1.40.1",
"@playwright/test": "^1.28.1",
"@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.0",
"@sveltejs/package": "^2.0.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0",
"@types/eslint": "8.56.0",
"@types/node": "^20.10.8",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"prettier": "^3.1.1",
"prettier-plugin-svelte": "^3.1.2",
"publint": "^0.1.9",
"svelte": "^4.2.7",
"svelte-check": "^3.6.0",
"tslib": "^2.4.1",
"typescript": "^5.0.0",
"vite": "^5.0.3"
},
"dependencies": {
"dom-serializer": "^2.0.0",
"domhandler": "^5.0.3",
"esm-env": "^1.0.0",
"html-dom-parser": "^5.0.6",
"htmlparser2": "9.0.0"
},
"svelte": "./dist/index.js",
"types": "./dist/index.d.ts",
"type": "module"
}