bonsai-search 3.0.8
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/README.md +84 -0
- package/dist/bonsai-sdk-3.0.8.css +861 -0
- package/dist/bonsai-sdk-3.0.8.js +1698 -0
- package/dist/bonsai-searchbar-3.0.8.js +486 -0
- package/dist/index.cjs +1695 -0
- package/dist/index.d.cts +312 -0
- package/dist/index.d.ts +312 -0
- package/dist/index.js +1693 -0
- package/package.json +55 -0
package/package.json
ADDED
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "bonsai-search",
|
|
3
|
+
"version": "3.0.8",
|
|
4
|
+
"description": "Bonsai Search SDK",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist"
|
|
8
|
+
],
|
|
9
|
+
"main": "./dist/index.cjs",
|
|
10
|
+
"module": "./dist/index.js",
|
|
11
|
+
"types": "./dist/index.d.cts",
|
|
12
|
+
"exports": {
|
|
13
|
+
"./package.json": "./package.json"
|
|
14
|
+
},
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tsdown --format esm --format cjs --format iife --platform browser && mv dist/index.iife.js dist/bonsai-sdk-$npm_package_version.js && cp sdk.css dist/bonsai-sdk-$npm_package_version.css && tsdown src/searchbar.ts --format iife --platform browser --no-clean && mv dist/searchbar.iife.js dist/bonsai-searchbar-$npm_package_version.js",
|
|
17
|
+
"build:webcomponents": "WEBCOMPONENT_ENTRY=bonsai-search-webcomponent vite build && WEBCOMPONENT_ENTRY=bonsai-searchbar-webcomponent vite build",
|
|
18
|
+
"dev": "tsdown --watch --format esm --format cjs --format iife --platform browser",
|
|
19
|
+
"dev:webcomponents": "vite --host",
|
|
20
|
+
"prod": "tsdown --minify --format esm --format cjs --format iife --platform browser && mv dist/index.iife.js dist/bonsai-sdk-$npm_package_version.js && cp sdk.css dist/bonsai-sdk-$npm_package_version.css && tsdown src/searchbar.ts --minify --format iife --platform browser --no-clean && mv dist/searchbar.iife.js dist/bonsai-searchbar-$npm_package_version.js",
|
|
21
|
+
"serve": "npx serve",
|
|
22
|
+
"test": "vitest",
|
|
23
|
+
"typecheck": "tsc --noEmit",
|
|
24
|
+
"upload": "node --env-file=../.env uploadToCdn.js",
|
|
25
|
+
"prepublishOnly": "npm run build",
|
|
26
|
+
"lint": "eslint . --ext .ts,.tsx",
|
|
27
|
+
"lint:fix": "eslint . --ext .ts,.tsx --fix",
|
|
28
|
+
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,css,md}\"",
|
|
29
|
+
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,css,md}\""
|
|
30
|
+
},
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@aws-sdk/client-s3": "^3.947.0",
|
|
33
|
+
"@types/marked": "^6.0.0",
|
|
34
|
+
"@types/node": "^24.10.2",
|
|
35
|
+
"@types/react": "^19.2.7",
|
|
36
|
+
"@types/react-dom": "^19.2.3",
|
|
37
|
+
"@typescript-eslint/eslint-plugin": "^7.0.0",
|
|
38
|
+
"@typescript-eslint/parser": "^7.0.0",
|
|
39
|
+
"@webflow/data-types": "^1.1.0",
|
|
40
|
+
"@webflow/react": "^1.1.0",
|
|
41
|
+
"@webflow/webflow-cli": "^1.9.0",
|
|
42
|
+
"bumpp": "^10.3.2",
|
|
43
|
+
"eslint": "^8.57.0",
|
|
44
|
+
"framer": "^2.4.1",
|
|
45
|
+
"framer-motion": "^10.18.0",
|
|
46
|
+
"prettier": "^3.2.0",
|
|
47
|
+
"tsdown": "^0.17.2",
|
|
48
|
+
"typescript": "^5.9.3",
|
|
49
|
+
"vite": "^5.4.0",
|
|
50
|
+
"vitest": "^4.0.15"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"marked": "^17.0.1"
|
|
54
|
+
}
|
|
55
|
+
}
|