@unleash/toolbar 1.0.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,107 @@
1
+ {
2
+ "name": "@unleash/toolbar",
3
+ "version": "1.0.0",
4
+ "description": "Client-side override toolbar for Unleash JavaScript SDKs",
5
+ "type": "module",
6
+ "main": "./dist/index.es.js",
7
+ "module": "./dist/index.es.js",
8
+ "types": "./dist/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.es.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./react": {
15
+ "import": "./dist/react.es.js",
16
+ "types": "./dist/react/index.d.ts"
17
+ },
18
+ "./next": {
19
+ "import": "./dist/next.es.js",
20
+ "types": "./dist/next/index.d.ts"
21
+ },
22
+ "./next/server": {
23
+ "import": "./dist/next-server.es.js",
24
+ "types": "./dist/next/server.d.ts"
25
+ },
26
+ "./toolbar.css": "./dist/toolbar.css"
27
+ },
28
+ "files": [
29
+ "dist"
30
+ ],
31
+ "scripts": {
32
+ "dev": "vite",
33
+ "build": "tsc && vite build",
34
+ "type-check": "tsc --noEmit",
35
+ "lint": "biome check .",
36
+ "lint:fix": "biome check --write .",
37
+ "test": "vitest run",
38
+ "test:watch": "vitest",
39
+ "test:ui": "vitest --ui",
40
+ "test:coverage": "vitest run --coverage",
41
+ "serve:example:vanilla": "npx serve -p 3000 .",
42
+ "serve:example:react": "cd examples/react && npm run dev",
43
+ "serve:example:nextjs": "cd examples/nextjs && npm run dev",
44
+ "serve:example:angular": "cd examples/angular && npm start",
45
+ "serve:example:vue": "cd examples/vue && npm run dev"
46
+ },
47
+ "keywords": [
48
+ "unleash",
49
+ "feature-flags",
50
+ "feature-toggles",
51
+ "debugging",
52
+ "toolbar",
53
+ "override",
54
+ "react",
55
+ "nextjs",
56
+ "ssr",
57
+ "development-tools"
58
+ ],
59
+ "author": "Unleash",
60
+ "bugs": {
61
+ "url": "https://github.com/Unleash/toolbar/issues"
62
+ },
63
+ "homepage": "https://github.com/Unleash/toolbar",
64
+ "license": "Apache-2.0",
65
+ "peerDependencies": {
66
+ "unleash-proxy-client": "^3.0.0"
67
+ },
68
+ "peerDependenciesMeta": {
69
+ "@unleash/proxy-client-react": {
70
+ "optional": true
71
+ },
72
+ "@unleash/nextjs": {
73
+ "optional": true
74
+ }
75
+ },
76
+ "devDependencies": {
77
+ "@biomejs/biome": "^2.3.12",
78
+ "@eslint/js": "^9.39.2",
79
+ "@testing-library/dom": "^10.4.1",
80
+ "@testing-library/jest-dom": "^6.9.1",
81
+ "@testing-library/react": "^16.3.0",
82
+ "@types/eslint": "^9.6.1",
83
+ "@types/node": "^20.10.5",
84
+ "@types/react": "^18.3.1 || ^19.2.3",
85
+ "@types/react-dom": "^18.3.1 || ^19.2.3",
86
+ "@unleash/nextjs": "^1.6.4",
87
+ "@unleash/proxy-client-react": "^5.0.1",
88
+ "@vitest/coverage-v8": "^4.0.15",
89
+ "cssnano": "^7.1.2",
90
+ "eslint": "^9.39.2",
91
+ "jsdom": "^27.3.0",
92
+ "postcss": "^8.5.6",
93
+ "react": "^18.3.1 || ^19.2.3",
94
+ "react-dom": "^18.3.1 || ^19.2.3",
95
+ "terser": "^5.44.1",
96
+ "typescript": "^5.3.3",
97
+ "typescript-eslint": "^8.49.0",
98
+ "unleash-client": "^6.9.3",
99
+ "unleash-proxy-client": "^3.4.1",
100
+ "vite": "^7.2.7",
101
+ "vite-plugin-dts": "^4.5.4",
102
+ "vitest": "^4.0.15"
103
+ },
104
+ "dependencies": {
105
+ "lit": "^3.3.1"
106
+ }
107
+ }