|
1 | 1 | { |
2 | 2 | "name": "@dash-ui/react-layout", |
3 | | - "version": "0.9.3", |
| 3 | + "version": "1.0.0-alpha.2", |
4 | 4 | "description": "Awesome layout primitives for React using @dash-ui", |
5 | | - "keywords": [ |
6 | | - "react", |
7 | | - "react component", |
8 | | - "react layout", |
9 | | - "layout components", |
10 | | - "dash layout components", |
11 | | - "dash-ui layout components", |
12 | | - "react layout components", |
13 | | - "stack component", |
14 | | - "grid component", |
15 | | - "cluster component", |
16 | | - "layer component", |
17 | | - "react stack component", |
18 | | - "react grid component", |
19 | | - "react cluster component", |
20 | | - "react layer component", |
21 | | - "spacing component", |
22 | | - "spacer component", |
23 | | - "react spacing component", |
24 | | - "css-in-react layout" |
25 | | - ], |
26 | | - "homepage": "https://github.com/dash-ui/react-layout#readme", |
27 | | - "bugs": "https://github.com/dash-ui/react-layout/issues", |
28 | | - "repository": "github:dash-ui/react-layout", |
29 | 5 | "license": "MIT", |
30 | 6 | "author": "Jared Lunde <[email protected]> (https://jaredlunde.com/)", |
31 | | - "sideEffects": false, |
32 | | - "exports": { |
33 | | - ".": { |
34 | | - "browser": "./dist/module/index.js", |
35 | | - "import": "./dist/esm/index.mjs", |
36 | | - "require": "./dist/main/index.js", |
37 | | - "umd": "./dist/umd/dash-react-layout.js", |
38 | | - "source": "./src/index.tsx", |
39 | | - "types": "./types/index.d.ts", |
40 | | - "default": "./dist/main/index.js" |
41 | | - }, |
42 | | - "./package.json": "./package.json", |
43 | | - "./": "./" |
44 | | - }, |
| 7 | + "homepage": "https://github.com/dash-ui/react-layout#readme", |
| 8 | + "repository": "github:dash-ui/react-layout", |
| 9 | + "bugs": "https://github.com/dash-ui/react-layout/issues", |
45 | 10 | "main": "dist/main/index.js", |
46 | | - "unpkg": "dist/umd/dash-react-layout.js", |
47 | 11 | "module": "dist/module/index.js", |
48 | | - "source": "src/index.tsx", |
49 | | - "types": "types/index.d.ts", |
50 | 12 | "files": [ |
51 | 13 | "/dist", |
52 | 14 | "/src", |
|
62 | 24 | "test": "jest", |
63 | 25 | "validate": "lundle check-types && pnpm run lint && jest --coverage" |
64 | 26 | }, |
65 | | - "commitlint": { |
66 | | - "extends": [ |
67 | | - "@commitlint/config-conventional" |
68 | | - ] |
69 | | - }, |
70 | | - "lint-staged": { |
71 | | - "**/*.{ts,tsx,js,jsx}": [ |
72 | | - "eslint --ext .ts,.tsx,.js,.jsx --fix", |
73 | | - "prettier --write" |
74 | | - ], |
75 | | - "**/*.{md,yml,json}": [ |
76 | | - "prettier --write" |
77 | | - ] |
78 | | - }, |
79 | 27 | "config": { |
80 | 28 | "commitizen": { |
81 | 29 | "path": "./node_modules/cz-conventional-changelog" |
82 | 30 | } |
83 | 31 | }, |
| 32 | + "sideEffects": false, |
| 33 | + "types": "types/index.d.ts", |
| 34 | + "dependencies": { |
| 35 | + "@dash-ui/responsive": "^1.0.0-alpha.1", |
| 36 | + "clsx": "^1.1.1", |
| 37 | + "forward-ref-as": "^2.0.0" |
| 38 | + }, |
| 39 | + "peerDependencies": { |
| 40 | + "@dash-ui/styles": ">=1.0.1", |
| 41 | + "react": ">=16.8" |
| 42 | + }, |
| 43 | + "devDependencies": { |
| 44 | + "@commitlint/cli": "latest", |
| 45 | + "@commitlint/config-conventional": "latest", |
| 46 | + "@dash-ui/jest": "^2.1.2", |
| 47 | + "@dash-ui/styles": "^1.0.1", |
| 48 | + "@semantic-release/changelog": "^6.0.0", |
| 49 | + "@semantic-release/git": "^10.0.0", |
| 50 | + "@testing-library/jest-dom": "latest", |
| 51 | + "@testing-library/react": "latest", |
| 52 | + "@testing-library/react-hooks": "latest", |
| 53 | + "@testing-library/user-event": "latest", |
| 54 | + "@types/jest": "latest", |
| 55 | + "@types/node": "^18.0.0", |
| 56 | + "@types/react": "latest", |
| 57 | + "@types/react-dom": "latest", |
| 58 | + "cz-conventional-changelog": "latest", |
| 59 | + "eslint": "^7.32.0", |
| 60 | + "eslint-config-lunde": "latest", |
| 61 | + "husky": "latest", |
| 62 | + "jest": "27", |
| 63 | + "lint-staged": "latest", |
| 64 | + "lundle": "^0.4.13", |
| 65 | + "minify-css.macro": "^1.0.6", |
| 66 | + "prettier": "latest", |
| 67 | + "react": "latest", |
| 68 | + "react-dom": "latest", |
| 69 | + "react-test-renderer": "latest", |
| 70 | + "typescript": "latest" |
| 71 | + }, |
| 72 | + "keywords": [ |
| 73 | + "cluster component", |
| 74 | + "css-in-react layout", |
| 75 | + "dash layout components", |
| 76 | + "dash-ui layout components", |
| 77 | + "grid component", |
| 78 | + "layer component", |
| 79 | + "layout components", |
| 80 | + "react", |
| 81 | + "react cluster component", |
| 82 | + "react component", |
| 83 | + "react grid component", |
| 84 | + "react layer component", |
| 85 | + "react layout", |
| 86 | + "react layout components", |
| 87 | + "react spacing component", |
| 88 | + "react stack component", |
| 89 | + "spacer component", |
| 90 | + "spacing component", |
| 91 | + "stack component" |
| 92 | + ], |
| 93 | + "commitlint": { |
| 94 | + "extends": [ |
| 95 | + "@commitlint/config-conventional" |
| 96 | + ] |
| 97 | + }, |
84 | 98 | "eslintConfig": { |
85 | 99 | "extends": [ |
86 | 100 | "lunde" |
|
115 | 129 | "/types", |
116 | 130 | "*.config.js" |
117 | 131 | ], |
| 132 | + "exports": { |
| 133 | + ".": { |
| 134 | + "browser": "./dist/module/index.js", |
| 135 | + "import": "./dist/esm/index.mjs", |
| 136 | + "require": "./dist/main/index.js", |
| 137 | + "umd": "./dist/umd/dash-react-layout.js", |
| 138 | + "source": "./src/index.tsx", |
| 139 | + "types": "./types/index.d.ts", |
| 140 | + "default": "./dist/main/index.js" |
| 141 | + }, |
| 142 | + "./package.json": "./package.json", |
| 143 | + "./": "./" |
| 144 | + }, |
118 | 145 | "jest": { |
119 | 146 | "collectCoverageFrom": [ |
120 | 147 | "**/src/**/*.{ts,tsx}" |
|
142 | 169 | "<rootDir>/src/**/?(*.)test.{ts,tsx}" |
143 | 170 | ] |
144 | 171 | }, |
145 | | - "devDependencies": { |
146 | | - "@commitlint/cli": "latest", |
147 | | - "@commitlint/config-conventional": "latest", |
148 | | - "@dash-ui/jest": "^2.1.2", |
149 | | - "@dash-ui/styles": "^0.8.6", |
150 | | - "@semantic-release/changelog": "^6.0.0", |
151 | | - "@semantic-release/git": "^10.0.0", |
152 | | - "@testing-library/jest-dom": "latest", |
153 | | - "@testing-library/react": "latest", |
154 | | - "@testing-library/react-hooks": "latest", |
155 | | - "@testing-library/user-event": "latest", |
156 | | - "@types/jest": "latest", |
157 | | - "@types/react": "latest", |
158 | | - "@types/react-dom": "latest", |
159 | | - "cz-conventional-changelog": "latest", |
160 | | - "eslint": "latest", |
161 | | - "eslint-config-lunde": "latest", |
162 | | - "husky": "latest", |
163 | | - "jest": "latest", |
164 | | - "lint-staged": "latest", |
165 | | - "lundle": "^0.4.13", |
166 | | - "minify-css.macro": "^1.0.6", |
167 | | - "prettier": "latest", |
168 | | - "react": "latest", |
169 | | - "react-dom": "latest", |
170 | | - "react-test-renderer": "latest", |
171 | | - "typescript": "latest" |
172 | | - }, |
173 | | - "dependencies": { |
174 | | - "@dash-ui/responsive": "^0.2.3", |
175 | | - "clsx": "^1.1.1", |
176 | | - "forward-ref-as": "^2.0.0" |
177 | | - }, |
178 | | - "peerDependencies": { |
179 | | - "@dash-ui/styles": ">=0.8.4", |
180 | | - "react": ">=16.8" |
| 172 | + "lint-staged": { |
| 173 | + "package.json": [ |
| 174 | + "pnpm dlx prettier-package-json --write" |
| 175 | + ], |
| 176 | + "**/*.{ts,tsx,js,jsx}": [ |
| 177 | + "eslint --ext .ts,.tsx,.js,.jsx --fix", |
| 178 | + "prettier --write" |
| 179 | + ], |
| 180 | + "**/*.{md,yml,json}": [ |
| 181 | + "prettier --write" |
| 182 | + ] |
181 | 183 | }, |
182 | 184 | "release": { |
183 | 185 | "branches": [ |
184 | 186 | "main", |
185 | | - "next", |
186 | | - "alpha" |
| 187 | + { |
| 188 | + "name": "next", |
| 189 | + "prerelease": true |
| 190 | + }, |
| 191 | + { |
| 192 | + "name": "alpha", |
| 193 | + "prerelease": true |
| 194 | + } |
187 | 195 | ], |
188 | 196 | "plugins": [ |
189 | 197 | "@semantic-release/commit-analyzer", |
|
203 | 211 | ], |
204 | 212 | "@semantic-release/github" |
205 | 213 | ] |
206 | | - } |
| 214 | + }, |
| 215 | + "source": "src/index.tsx", |
| 216 | + "unpkg": "dist/umd/dash-react-layout.js" |
207 | 217 | } |
0 commit comments