@mikedown/web-component 0.0.0-stage → 0.2.0

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,6 +1,76 @@
1
1
  {
2
2
  "name": "@mikedown/web-component",
3
- "version": "0.0.0-stage",
4
- "stub": true,
5
- "description": "Temporary package placeholder for staged publishing"
6
- }
3
+ "version": "0.2.0",
4
+ "description": "<mikedown-editor>: the MikeDown WYSIWYG markdown editor as a form-associated custom element, for plain HTML, CDN pages and any framework.",
5
+ "license": "MIT",
6
+ "type": "module",
7
+ "main": "./dist/index.js",
8
+ "module": "./dist/index.js",
9
+ "types": "./dist/index.d.ts",
10
+ "scripts": {
11
+ "build": "tsup && node scripts/build-standalone.mjs",
12
+ "build:standalone": "node scripts/build-standalone.mjs",
13
+ "typecheck": "tsc -p tsconfig.json --noEmit",
14
+ "test": "vitest run --root ../.. packages/web-component/test",
15
+ "demo": "npm run build && vite . --port 5197 --open /demo/",
16
+ "prepack": "npm run build"
17
+ },
18
+ "exports": {
19
+ ".": {
20
+ "types": "./dist/index.d.ts",
21
+ "import": "./dist/index.js",
22
+ "default": "./dist/index.js"
23
+ },
24
+ "./define": {
25
+ "types": "./dist/define.d.ts",
26
+ "import": "./dist/define.js",
27
+ "default": "./dist/define.js"
28
+ },
29
+ "./standalone": {
30
+ "types": "./dist/index.d.ts",
31
+ "import": "./dist/mikedown-editor.standalone.js",
32
+ "default": "./dist/mikedown-editor.standalone.js"
33
+ },
34
+ "./package.json": "./package.json"
35
+ },
36
+ "sideEffects": [
37
+ "./dist/define.js",
38
+ "./dist/mikedown-editor.standalone.js"
39
+ ],
40
+ "files": [
41
+ "dist",
42
+ "README.md",
43
+ "CHANGELOG.md",
44
+ "LICENSE.md",
45
+ "THIRD_PARTY_NOTICES.md"
46
+ ],
47
+ "keywords": [
48
+ "markdown",
49
+ "editor",
50
+ "wysiwyg",
51
+ "web-component",
52
+ "custom-element",
53
+ "form-associated",
54
+ "tiptap",
55
+ "prosemirror"
56
+ ],
57
+ "peerDependencies": {
58
+ "@mikedown/core": "^0.2.0"
59
+ },
60
+ "devDependencies": {
61
+ "@mikedown/core": "^0.2.0",
62
+ "esbuild": "^0.27.3",
63
+ "tsup": "^9.0.0"
64
+ },
65
+ "publishConfig": {
66
+ "access": "public"
67
+ },
68
+ "repository": {
69
+ "type": "git",
70
+ "url": "git+https://github.com/mikejoseph23/mikedown.git",
71
+ "directory": "packages/web-component"
72
+ },
73
+ "bugs": {
74
+ "url": "https://github.com/mikejoseph23/mikedown/issues"
75
+ }
76
+ }