-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.json
More file actions
95 lines (95 loc) · 2.81 KB
/
package.json
File metadata and controls
95 lines (95 loc) · 2.81 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
{
"name": "react-tw-breakpointer",
"version": "0.1.4",
"description": "A React component that displays the current Tailwind CSS breakpoint and viewport dimensions",
"type": "module",
"main": "dist/client.cjs",
"module": "dist/client.js",
"types": "dist/client.d.ts",
"exports": {
".": {
"types": "./dist/client.d.ts",
"react-server": "./dist/noop.js",
"import": "./dist/client.js",
"require": "./dist/client.cjs",
"default": "./dist/client.js"
},
"./noop": {
"import": "./dist/noop.js",
"require": "./dist/noop.cjs"
},
"./client": {
"import": "./dist/client.js",
"require": "./dist/client.cjs"
}
},
"files": ["dist", "README.md", "LICENSE"],
"sideEffects": false,
"scripts": {
"build": "tsup --format esm,cjs --dts --sourcemap --clean --external react,react-dom",
"dev": "tsup --format esm,cjs --dts --sourcemap --watch --external react,react-dom",
"typecheck": "tsc --noEmit",
"lint": "biome check --write .",
"format": "biome format --write .",
"check": "bun run typecheck && biome check .",
"prepublishOnly": "bun run check && bun run build",
"publish:dry": "bun run build && npm pack --dry-run",
"publish:npm": "bun run build && npm publish",
"size": "bun run build && bundlesize",
"analyze": "bun run build && echo 'ESM:' && gzip -c dist/client.js | wc -c && echo 'CJS:' && gzip -c dist/client.cjs | wc -c",
"test": "vitest",
"test:ui": "vitest --ui",
"test:run": "vitest run",
"test:coverage": "vitest run --coverage"
},
"keywords": [
"react",
"tailwind",
"tailwindcss",
"breakpoint",
"responsive",
"development",
"debugging",
"viewport",
"utility",
"devtools"
],
"author": "charles-édouard <char@automatethestack.com>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/ccbbccbb/react-tw-breakpointer.git"
},
"bugs": {
"url": "https://github.com/ccbbccbb/react-tw-breakpointer/issues"
},
"homepage": "https://github.com/ccbbccbb/react-tw-breakpointer#readme",
"publishConfig": {
"access": "public",
"registry": "https://registry.npmjs.org/"
},
"peerDependencies": {
"react": ">=18",
"react-dom": ">=18",
"tailwindcss": ">=4.0.0"
},
"devDependencies": {
"@biomejs/biome": "^1.9.4",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.1.0",
"@testing-library/user-event": "^14.5.2",
"@types/node": "^24.2.1",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"bundlesize": "^0.18.2",
"happy-dom": "^15.11.6",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"tsup": "^8.3.5",
"typescript": "^5.7.2",
"vitest": "^2.1.8"
},
"optionalDependencies": {
"@fontsource/jetbrains-mono": "^5.0.0"
}
}