|
1 | 1 | { |
2 | | - "name": "tailscale-ui-components", |
3 | | - "version": "0.0.1", |
4 | | - "license": "BSD-3-Clause", |
5 | | - "engines": { |
6 | | - "node": "18.16.1", |
7 | | - "yarn": "1.22.19" |
| 2 | + "name": "@tailscale/tailscale-ui-components", |
| 3 | + "version": "0.0.3", |
| 4 | + "author": "Tailscale", |
| 5 | + "license": "MIT", |
| 6 | + "main": "dist/tailscale-ui-components.umd.js", |
| 7 | + "module": "dist/tailscale-ui-components.es.js", |
| 8 | + "types": "dist/index.d.ts", |
| 9 | + "type": "module", |
| 10 | + "files": [ |
| 11 | + "dist" |
| 12 | + ], |
| 13 | + "exports": { |
| 14 | + ".": { |
| 15 | + "types": "./dist/index.d.ts", |
| 16 | + "import": "./dist/tailscale-ui-components.es.js", |
| 17 | + "require": "./dist/tailscale-ui-components.umd.js" |
| 18 | + } |
| 19 | + }, |
| 20 | + "publishConfig": { |
| 21 | + "registry": "https://npm.pkg.github.com" |
8 | 22 | }, |
9 | | - "private": true, |
10 | | - "main": "index.ts", |
11 | 23 | "peerDependencies": { |
12 | | - "classnames": "^2.3.1", |
13 | | - "react": "^18.2.0" |
| 24 | + "react": "^18.2.0", |
| 25 | + "react-dom": "^18.2.0" |
| 26 | + }, |
| 27 | + "dependencies": { |
| 28 | + "@radix-ui/react-checkbox": "^1.3.2", |
| 29 | + "@radix-ui/react-collapsible": "^1.1.11", |
| 30 | + "@radix-ui/react-dialog": "^1.1.14", |
| 31 | + "@radix-ui/react-dropdown-menu": "^2.1.15", |
| 32 | + "@radix-ui/react-hover-card": "^1.1.14", |
| 33 | + "@radix-ui/react-popover": "^1.1.14", |
| 34 | + "@radix-ui/react-select": "^2.2.5", |
| 35 | + "@radix-ui/react-tabs": "^1.1.12", |
| 36 | + "@radix-ui/react-toggle-group": "^1.1.10", |
| 37 | + "@radix-ui/react-tooltip": "^1.2.7", |
| 38 | + "classnames": "^2.5.1", |
| 39 | + "date-fns": "^4.1.0", |
| 40 | + "date-fns-tz": "^2.0.1", |
| 41 | + "downshift": "^9.0.10", |
| 42 | + "lucide-react": "^0.536.0" |
14 | 43 | }, |
15 | 44 | "devDependencies": { |
16 | | - "@types/react": "18.0.20", |
17 | | - "classnames": "^2.3.1", |
18 | | - "eslint": "^8.23.1", |
19 | | - "eslint-config-react-app": "^7.0.1", |
20 | | - "prettier": "^2.5.1", |
21 | | - "prettier-plugin-organize-imports": "^3.2.2", |
| 45 | + "@chromatic-com/storybook": "^4.1.0", |
| 46 | + "@storybook/addon-a11y": "^9.1.1", |
| 47 | + "@storybook/addon-docs": "^9.1.1", |
| 48 | + "@storybook/addon-onboarding": "^9.1.1", |
| 49 | + "@storybook/addon-vitest": "^9.1.1", |
| 50 | + "@storybook/react-vite": "^9.1.1", |
| 51 | + "@types/node": "^24.2.0", |
| 52 | + "@types/react": "^18.2.0", |
| 53 | + "@types/react-dom": "^18.2.0", |
| 54 | + "@vitejs/plugin-react-swc": "^3.11.0", |
| 55 | + "@vitest/browser": "^3.2.4", |
| 56 | + "@vitest/coverage-v8": "^3.2.4", |
| 57 | + "autoprefixer": "^10.4.21", |
| 58 | + "playwright": "^1.54.2", |
| 59 | + "postcss": "^8.5.6", |
22 | 60 | "react": "^18.2.0", |
23 | | - "tailwindcss": "^3.3.3", |
24 | | - "typescript": "^4.7.4", |
25 | | - "vitest": "^0.32.0" |
| 61 | + "react-dom": "^18.2.0", |
| 62 | + "storybook": "^9.1.1", |
| 63 | + "tailwindcss": "^3.4.0", |
| 64 | + "typescript": "^5.9.2", |
| 65 | + "vite": "^7.0.6", |
| 66 | + "vite-plugin-svgr": "^4.3.0", |
| 67 | + "vite-tsconfig-paths": "^5.1.4", |
| 68 | + "vitest": "^3.2.4" |
26 | 69 | }, |
27 | 70 | "scripts": { |
28 | | - "lint": "tsc --noEmit && eslint 'src/**/*.{ts,tsx,js,jsx}'", |
29 | | - "test": "vitest", |
30 | | - "format": "prettier --write 'src/**/*.{ts,tsx}'", |
31 | | - "format-check": "prettier --check 'src/**/*.{ts,tsx}'" |
32 | | - }, |
33 | | - "eslintConfig": { |
34 | | - "extends": [ |
35 | | - "react-app" |
36 | | - ], |
37 | | - "plugins": [ |
38 | | - "react-hooks" |
39 | | - ], |
40 | | - "rules": { |
41 | | - "react-hooks/rules-of-hooks": "error", |
42 | | - "react-hooks/exhaustive-deps": "error" |
43 | | - }, |
44 | | - "settings": { |
45 | | - "projectRoot": "package.json" |
46 | | - } |
47 | | - }, |
48 | | - "prettier": { |
49 | | - "semi": false, |
50 | | - "printWidth": 80 |
| 71 | + "build": "vite build && tsc --emitDeclarationOnly", |
| 72 | + "storybook": "storybook dev -p 6006", |
| 73 | + "build-storybook": "storybook build" |
51 | 74 | } |
52 | 75 | } |
0 commit comments