@vouchfor/embeds 0.0.0-experiment.79ff9cf → 0.0.0-experiment.bb1a5cf

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,19 +1,22 @@
1
1
  {
2
2
  "name": "@vouchfor/embeds",
3
- "version": "0.0.0-experiment.79ff9cf",
3
+ "version": "0.0.0-experiment.bb1a5cf",
4
4
  "license": "MIT",
5
5
  "author": "Aaron Williams",
6
- "main": "dist/embeds.js",
7
- "module": "dist/embeds.js",
6
+ "main": "dist/es/embeds.js",
7
+ "module": "dist/es/embeds.js",
8
8
  "type": "module",
9
- "types": "dist/src/index.d.ts",
9
+ "types": "dist/es/index.d.ts",
10
+ "exports": {
11
+ ".": "./dist/es/embeds.js"
12
+ },
10
13
  "files": ["dist", "src"],
11
14
  "publishConfig": {
12
15
  "tag": "experiment",
13
16
  "access": "public"
14
17
  },
15
18
  "scripts": {
16
- "build": "rm -rf dist && tsc && vite build --mode umd && vite build --mode es",
19
+ "build": "rm -rf dist && tsc && vite build --mode iife && vite build --mode es",
17
20
  "build:deps": "yarn --cwd ../media-player build",
18
21
  "build:package": "yarn build",
19
22
  "build:storybook": "yarn prebuild && storybook build",
@@ -32,7 +35,7 @@
32
35
  "**/*.{md,json,yml}": "prettier --write"
33
36
  },
34
37
  "dependencies": {
35
- "@vouchfor/media-player": "0.0.0-experiment.79ff9cf"
38
+ "@vouchfor/media-player": "0.0.0-experiment.bb1a5cf"
36
39
  },
37
40
  "peerDependencies": {
38
41
  "lit": "^2.7.5"
@@ -12,6 +12,12 @@ declare global {
12
12
  interface HTMLElementTagNameMap {
13
13
  'vembed-inline': InlineEmbed;
14
14
  }
15
+
16
+ namespace JSX {
17
+ interface IntrinsicElements {
18
+ 'vembed-inline': InlineEmbed;
19
+ }
20
+ }
15
21
  }
16
22
 
17
23
  export { InlineEmbed };
@@ -1,2 +0,0 @@
1
- export { InlineEmbed } from './InlineEmbed';
2
- export type { InlineEmbedProps } from './InlineEmbed';