-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
109 lines (109 loc) · 3.08 KB
/
Copy pathpackage.json
File metadata and controls
109 lines (109 loc) · 3.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
{
"name": "@code-sherpas/pharos-react",
"version": "0.14.3",
"description": "React component library for Code Sherpas. Consumes @code-sherpas/pharos-tokens. Vite library mode + CSS Modules — no Tailwind, no CSS framework required at the consumer.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/code-sherpas/pharos-react.git"
},
"homepage": "https://github.com/code-sherpas/pharos-react#readme",
"bugs": {
"url": "https://github.com/code-sherpas/pharos-react/issues"
},
"publishConfig": {
"access": "public",
"provenance": true
},
"type": "module",
"files": [
"dist",
"RULES.md"
],
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js"
},
"./styles.css": "./dist/styles.css"
},
"sideEffects": [
"**/*.css"
],
"engines": {
"node": ">=22"
},
"packageManager": "pnpm@10.33.0",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
],
"overrides": {
"esbuild": "^0.25.0"
}
},
"scripts": {
"build": "vite build && pnpm verify:dist-types",
"storybook": "storybook dev -p 6006",
"build-storybook": "storybook build",
"test": "vitest run",
"test:watch": "vitest",
"typecheck": "tsc --noEmit",
"verify:dist-types": "tsc --noEmit -p tsconfig.dist-smoke.json",
"lint": "eslint .",
"format": "prettier --write .",
"format:check": "prettier --check .",
"changeset": "changeset",
"release": "pnpm build && changeset publish",
"prepublishOnly": "pnpm build",
"prepare": "husky && bash scripts/snapshot-pharos-tokens.sh"
},
"lint-staged": {
"*.{ts,tsx,js,mjs,cjs,json,md,mdx,css,yml,yaml}": "prettier --write"
},
"peerDependencies": {
"@base-ui/react": "^1.4.1",
"@code-sherpas/pharos-tokens": "^0.4.0",
"react": ">=18",
"react-dom": ">=18"
},
"dependencies": {
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1"
},
"devDependencies": {
"@base-ui/react": "^1.4.1",
"@changesets/cli": "^2.27.10",
"@code-sherpas/pharos-tokens": "^0.4.0",
"@fontsource/inter": "^5.2.8",
"@fontsource/outfit": "^5.2.8",
"@storybook/addon-a11y": "^10.3.5",
"@storybook/addon-docs": "^10.3.5",
"@storybook/react-vite": "^10.3.5",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.6.1",
"@types/node": "^25.6.0",
"@types/react": "^19.1.0",
"@types/react-dom": "^19.1.0",
"@typescript-eslint/eslint-plugin": "^8.59.0",
"@typescript-eslint/parser": "^8.59.0",
"@vitejs/plugin-react": "^6.0.1",
"chromatic": "^17.4.1",
"eslint": "^10.2.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"husky": "^9.1.7",
"jsdom": "^29.0.2",
"lint-staged": "^17.0.7",
"prettier": "^3.4.2",
"react": "^19.2.7",
"react-dom": "^19.2.7",
"storybook": "^10.3.5",
"typescript": "^6.0.3",
"vite": "^8.0.9",
"vite-plugin-dts": "^5.0.0",
"vitest": "^4.1.4"
}
}