@docling/docling-components 0.0.6 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,18 +1,43 @@
1
1
  {
2
2
  "name": "@docling/docling-components",
3
- "version": "0.0.6",
3
+ "version": "0.0.10",
4
4
  "description": "Web components for displaying Docling output.",
5
- "main": "./dist/index.js",
5
+ "type": "module",
6
+ "main": "dist/index.cjs",
7
+ "module": "dist/index.js",
8
+ "types": "dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": {
12
+ "types": "./dist/index.d.ts",
13
+ "default": "./dist/index.js"
14
+ },
15
+ "require": {
16
+ "types": "./dist/index.d.cts",
17
+ "default": "./dist/index.cjs"
18
+ }
19
+ }
20
+ },
6
21
  "files": [
7
22
  "dist"
8
23
  ],
9
24
  "scripts": {
10
- "build": "svelteup",
11
- "format": "prettier --write --plugin-search-dir=. .",
12
- "lint": "npm run lint-code ; npm run lint-styles",
13
- "lint:fix": "npm run lint-code -- --fix ; npm run lint-styles -- --fix",
14
- "lint-code": "eslint .",
15
- "lint-styles": "stylelint --ignore-path .gitignore '**/*.{css,scss,sass}'"
25
+ "build": "tsup",
26
+ "dev": "tsup --watch",
27
+ "format": "prettier --write .",
28
+ "format:check": "prettier --check .",
29
+ "lint": "eslint .",
30
+ "lint:fix": "eslint . --fix",
31
+ "typecheck": "tsc --noEmit",
32
+ "test": "npm run test:unit",
33
+ "test:unit": "vitest run",
34
+ "test:unit:watch": "vitest",
35
+ "test:e2e": "playwright test",
36
+ "test:e2e:update": "playwright test --update-snapshots",
37
+ "test:e2e:real-cdn": "REAL_CDN=1 playwright test --project=cdn",
38
+ "publint": "publint",
39
+ "attw": "attw --pack .",
40
+ "check": "npm run format:check && npm run lint && npm run typecheck && npm run build && npm run publint && npm run attw && npm run test:unit && npm run test:e2e"
16
41
  },
17
42
  "keywords": [
18
43
  "html",
@@ -43,29 +68,41 @@
43
68
  "Panos Vagenas <pva@zurich.ibm.com>"
44
69
  ],
45
70
  "license": "MIT",
71
+ "sideEffects": false,
72
+ "engines": {
73
+ "node": ">=18"
74
+ },
46
75
  "repository": {
47
76
  "type": "git",
48
- "url": "https://github.com/DS4SD/docling-ts.git"
77
+ "url": "git+https://github.com/docling-project/docling-ts.git",
78
+ "directory": "docling-components"
49
79
  },
50
80
  "bugs": {
51
- "url": "https://github.com/DS4SD/docling-ts/issues"
81
+ "url": "https://github.com/docling-project/docling-ts/issues"
82
+ },
83
+ "homepage": "https://github.com/docling-project/docling-ts/tree/main/docling-components",
84
+ "publishConfig": {
85
+ "access": "public"
52
86
  },
53
- "homepage": "https://github.com/DS4SD/docling-ts/tree/main/docling-components",
54
87
  "dependencies": {
55
- "@docling/docling-core": "^0.0.6",
56
- "svelte": "^5.2.0"
88
+ "@docling/docling-core": "^2.99.0",
89
+ "@lit/task": "^1.0.2",
90
+ "lit": "^3.3.0"
57
91
  },
58
92
  "devDependencies": {
59
- "@eslint/js": "^9.14.0",
60
- "eslint": "^9.14.0",
61
- "eslint-config-prettier": "^10.0.1",
62
- "eslint-plugin-prettier": "^5.2.3",
63
- "eslint-plugin-svelte": "^2.46.0",
64
- "globals": "^15.12.0",
65
- "prettier": "^3.4.2",
66
- "stylelint": "^16.14.1",
67
- "svelte-eslint-parser": "^0.43.0",
68
- "svelteup": "^4.0.2",
69
- "typescript-eslint": "^8.22.0"
93
+ "@arethetypeswrong/cli": "^0.18.5",
94
+ "@eslint/js": "10.0.1",
95
+ "@playwright/test": "1.63.0",
96
+ "serve": "^14.2.4",
97
+ "eslint": "10.11.0",
98
+ "eslint-config-prettier": "10.1.8",
99
+ "eslint-plugin-prettier": "5.5.6",
100
+ "globals": "17.12.0",
101
+ "prettier": "3.9.8",
102
+ "publint": "^0.3.24",
103
+ "tsup": "8.5.1",
104
+ "typescript": "6.0.3",
105
+ "typescript-eslint": "8.70.0",
106
+ "vitest": "5.0.1"
70
107
  }
71
108
  }