1 | {
|
2 | "name": "@raddix/use-media-query",
|
3 | "description": "Is a hook that respond to media query changes",
|
4 | "version": "0.1.3",
|
5 | "license": "MIT",
|
6 | "main": "dist/index.js",
|
7 | "author": "Moises Machuca Valverde <rolan.machuca@gmail.com> (https://www.moisesmachuca.com)",
|
8 | "homepage": "https://github.com/vintach/raddix/tree/main/packages/utilities/use-media-query#readme",
|
9 | "repository": {
|
10 | "type": "git",
|
11 | "url": "https://github.com/gdvu/raddix.git"
|
12 | },
|
13 | "keywords": [
|
14 | "react",
|
15 | "react hook",
|
16 | "media query",
|
17 | "media query hook",
|
18 | "react media query hook",
|
19 | "media queries hook",
|
20 | "use media query",
|
21 | "matchmedia",
|
22 | "matchmedia hook",
|
23 | "media queries",
|
24 | "javascript media query",
|
25 | "media query js",
|
26 | "breakpoint hook",
|
27 | "breakpoints hook",
|
28 | "react breakpoint",
|
29 | "react breakpoints"
|
30 | ],
|
31 | "sideEffects": false,
|
32 | "files": [
|
33 | "dist",
|
34 | "README.md"
|
35 | ],
|
36 | "peerDependencies": {
|
37 | "react": ">=16.8.0",
|
38 | "react-dom": ">=16.8.0"
|
39 | },
|
40 | "clean-package": "../../../clean-package.config.json",
|
41 | "tsup": {
|
42 | "clean": true,
|
43 | "target": "es2019",
|
44 | "format": [
|
45 | "cjs",
|
46 | "esm"
|
47 | ]
|
48 | },
|
49 | "module": "dist/index.mjs",
|
50 | "types": "dist/index.d.ts",
|
51 | "exports": {
|
52 | ".": {
|
53 | "types": "./dist/index.d.ts",
|
54 | "import": "./dist/index.mjs",
|
55 | "require": "./dist/index.js"
|
56 | },
|
57 | "./package.json": "./package.json"
|
58 | },
|
59 | "scripts": {
|
60 | "lint": "eslint \"{src,tests}/*.{ts,tsx,css}\"",
|
61 | "clean": "rm -rf .turbo && rm -rf node_modules && rm -rf dist",
|
62 | "build": "tsup src --dts"
|
63 | }
|
64 | } |
\ | No newline at end of file |