@whereby.com/browser-sdk 0.0.0-canary-20240326095648

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 ADDED
@@ -0,0 +1,106 @@
1
+ {
2
+ "name": "@whereby.com/browser-sdk",
3
+ "version": "0.0.0-canary-20240326095648",
4
+ "description": "Modules for integration Whereby video in web apps",
5
+ "author": "Whereby AS",
6
+ "license": "MIT",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/whereby/sdk.git",
10
+ "directory": "packages/browser-sdk"
11
+ },
12
+ "browserslist": "> 0.5%, last 2 versions, not dead",
13
+ "source": "src/index.js",
14
+ "exports": {
15
+ "./react": {
16
+ "import": "./dist/react/index.esm.js",
17
+ "types": "./dist/react/index.d.ts"
18
+ },
19
+ "./embed": {
20
+ "import": "./dist/embed/index.esm.js",
21
+ "types": "./dist/embed/index.d.ts"
22
+ }
23
+ },
24
+ "typesVersions": {
25
+ "*": {
26
+ "react": [
27
+ "dist/react/index.d.ts"
28
+ ],
29
+ "embed": [
30
+ "dist/embed/index.d.ts"
31
+ ]
32
+ }
33
+ },
34
+ "files": [
35
+ "dist/**/*.js",
36
+ "dist/**/*.d.ts"
37
+ ],
38
+ "scripts": {
39
+ "prebuild": "rimraf dist",
40
+ "build": "rollup -c rollup.config.js",
41
+ "build:storybook": "storybook build",
42
+ "dev": "storybook dev -p 6006",
43
+ "test": "yarn test:lint && yarn test:unit",
44
+ "test:lint": "eslint src/",
45
+ "test:unit": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js",
46
+ "test:unit:watch": "node --experimental-vm-modules ../../node_modules/jest/bin/jest.js --watch",
47
+ "storybook": "storybook dev -p 6006",
48
+ "build-storybook": "storybook build"
49
+ },
50
+ "devDependencies": {
51
+ "@babel/core": "^7.18.5",
52
+ "@babel/plugin-proposal-optional-chaining": "^7.18.9",
53
+ "@babel/preset-env": "^7.23.2",
54
+ "@babel/preset-react": "^7.22.15",
55
+ "@babel/preset-typescript": "^7.23.2",
56
+ "@rollup/plugin-commonjs": "^25.0.7",
57
+ "@rollup/plugin-json": "^6.0.1",
58
+ "@rollup/plugin-node-resolve": "^15.2.3",
59
+ "@rollup/plugin-replace": "^5.0.5",
60
+ "@storybook/addon-actions": "^7.5.2",
61
+ "@storybook/addon-essentials": "^7.6.13",
62
+ "@storybook/addon-links": "^7.6.16",
63
+ "@storybook/react": "^7.5.2",
64
+ "@storybook/react-webpack5": "^7.6.16",
65
+ "@testing-library/react": "^14.0.0",
66
+ "@types/chrome": "^0.0.210",
67
+ "@types/node": "^20.11.19",
68
+ "@types/react": "^18.2.57",
69
+ "@types/uuid": "^9.0.7",
70
+ "babel-loader": "^8.2.5",
71
+ "deep-object-diff": "^1.1.9",
72
+ "dotenv": "^16.3.1",
73
+ "dotenv-run-script": "^0.4.1",
74
+ "lit-html": "^2.5.0",
75
+ "react": "^18.2.0",
76
+ "react-dom": "^18.2.0",
77
+ "rimraf": "^5.0.5",
78
+ "rollup": "^4.12.0",
79
+ "rollup-plugin-dts": "^6.1.0",
80
+ "rollup-plugin-polyfill-node": "^0.13.0",
81
+ "rollup-plugin-terser": "^7.0.2",
82
+ "rollup-plugin-typescript2": "^0.36.0",
83
+ "storybook": "^7.6.16",
84
+ "tslib": "^2.4.1",
85
+ "uuid": "^9.0.1",
86
+ "yalc": "^1.0.0-pre.53"
87
+ },
88
+ "dependencies": {
89
+ "@reduxjs/toolkit": "^2.0.1",
90
+ "@swc/helpers": "^0.3.13",
91
+ "@whereby.com/core": "*",
92
+ "heresy": "^1.0.4"
93
+ },
94
+ "peerDependencies": {
95
+ "react": "^18.2.0",
96
+ "react-dom": "^18.2.0"
97
+ },
98
+ "resolutions": {
99
+ "string-width": "^4",
100
+ "jackspeak": "2.1.1",
101
+ "wrap-ansi": "7.0.0"
102
+ },
103
+ "publishConfig": {
104
+ "access": "public"
105
+ }
106
+ }