|
1 | 1 | {
|
2 | 2 | "name": "@dash-ui/responsive",
|
3 |
| - "version": "0.2.3", |
| 3 | + "version": "1.0.0-alpha.6", |
4 | 4 | "description": "A library for adding responsive style props to components with @dash-ui",
|
5 |
| - "keywords": [ |
6 |
| - "responsive prop", |
7 |
| - "dash", |
8 |
| - "dash ui", |
9 |
| - "dash responsive props", |
10 |
| - "dash media query props", |
11 |
| - "media query props" |
12 |
| - ], |
13 |
| - "homepage": "https://github.com/dash-ui/responsive#readme", |
14 |
| - "bugs": "https://github.com/dash-ui/responsive/issues", |
15 |
| - "repository": "github:dash-ui/responsive", |
16 | 5 | "license": "MIT",
|
17 | 6 | "author": "Jared Lunde <[email protected]> (https://jaredlunde.com/)",
|
18 |
| - "sideEffects": false, |
19 |
| - "exports": { |
20 |
| - ".": { |
21 |
| - "browser": "./dist/module/index.js", |
22 |
| - "import": "./dist/esm/index.mjs", |
23 |
| - "require": "./dist/main/index.js", |
24 |
| - "umd": "./dist/umd/responsive.js", |
25 |
| - "source": "./src/index.ts", |
26 |
| - "types": "./types/index.d.ts", |
27 |
| - "default": "./dist/main/index.js" |
28 |
| - }, |
29 |
| - "./package.json": "./package.json", |
30 |
| - "./": "./" |
31 |
| - }, |
| 7 | + "homepage": "https://github.com/dash-ui/responsive#readme", |
| 8 | + "repository": "github:dash-ui/responsive", |
| 9 | + "bugs": "https://github.com/dash-ui/responsive/issues", |
32 | 10 | "main": "dist/main/index.js",
|
33 |
| - "unpkg": "dist/umd/responsive.js", |
34 | 11 | "module": "dist/module/index.js",
|
35 |
| - "source": "src/index.ts", |
36 |
| - "types": "types/index.d.ts", |
37 | 12 | "files": [
|
38 | 13 | "/dist",
|
39 | 14 | "/src",
|
|
50 | 25 | "test": "jest",
|
51 | 26 | "validate": "lundle check-types && pnpm run lint && jest --coverage"
|
52 | 27 | },
|
53 |
| - "commitlint": { |
54 |
| - "extends": [ |
55 |
| - "@commitlint/config-conventional" |
56 |
| - ] |
57 |
| - }, |
58 |
| - "lint-staged": { |
59 |
| - "**/*.{ts,js}": [ |
60 |
| - "eslint --ext .ts,.js --fix", |
61 |
| - "prettier --write" |
62 |
| - ], |
63 |
| - "**/*.{md,yml,json}": [ |
64 |
| - "prettier --write" |
65 |
| - ] |
66 |
| - }, |
67 | 28 | "config": {
|
68 | 29 | "commitizen": {
|
69 | 30 | "path": "./node_modules/cz-conventional-changelog"
|
70 | 31 | }
|
71 | 32 | },
|
| 33 | + "sideEffects": false, |
| 34 | + "types": "types/index.d.ts", |
| 35 | + "peerDependencies": { |
| 36 | + "@dash-ui/styles": ">=1.0.1" |
| 37 | + }, |
| 38 | + "devDependencies": { |
| 39 | + "@babel/node": "^7.15.4", |
| 40 | + "@commitlint/cli": "latest", |
| 41 | + "@commitlint/config-conventional": "latest", |
| 42 | + "@dash-ui/jest": "^2.1.2", |
| 43 | + "@dash-ui/styles": "^1.0.1", |
| 44 | + "@essentials/benchmark": "^1.0.7", |
| 45 | + "@semantic-release/changelog": "^6.0.0", |
| 46 | + "@semantic-release/git": "^10.0.0", |
| 47 | + "@swc-node/core": "^1.6.0", |
| 48 | + "@swc-node/jest": "^1.3.2", |
| 49 | + "@testing-library/jest-dom": "^5.14.1", |
| 50 | + "@types/jest": "latest", |
| 51 | + "@types/node": "^18.0.0", |
| 52 | + "@typescript-eslint/typescript-estree": "^5.29.0", |
| 53 | + "cli-confirm": "latest", |
| 54 | + "cz-conventional-changelog": "latest", |
| 55 | + "eslint": "^7.32.0", |
| 56 | + "eslint-config-lunde": "^0.7.1", |
| 57 | + "husky": "latest", |
| 58 | + "jest": "latest", |
| 59 | + "jest-environment-jsdom": "^28.1.1", |
| 60 | + "lint-staged": "latest", |
| 61 | + "lundle": "latest", |
| 62 | + "prettier": "latest", |
| 63 | + "typescript": "latest" |
| 64 | + }, |
| 65 | + "keywords": [ |
| 66 | + "dash", |
| 67 | + "dash media query props", |
| 68 | + "dash responsive props", |
| 69 | + "dash ui", |
| 70 | + "media query props", |
| 71 | + "responsive prop" |
| 72 | + ], |
| 73 | + "commitlint": { |
| 74 | + "extends": [ |
| 75 | + "@commitlint/config-conventional" |
| 76 | + ] |
| 77 | + }, |
72 | 78 | "eslintConfig": {
|
73 | 79 | "extends": [
|
74 | 80 | "lunde"
|
|
82 | 88 | "test",
|
83 | 89 | "*.config.js"
|
84 | 90 | ],
|
| 91 | + "exports": { |
| 92 | + ".": { |
| 93 | + "browser": "./dist/module/index.js", |
| 94 | + "import": "./dist/esm/index.mjs", |
| 95 | + "require": "./dist/main/index.js", |
| 96 | + "umd": "./dist/umd/responsive.js", |
| 97 | + "source": "./src/index.ts", |
| 98 | + "types": "./types/index.d.ts", |
| 99 | + "default": "./dist/main/index.js" |
| 100 | + }, |
| 101 | + "./package.json": "./package.json", |
| 102 | + "./": "./" |
| 103 | + }, |
85 | 104 | "jest": {
|
86 | 105 | "collectCoverageFrom": [
|
87 | 106 | "**/src/**/*.ts"
|
|
102 | 121 | "testMatch": [
|
103 | 122 | "<rootDir>/src/**/?(*.)test.ts"
|
104 | 123 | ],
|
| 124 | + "transformIgnorePatterns": [], |
105 | 125 | "transform": {
|
106 | 126 | "^.+\\.(t|j)s?$": [
|
107 | 127 | "@swc-node/jest"
|
108 | 128 | ]
|
109 | 129 | }
|
110 | 130 | },
|
111 |
| - "devDependencies": { |
112 |
| - "@babel/node": "^7.15.4", |
113 |
| - "@commitlint/cli": "latest", |
114 |
| - "@commitlint/config-conventional": "latest", |
115 |
| - "@dash-ui/jest": "^2.1.2", |
116 |
| - "@dash-ui/styles": "^0.8.6", |
117 |
| - "@essentials/benchmark": "^1.0.7", |
118 |
| - "@semantic-release/changelog": "^6.0.0", |
119 |
| - "@semantic-release/git": "^10.0.0", |
120 |
| - "@swc-node/core": "^1.6.0", |
121 |
| - "@swc-node/jest": "^1.3.2", |
122 |
| - "@testing-library/jest-dom": "^5.14.1", |
123 |
| - "@types/jest": "latest", |
124 |
| - "cli-confirm": "latest", |
125 |
| - "cz-conventional-changelog": "latest", |
126 |
| - "eslint": "latest", |
127 |
| - "eslint-config-lunde": "latest", |
128 |
| - "husky": "latest", |
129 |
| - "jest": "latest", |
130 |
| - "lint-staged": "latest", |
131 |
| - "lundle": "latest", |
132 |
| - "prettier": "latest", |
133 |
| - "typescript": "latest" |
| 131 | + "lint-staged": { |
| 132 | + "package.json": [ |
| 133 | + "pnpm dlx prettier-package-json --write" |
| 134 | + ], |
| 135 | + "**/*.{ts,js}": [ |
| 136 | + "eslint --ext .ts,.js --fix", |
| 137 | + "prettier --write" |
| 138 | + ], |
| 139 | + "**/*.{md,yml,json}": [ |
| 140 | + "prettier --write" |
| 141 | + ] |
134 | 142 | },
|
135 | 143 | "release": {
|
136 | 144 | "branches": [
|
137 | 145 | "main",
|
138 |
| - "next", |
139 |
| - "alpha" |
| 146 | + { |
| 147 | + "name": "next", |
| 148 | + "prerelease": true |
| 149 | + }, |
| 150 | + { |
| 151 | + "name": "alpha", |
| 152 | + "prerelease": true |
| 153 | + } |
140 | 154 | ],
|
141 | 155 | "plugins": [
|
142 | 156 | "@semantic-release/commit-analyzer",
|
|
157 | 171 | "@semantic-release/github"
|
158 | 172 | ]
|
159 | 173 | },
|
160 |
| - "dependencies": { |
161 |
| - "@dash-ui/mq": "^0.4.0" |
162 |
| - }, |
163 |
| - "peerDependencies": { |
164 |
| - "@dash-ui/styles": ">=0.8.4" |
165 |
| - } |
| 174 | + "source": "src/index.ts", |
| 175 | + "unpkg": "dist/umd/responsive.js" |
166 | 176 | }
|
0 commit comments