@os-legal/ui 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,73 @@
1
+ {
2
+ "name": "@os-legal/ui",
3
+ "version": "0.1.0",
4
+ "description": "React component library for OpenContracts design system",
5
+ "main": "dist/index.js",
6
+ "module": "dist/index.esm.js",
7
+ "types": "dist/index.d.ts",
8
+ "sideEffects": [
9
+ "*.css"
10
+ ],
11
+ "files": [
12
+ "dist",
13
+ "tokens.css",
14
+ "styles.css"
15
+ ],
16
+ "exports": {
17
+ ".": {
18
+ "types": "./dist/index.d.ts",
19
+ "import": "./dist/index.esm.js",
20
+ "require": "./dist/index.js"
21
+ },
22
+ "./tokens.css": "./tokens.css",
23
+ "./styles.css": "./styles.css"
24
+ },
25
+ "scripts": {
26
+ "prepare": "npm run build",
27
+ "build": "tsup src/index.ts --format cjs,esm --dts --clean",
28
+ "dev": "tsup src/index.ts --format cjs,esm --dts --watch",
29
+ "lint": "eslint src --ext .ts,.tsx",
30
+ "test": "vitest",
31
+ "test:coverage": "vitest --coverage",
32
+ "storybook": "storybook dev -p 6006",
33
+ "build-storybook": "storybook build"
34
+ },
35
+ "peerDependencies": {
36
+ "react": ">=18.0.0",
37
+ "react-dom": ">=18.0.0"
38
+ },
39
+ "devDependencies": {
40
+ "@storybook/react": "^10.1.10",
41
+ "@storybook/react-vite": "^10.1.10",
42
+ "@testing-library/react": "^14.0.0",
43
+ "@types/react": "^18.2.0",
44
+ "@types/react-dom": "^18.2.0",
45
+ "@vitejs/plugin-react": "^4.0.0",
46
+ "eslint": "^8.0.0",
47
+ "react": "^18.2.0",
48
+ "react-dom": "^18.2.0",
49
+ "storybook": "^10.1.10",
50
+ "tsup": "^8.5.0",
51
+ "typescript": "^5.0.0",
52
+ "vitest": "^3.0.0"
53
+ },
54
+ "keywords": [
55
+ "react",
56
+ "components",
57
+ "design-system",
58
+ "ui",
59
+ "opencontracts",
60
+ "legal",
61
+ "typescript"
62
+ ],
63
+ "author": "OpenContracts",
64
+ "license": "MIT",
65
+ "repository": {
66
+ "type": "git",
67
+ "url": "https://github.com/Open-Source-Legal/OS-Legal-Style.git"
68
+ },
69
+ "bugs": {
70
+ "url": "https://github.com/Open-Source-Legal/OS-Legal-Style/issues"
71
+ },
72
+ "homepage": "https://github.com/Open-Source-Legal/OS-Legal-Style#readme"
73
+ }