@surfableai/widget-vanilla 0.1.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
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@surfableai/widget-vanilla",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"private": false,
|
|
5
|
+
"description": "Surfable AI vanilla JS web component widget \u2014 framework-agnostic script-tag embed",
|
|
6
|
+
"main": "dist/surfable-widget.global.js",
|
|
7
|
+
"files": [
|
|
8
|
+
"dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "tsup",
|
|
12
|
+
"dev": "tsup --watch",
|
|
13
|
+
"lint": "eslint src/",
|
|
14
|
+
"type-check": "tsc --noEmit",
|
|
15
|
+
"test": "pnpm run test:unit",
|
|
16
|
+
"test:unit": "sh -c 'FILES=$(find tests src -name \"*.test.ts\" 2>/dev/null || true); if [ -n \"$FILES\" ]; then bun test --isolate $FILES; else echo \"No widget-vanilla unit tests found\"; fi'",
|
|
17
|
+
"test:integration": "echo 'No widget-vanilla integration tests configured yet'",
|
|
18
|
+
"test:e2e": "playwright test --config=playwright.config.ts --project=chromium",
|
|
19
|
+
"test:smoke": "echo 'Widget-vanilla package has no smoke tests'"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@playwright/test": "^1.58.2",
|
|
23
|
+
"@surfableai/widget": "workspace:*",
|
|
24
|
+
"@types/bun": "^1.2.0",
|
|
25
|
+
"@types/react": "^18.2.0",
|
|
26
|
+
"@types/react-dom": "^18.2.0",
|
|
27
|
+
"react": "^18.2.0",
|
|
28
|
+
"react-dom": "^18.2.0",
|
|
29
|
+
"tsup": "^8.0.0",
|
|
30
|
+
"typescript": "^6.0.2"
|
|
31
|
+
}
|
|
32
|
+
}
|